body {
    background-color: #ffffff;
    padding-top: 85px;
}



    *{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}




a{
    text-decoration: none;
    transition: 0,3s;

}



ul{
    list-style: none;

}



body{
    font-family: "Montserrat", "sans-serif";
}



nav{
    position: fixed;
    isolation: isolate;
    width: 100%;
    z-index: 9;

}



.nav__header{
    padding: 1rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--primary-color);    
}




.nav__logo a img{
    max-width: 200px;

}


.nav__logo .logo-dark{
    display: none;  
}



.nav__menu__btn{
    font-size: 1.5rem; 
    color: var(--white);
    cursor: pointer;

}


.nav__links{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    background-color: var(--primary-color);
    transition: transform 0.5s;
    z-index: -1;

}

    .nav__links.open{
        transform: translateY(100%);
    }

.nav__links a{
    font-weight: 500;
    color: var(--white);
    white-space: nowrap;

}

header{
    max-width: var(--max-width);
    margin: auto;
    padding: 2rem 1rem ;

    display: grid;
    gap: 4rem 1rem ;
}



.header__image{
    overflow: hidden;
}

.header__image img{
    max-width: 500px;
    margin-inline: auto;

}


.header__content h2{
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;    
}


.header__content h1{
    margin-bottom: 1rem;
    font-size: 4rem;
    font-weight: 800;
    line-height: 4,5rem;
    color: var(--text-dark);
    text-align: center;

}


.header__content p{
    margin-bottom: 2rem;
    font-weight: 500;
    line-height: 1.75; 
    color: var(--text-dark);
    text-align: center;   
}


.header__btn{
    margin-bottom: 5rem;
    text-align: center;
}


.header__btn button{
    padding: 1rem 1.5rem;
    outline: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    background-color: var(--primary-color);
    border-radius: 5rem;
    transition: .3s;
    cursor: pointer;
}



.header__btn button:hover{
    background-color: var(--primary-color);    
}



.header__socials{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;

}


.header__socials a{
    padding: 8px 10px;
    font-size: 1.5rem;
    color: var(--white);
    background-color: var(--primary-color);
    border-radius: 100%;
}


.header__socials a :hover{
    color: var(--primary-color);
}

header{
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
}


.header__content{
    grid-area: 1/1/2/2;
}



.header__content :is(h2, h1, p, .header__btn){
text-align: left;    
}


.header__socials{
justify-content: flex-start;           
}

@media (width > 768px){
    nav{
        position: static;
        padding: 2rem 1rem 1rem;
        max-width: var(--max-width);
        margin-inline: auto;
        display: flex;
        align-items: center;
        justify-content: space-between;

    }


    .nav__header{
      padding: 0;
      background-color: transparent;    
    }

    .nav__logo a img{
       max-width: 125px;

    }


    .nav__logo .logo-dark {
        display: flex;  
    }

    .nav__logo .logo-white {
        display: none;
    }

    .nav__menu__btn{
        display: none;
    }


    .nav__links{
        position: static;
        width: fit-content;
        padding: 0;
        flex-direction: row;
        background-color: transparent;
        transform: none !important;


    }


    .nav__links a{
        font-weight: 600;
        color: var(--text-dark);
    }


    .nav__links a:hover{
        color: var(--primary-color);
    }
}


























h1 {
    font-family: 'Poppins', sans-serif, 'arial';
    font-weight: 600;
    font-size: 72px;
    color: rgb(0, 0, 0);
    text-align: center;
}

h4 {
    font-family: 'Roboto', sans-serif, 'arial';
    font-weight: 400;
    font-size: 20px;
    color: #000000;
    line-height: 1.5;
}

/* ///// inputs /////*/

input:focus ~ label, textarea:focus ~ label, input:valid ~ label, textarea:valid ~ label {
    font-size: 0.75em;
    color: #999;
    top: -5px;
    -webkit-transition: all 0.225s ease;
    transition: all 0.225s ease;
}

.styled-input {
    float: left;
    width: 293px;
    margin: 1rem 0;
    position: relative;
    border-radius: 4px;
}

@media only screen and (max-width: 768px){
    .styled-input {
        width:100%;
    }
}

.styled-input label {
    color: #000000;
    padding: 1.3rem 30px 1rem 30px;
    position: absolute;
    top: 10px;
    left: 0;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
    pointer-events: none;
}

.styled-input.wide { 
    width: 650px;
    max-width: 100%;
}

input,
textarea {
    padding: 30px;
    border: 0;
    width: 100%;
    font-size: 1rem;
    background-color: #999999;
    color: rgb(0, 0, 0);
    border-radius: 4px;
}

input:focus,
textarea:focus { outline: 0; }

input:focus ~ span,
textarea:focus ~ span {
    width: 100%;
    -webkit-transition: all 0.075s ease;
    transition: all 0.075s ease;
}

textarea {
    width: 100%;
    min-height: 15em;
}

.input-container {
    width: 650px;
    max-width: 100%;
    margin: 20px auto 25px auto;
}

.submit-btn {
    float: right;
    padding: 7px 35px;
    border-radius: 60px;
    display: inline-block;
    background-color: #000000;
    color: white;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.06),
              0 2px 10px 0 rgba(0,0,0,0.07);
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;
}

.submit-btn:hover {
    transform: translateY(1px);
    box-shadow: 0 1px 1px 0 rgba(0,0,0,0.10),
              0 1px 1px 0 rgba(0,0,0,0.09);
}

@media (max-width: 768px) {
    .submit-btn {
        width:100%;
        float: none;
        text-align:center;
    }
}

input[type=checkbox] + label {
  color: #ccc;
  font-style: italic;
} 

input[type=checkbox]:checked + label {
  color: #f00;
  font-style: normal;
}