:root{
    --socialistRed: #cd2d2d;
    --text-light: #ffffff;
    --text-dark: #161817;
    --background: #f4f5f5;
    --secondary-button: #ececee;
    --accent: #151414;
    --accent-l: #474343;
    --inactive: #b4b4b4;


    --ff-main: 'Bebas Neue', sans-serif;
    --ff-second: 'Roboto', sans-serif;
    
    font-size: 16px;
  }

body{
    margin: 0px 0px;
    background-color: var(--background);
}

/* --------------------Repeating--------------------*/
button{
    cursor: pointer;
    color: var(--text-light);
    background: var(--socialistRed);
    padding: 15px 20px;

    font-family: var(--ff-main);
    font-size: 1.5rem;

    border: 3px solid var(--accent);

    /* transition-property: background, transform, ; */
    transition-duration: 200ms;
    transition-timing-function: cubic-bezier(.08,.82,.17,1);
}
button:hover{
    color: var(--socialistRed);
    background-color: var(--secondary-button);
    transform: translateY(-0.3rem);
    box-shadow: 5px 5px var(--accent);
  }






h1{
    font-family: var(--ff-main);
    color: var(--socialistRed);
    font-size: clamp(5rem, 1rem + 8VW, 9rem);
}

h2{
    font-family: var(--ff-second);
    color: var(--accent);
    font-size: clamp(1rem, 1rem + 6VW, 5rem);
}

h3{
    font-family: var(--ff-second);
    color: var(--accent);
    font-size: clamp(1rem, 1rem + 3VW, 4rem);
}

h4{
    font-family: var(--ff-second);
    color: var(--accent);
}

h5{
    font-family: var(--ff-second);
    color: var(--accent);
}

p{
    font-family: var(--ff-second);
    color: var(--accent);
}
ul{
    font-family: var(--ff-second);
    color: var(--accent);
}
a{
    font-family: var(--ff-second);
    color: var(--accent);
}

/* --------------------Nav-------------------- */
header{
    position: fixed;
    width: 100%;
    z-index: 1;
    top: 0;
}

.navbar{
    display: flex;
    background: var(--accent);
    justify-content: space-between;
    flex-wrap: wrap;
}

.brand{
    display: flex;
    align-items: center;
    margin-left: 1rem;
}

.brand-name{
    font-family: var(--ff-main);
    font-size: clamp(1rem, 1rem + 1VW, 1.5rem);
    color: var(--text-light);
}

.brand img{
    max-height: 60px;
    min-height: 60px;
    margin: 5px 0px;
}

.navbar-links ul{
    display: flex;
    flex-direction: row;
    list-style: none;
    align-items: center;
    padding: 0px;
    background-color: var(--accent);
    margin: 0;
    height: 100%;
}

.navbar-links ul li{
    margin-left: 1.3rem;
    height: inherit;
    display: flex;
    align-items: center;
}

.navbar-links ul li a{
    text-decoration: none;
    color: var(--text-light);
    font-family: var(--ff-second);
    font-size: 1.5rem;
}

.navbar-links ul li a.active{
    color: var(--inactive);
    cursor: default;
}

.navbar-links ul li button{
    font-size: 1.5rem;
    border-radius: 0;
    height: inherit;
    border: none;
}

/* ----------hover---------- */
.navbar-links ul li a:hover{
    color: var(--socialistRed);
    text-decoration: underline;
}
.navbar-links ul li a.active:hover{
    text-decoration: none;
    color: var(--inactive);
}
.navbar-links ul li button:hover{
    transform: translateY(0);
    box-shadow: none;
}


/* ----------responsive---------- */
#responsiveMenuToggleButton{
    background-color: transparent;
    border: 0;
    cursor: pointer;
    display: none;
    position: absolute;
    top: 0;
    right: 0;
}

#responsiveMenuToggleButton svg{
    height: 4rem;
    width: 4rem;
    color: var(--text-light);
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
}

#responsiveMenuToggleButton .openIcon{
    display: block;
}

#responsiveMenuToggleButton .closeIcon{
    display: none;
}

#responsiveMenuToggleButton.open .openIcon{
    display: none;
}

#responsiveMenuToggleButton.open .closeIcon{
    display: block;
}



/* --------------------Socials-------------------- */
.socials{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.socialicon{
    width: 60px;
    margin: 0px 50px;
    fill: var(--secondary-button);
    cursor: pointer;
    transition: 0.2s;
    transition-timing-function: ease;
}
.socialicon:hover{
    fill: var(--socialistRed);
    transform: translateY(-0.3rem);
}

.menu:checked ~ .links{
    display: flex;
}

footer{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--accent);
    color: var(--text-light);
    font-family: var(--ff-second);
}
footer h5{
    font-size: .5rem;
    margin: 0%;
}


.input{
    display: flex;
    align-items: center;
}





/* --------------------Media querys-------------------- */
@media screen and (max-width: 1500px) {}
@media screen and (max-width: 1300px) {
    .navbar{
        flex-direction: column;
        align-items: flex-start;
    }
    
    .brand img{
        margin: 12px 0;
    }
    .brand-name{
        display: none;
    }
    
    #responsiveMenuToggleButton{
        display: block;
    }
    
    .navbar-links{
        display: none;
        width: 100%;
    }

    .navbar-links.open{
        display: block;
    }

    .navbar-links ul{
        /* margin-top: 100px;
        margin-bottom: 50px; */
        width: 100%;
        flex-direction: column;
        background-color: var(--backgroundColor);
    }

    .navbar-links ul li{
        margin: 1rem;
    }
    .navbar-links ul li a{
       font-size: 2rem;
    }
    .navbar-links ul li button{
        font-size: 2rem;
     }

    .socialicon{
        margin: 0 25px;
    }

}
@media screen and (max-width: 1000px) {}
@media screen and (max-width: 800px) {}