@import url('https://fonts.googleapis.com/css2?family=Potta+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root{
    --bg-black-primary: #151D1D;
    --bg-black-middle: #292F2F;   
    --text-red: #E30117;
    --text-white: white;
    --text-red-hover: #c90519;
    --text-white-for-bg-red: whitesmoke;
    --text-white-for-bg-red-hover: rgba(245, 245, 245, 0.904);
    --bg-btn-red-hover: #c90519e3;
}

html{
    font-size: 62.5%;
}

body{
    font-size: 1.6rem;
}

/* ========= Config Header =========*/

header{
    height: 20rem;
    display: flex;
    
    background-image: linear-gradient(var(--bg-black-primary) 0%, var(--bg-black-middle) 50%, var(--bg-black-primary) 100%);
    clip-path: polygon(0 0, 100% 0, 100% 69%, 0 100%);
}

header .container{
    width: 90%;
    max-width: 1400px;
    margin: 2rem auto auto auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo{
    display: flex;
    align-items: center;

    font-family: 'Potta One', cursive, sans-serif;
    font-size: 2.5rem;
}

.logo a{
    text-decoration: none;
    color: var(--text-red);
    letter-spacing: 1px;
}

.logo img{
    width: 7rem;
}

nav {
    margin-top: 15px;
}

nav li{
    display: inline-block;
    list-style: none;
    margin-left: 10px;
    text-align: center;
}

nav a{
    text-decoration: none;
    color: var(--text-red);

    font-family: "Montserrat", Arial, sans-serif;
    font-weight: bold;
    font-style: italic;

    padding: 10px;
    border-radius: 10px;
    text-shadow: 3px 1px 8px var(--bg-black-primary);
    border-bottom: 1px solid var(--text-red);
}

nav a:hover{
    color: var(--text-red-hover);
    border-bottom: 1px solid var(--text-red-hover);
}

/* ========= Mobile Menu =========*/

.mobile-container{
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
}

.mobile-container label{
    cursor: pointer;
    position: relative;
    display: block;
    height: 22px;
    width: 30px;
}

#checkbox-menu{
    height: 0;
    width: 0;
    opacity: 0;
}

.mobile-container label span{
    position: absolute;
    display: block;
    height: 5px;
    width: 100%;
    border-radius: 5px;
    background: var(--text-red);
    transition: 0.25s ease-in-out;
}

.mobile-container label span:nth-child(1){
    top: 0;
}

.mobile-container label span:nth-child(2){
    top: 8px;
}

.mobile-container label span:nth-child(3){
    top: 16px;
}


#checkbox-menu:checked + label span:nth-child(1){
    transform: rotate(-45deg);
    top: 8px;
}

#checkbox-menu:checked + label span:nth-child(2){
    opacity: 0;
}

#checkbox-menu:checked + label span:nth-child(3){
    transform: rotate(45deg);
    top: 8px;
}

/* ========= Standard Text Colors =========*/

.text-white{
    font-family: "Montserrat", Arial, sans-serif;
    color: var(--text-white);
    text-shadow: 3px 1px 10px var(--text-red);
}

.red-title{
    color: var(--text-red);
    font-weight: bold;
    font-family: "Montserrat", Arial, sans-serif;
    text-shadow: 3px 1px 8px var(--bg-black-primary);
    letter-spacing: 1px;
    
    text-align: center;
    line-height: 8rem;
}

/* ========= Config Footer =========*/

footer{
    width: 100%;
    height: 15rem;
    margin-top: auto;
    
    background-image: linear-gradient(var(--bg-black-primary) 0%, var(--bg-black-middle) 50%, var(--bg-black-primary) 100%);
    clip-path: polygon(0 31%, 100% 0, 100% 100%, 0% 100%);
    
    display: grid;
    grid-template-columns: 20% 60% 20%;
}

.grid-1{
    grid-column-start: 2;
}

.footer-content{
    color: var(--text-white);
    font-family: "Montserrat", Arial, sans-serif;
    text-shadow: 3px 1px 10px var(--text-red);
    text-align: center;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: auto;
    margin-bottom: 20px;
}

.footer-content img{
    width: 7rem;
}

.footer-social-media{
    color: var(--text-white);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 1rem;
    text-shadow: 3px 1px 10px var(--text-red);

    margin-top: auto;
    margin-bottom: 30px;
}

.footer-social-links li{
    display: inline-block;
    margin-top: 10px;
    margin-right: 10px;
}

.footer-social-links img{
    width: 2.5rem;
}

/* ========= Media Queries =========*/

@media (max-width: 1300px){
    header{
        clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);

    }

    header .container{
        flex-direction: column;
        align-items: flex-start;
    }

    nav{
        margin-left: 60px;
    }
}


@media (max-width: 768px){
    html{
        font-size: 48%;
    }

    header .container{
        flex-direction: row;
        align-items: center;
    }    

    .mobile-container{
        display: flex;
        margin-top: 1rem;
    }

    nav{
        display: none;
    }

    .mobile-menu-on{
        display: initial;
        width: 85%;
        margin: 0;

        position: absolute;
        top: 0;
        left: 0;
        
        background-color: var(--bg-black-middle);
        z-index: 1;
    }

    .mobile-menu-on li{
        display: block;
    }
    
    .mobile-menu-on a{
        display: block;

        font-size: 2.5rem;
        line-height: 8rem;
        border-radius: 0;
        cursor: pointer;
    }

    footer{
        align-items: flex-end;
    }

    .footer-content,
    .footer-social-media{
        margin: 0 0 1rem 0;
    }

    .footer-social-links{
        display: flex;
        justify-content: center;
        margin-top: 1rem;
    }

    .footer-social-media p{
        text-align: center;
    }

    .footer-social-links ul{
        display: grid;
        grid-template-columns: min-content min-content min-content;
        grid-gap: 1rem;
    }

    .footer-social-links li{
        margin: 0;
    }
}

@media (max-width: 426px){
    html{
        font-size: 30%;
    }

    body{
        font-size: 2.3rem;
    }

    footer{
        font-size: 1.8rem;
    }

    .mobile-menu-on a{
        font-size: 3.5rem;
    }

    .red-title{
        margin-bottom: 4rem;
    }
}

@media (max-width: 360px){
    html{
        font-size: 23%;
    }

    body{
        font-size: 3rem;
    }
}