@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --primary-color: #1a46d6;
    --secondary-color: #fa9c33;
}

* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins';
    box-sizing: border-box;
}

body {
    background: url('assets/images/hero.webp') no-repeat top center;
    background-size: 100vh cover;
    color: #ffffff;
}

header {
    height: 100px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 10;
}
header .btn{
    display: none;
    position: relative;
    z-index: 5;
    width: 32px;
    height: 32px;
    background-image: url('assets/icons/menu.svg');
    background-size: cover;
    appearance: none;
}
header .btn:checked{
    background-image: url('assets/icons/cross.svg');
}
header .nav {
    display: flex;
    gap: 50px;
}

header .nav li a {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
}

section#home {
    min-height: calc(100vh);
    line-height: 3.5em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    margin-top: -100px;
}

section#home :nth-child(1) {
    font-size: 3em;
}

section#home .hero-text {
    font-size: 4em;
}

section#home :nth-child(3) {
    font-size: 1.5em;
}

section#about {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 70px;
    background-color: #000;
    padding: 10rem 0;
}

section#about h1 {
    font-size: 2.5rem;
    font-weight: 500;
}

section#about .buttons {
    width: 80%;
}

section#about .buttons button {
    font-size: 1eem;
    margin: 7px 5px;
}

section#services {
    background-color: #000000;
}

section#services .service {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8rem 0;
}

section#services .service:nth-child(even) {
    flex-direction: row-reverse;
}

section#services img{
    position: relative;
    border-radius: 20px;
    width: 30%;
}

section#services #service3 img{
    border: 0.5px solid #69ac9b !important;
}

section#services #service5 img{
    border: 0.5px solid #f82a45 !important;
}

section#services .desc {
    width: 40%;
    font-size: 1rem;
}

section#services .desc h2 {
    font-size: 2rem;
}

section#services ul li {
    list-style-type: none;
    line-height: 2em;
    display: flex;
    align-items: center;
    gap: 20px;
}

section#services p {
    margin: 10px 0;
}

section#services ul li::before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    background-image: url('assets/icons/list.svg');
}

section#reviews {
    background-color: #000;
    padding: 8rem 0;
    overflow-x: hidden;
}

section#reviews .reviews {
    display: flex;
    justify-content: space-evenly;
    gap: 100px;
    box-sizing: border-box;
    padding: 0 7rem;
}

section#reviews .review {
    width: 300px;
    border: 1px solid #fff;
    box-sizing: border-box;
    border-radius: 20px;
    padding: 30px 20px;
    box-shadow: 20px 20px 0px var(--primary-color);
}

section#reviews h2 {
    margin-bottom: 60px;
    text-align: center;
}

section#reviews h3 {
    margin-bottom: 10px;
    text-align: center;
    text-transform: uppercase;
}

section#reviews p {
    font-size: .8rem;
    font-style: italic;

}

section#contact-us {
    background-color: #000;
    padding: 8rem 0;
    display: flex;
    justify-content: space-around;
    overflow-x: hidden;
}

section#contact-us>div {
    width: 40%;
}

section#contact-us form {
    display: flex;
    flex-direction: column;
}

section#contact-us input,
section#contact-us textarea {
    font-size: 1rem;
    color: #ffffff;
    background-color: transparent;
    border: 1px solid #ffffff;
    border-radius: 4px;
    padding: 10px;
}

section#contact-us input:focus,
section#contact-us textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

section#contact-us input,
section#contact-us textarea,
section#contact-us button {
    margin: 10px;
}

section#contact-us .name-group {
    display: flex;
}

section#contact-us .first-name {
    width: 35%;
}

section#contact-us .last-name {
    width: 65%;
}

section#contact-us .message {
    resize: vertical;
}

section#contact-us a {
    padding: 10px 20px;
    border: 1px solid #ffffff;
    border-radius: 50px;
    margin-right: 10px;
    line-height: 3em;
}

section#contact-us .mail-link:hover {
    background-color: #f84437;
}

section#contact-us .discord-link:hover {
    background-color: #5865f2;
}

section#contact-us a::before {
    position: relative;
    top: 5px;
    margin-right: 10px;
}

section#contact-us .mail-link::before {
    content: url(assets/icons/mail.svg);
}

section#contact-us .discord-link::before {
    content: url(assets/icons/discord.svg);
}

section#contact-us .text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

section#contact-us .text p {
    text-align: justify;
    font-size: 1.1rem;
}

footer {
    background-color: #000;
    padding: 20px 0;
    color: #ffe4e4;
}

footer .footer-group {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 50px 0;
}

footer .footer-group>div {
    width: 15%;
}
footer .footer-group > .social {
    width: 25%;
}

footer .social-links {
    padding: 5px 0px;
}

footer .social-links a {
    margin: 0px 15px 0px 0px;
}

footer .social-links a img {
    filter: sepia(100%) saturate(500%) hue-rotate(290deg);
}

footer .social-links .instagram-icon:hover {
    filter: invert(70%) sepia(100%) saturate(2000%) hue-rotate(300deg);
}

footer .social-links .facebook-icon:hover {
    filter: invert(50%) sepia(100%) saturate(2000%) hue-rotate(170deg);
}

footer .social-links .mail-icon:hover {
    filter: invert(50%) sepia(100%) saturate(2000%) hue-rotate(320deg);
}

footer .social-links .discord-icon:hover {
    filter: invert(60%) sepia(100%) saturate(2000%) hue-rotate(210deg);
}

footer .nav li {
    margin: 10px 0;
}

#copyrights {
    text-align: center;
}


.nav-mobile a:active img {
    filter: invert(80%) sepia(100%) saturate(2000%) hue-rotate(195deg);
}
/* 
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #222;
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
}

::-webkit-scrollbar-thumb:hover {
} */

@media screen and (max-width: 1200px) {
    html {
        font-size: 14px;
    }
}

@media screen and (max-width: 1024px) {
    html {
        font-size: 12px;
    }

    section#reviews .reviews {
        flex-direction: column;
        align-items: center;
    }

    section#reviews .review {
        width: 80%;
    }
}

@media screen and (max-width: 768px)  {
    html {
        font-size: 12px;
    }

    body {
        filter: brightness(1.2);
    }

    header {
        position: initial;
    }
    header .btn{
        display: initial;
    }
    header .nav {
        display: none;
        position: fixed;
        top: 0;
        height: 100vh;
        width: 100vw;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        background-color: #000;
    }
    header .nav li::after{
        content: '';
        display: block;
        width: 40vw;
        height: 2px;
        background-color: #fff;
        margin-bottom: -20px;
        margin-top: 20px;
    }
    header .nav li:nth-last-child(1)::after{
        display: none;
    }

    section#home {
        font-size: 6px
    }

    #typed-skills-br {
        display: block !important;
    }

    section#services .service {
        flex-direction: column !important;
        gap: 30px;
    }

    section#services .service img,
    section#services .desc {
        width: 80%
    }

    #reviews .review {
        width: 100% !important;
    }

    section#contact-us {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    section#contact-us>div {
        width: 80%;
    }

    footer .footer-group {
        flex-direction: column;
        gap: 30px;
    }

    footer .footer-group>div {
        width: 80% !important;
        text-align: center;
    }
}

@media screen and (max-width: 375px) {
    section#home {
        font-size: 4px
    }

    #reviews .review {
        width: 70vw !important;
    }
}