@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&display=swap');

:root {
    --primary: #0096FF;
    --white: #FFFFFF;
    --black: #292B2C;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: "Poppins";
    font-weight: 400;
    overflow-x: hidden;
}

.overflow {
    overflow-x: hidden;
}

h2 {
    text-align: center;
    font-weight: 700;
    font-size: 4rem;
    margin: 0;
    padding: 50px;
}

a {
    text-decoration: none;
    color: var(--white);
}

.main {
    width: 100%;
    height: 100vh;
    background-image: url(./img/main-bg.jpg);
    background-size: cover;
    backdrop-filter: blur(10px);
    position: relative;
}

.main-nav {
    height: 10vh;
    padding: 2vh;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.nav-items ul {
    list-style-type: none;
    display: flex;
    align-items: center;
}

.nav-items li {
    display: inline;
    padding: 10px;
    margin-right: 5vw;
}

.nav-items a {
    font-size: 1.4rem;
    text-transform: uppercase;
}

.nav-logo {
    margin-left: 2vw;
    margin-top: 2vh;
}

.nav-logo img {
    height: 100%;
}

.main-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20vh;
}

.main-header h1 {
    font-weight: 800;
    font-size: 5rem;
    color: var(--white);
    margin: 1vh;
    text-transform: uppercase;
}

#header-white {
    color: var(--white);
}

#header-blue {
    color: var(--primary);
}

body{
    margin: 0;
    padding: 0;
    background-color: #000;
}

.main-arrow{
    position: absolute;
    bottom: 10vh;
    left: 50%;
}

.main-arrow span{
    display: block;
    width: 30px;
    height: 30px;
    border-bottom: 5px solid var(--primary);
    border-right: 5px solid var(--primary);
    transform: rotate(45deg);
    margin: -10px;
    animation: animate 2s infinite;
}

.main-arrow span:nth-child(2){
    animation-delay: -0.2s;
}

.main-arrow span:nth-child(3){
    animation-delay: -0.4s;
}

@keyframes animate {
    0%{
        opacity: 0;
        transform: rotate(45deg) translate(-20px,-20px);
    }
    50%{
        opacity: 1;
    }
    100%{
        opacity: 0;
        transform: rotate(45deg) translate(20px,20px);
    }
}

.about {
    background-color: var(--primary);
    padding-bottom: 50px;
    color: var(--white);
}

.container {
    width: 50vw;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.about-content {
    display: flex;
    flex-direction: row;
    align-items: space-between;
}

.about p {
    font-weight: 300;
    font-size: 1.3em;
    line-height: 1.7rem;
    text-align: center;
    padding-inline: 50px;
}

.contact {
    background-color: var(--white);
    padding-bottom: 50px;
    color: var(--white);
}

.contact p {
    padding-bottom: 1rem;
    color: var(--white);
    width: 100%;
}

.contact h2 {
    color: var(--black);
}

.contact-container {
    display: flex;
    flex-direction: row;
    background-color: var(--primary);
    padding: 50px;
}

.contact-info {
    width: 45%;
}

.contact-line {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    width: 10%;
}

.line {
    content: "";
    width: 2px;
    background-color: var(--white);
    height: 50%;
}

.contact-form {
    width: 45%;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form input {
    border: 0;
    border-bottom: 2px solid var(--white);
    background-color: var(--primary);
    color: var(--white);
    padding: 1rem;
}

.contact-form textarea {
    border: 0;
    border-bottom: 2px solid var(--white);
    resize: vertical;
    background-color: var(--primary);
    color: var(--white);
    padding: 20px;
    height: 12vh;
}

.contact-form textarea::placeholder, .contact-form input::placeholder {
    color: var(--white);
}

.contact-form button {
    border-style: none;
    border: 2px solid var(--white);
    background-color: var(--primary);
    border-radius: 10rem;
    color: var(--white);
    width: max-content;
    padding: .5rem;
    padding-inline: .7rem;
    margin-top: 20px;
    font-size: 1.3em;
    transition: .4s ease;
}

.contact-form button:hover {
    background-color: var(--white);
    color: var(--primary);
}

.contact-form h3{
    color: var(--white);
    text-align: center;
    display: none;
    font-size: 2em;
}

.footer {
   background-color: var(--black);
   color: var(--white); 
   padding: 20px;
}

.footer p {
    margin: 0;
    font-weight: 300;
    opacity: 50%;
    font-size: .8em;
    padding: 10px;
}

.footer .container {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.thanks h3 {
    padding-top: 30vh;
    font-size: 3em;
    text-align: center;
}

.thanks p {
    font-size: 1em;
    text-align: center;
}

.thanks a {
    color: var(--primary);
}

@media only screen and (max-width: 768px){
    h2 {
        font-size: 2.5rem;
    }

    .nav-items {
        display: none;

    }

    .main-header h1 {
        font-size: 1.8em;
    }

    .container {
        width: 100%;
    }

    .about {
        background-color: var(--primary);
        color: var(--white);
    }

    .about-content {
        flex-direction: column;
    }

    .contact-line {
        display: none;
    }

    .contact-container {
        flex-direction: column;
        align-items: center;
        background-color: var(--white);
        padding: 0;
    }

    .contact-info {
        background-color: var(--white);
        color: var(--primary);
        width: 70%;
    }

    .contact-info p, .contact-info h3 {
        color: var(--primary);
        width: 100%;
    }

    .contact-form {
        width: 100%;
        background-color: var(--primary);
    }

    .contact-form form {
        padding: 3rem;
        padding-top: 1rem;
    }

    .contact-form h3 {
        display: block;
    }

    #contact-text {
        color: var(--primary);
    }
}