*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    background-color:white;
    color: black;
    font-family: 'Clash Display', sans-serif;
    background-color: #fafafa;
}
.header{
    display: grid;
    width: 100vw;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 6em;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 700;
    padding: 0 1.5em;
    color: black;
    background-color:white;
    position: fixed;
    z-index: 2;
    border-bottom: 1px solid lightgray;
}
.header__left{
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}
.head__shot{
    width: 3em;
    height: 3em;
    margin-right: 1em;
    border-radius: 50%;
}
.header__right{
    display: flex;
    justify-content: flex-end;
}
.header__right ul{
    display: flex;
    list-style: none;
}
.header__right li{
    padding-right: 2.4em;
    cursor: pointer;
}
.header__right li:hover{
    color: #efa424;;
}
.bars_solid{
    display: none;
    width: 1.8em;
    height: 1.8em;
    padding: 2.2em 0;
}
.sub__header{
    visibility: hidden;
    opacity: 0;
    position: absolute;
    width: 100%;
    top: 100%;
}
.sections{
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: repeat(4, auto);
}
button{
    border: none;
}
.button{
    display: block;
    position: relative;
    font-weight: 700;
    font-weight: 700;
    background-color: #efa424;
    box-shadow:0 0.35em #efa424ba;
    border-radius: 0.5em;
    z-index: 1;
}
.button .contact_color{
    color: black;
    text-decoration: none;
}
.button:hover{
    box-shadow: 0 0.25em #efa424ba;
    top: 2px;
}
.button:active{
    box-shadow: none;
    top: 6px;
}
.home__section{
    display: grid;
    place-content: center;
    text-align: center;
    font-weight: 700;
    height: 100vh;
    padding-top: 5em;
    background: linear-gradient(to right,rgba(245,245,245,.8),rgba(245,245,245,.8)), url(./images/background_image.svg);
    background-position: center;
}
.home__section h1{
    font-size: 3.9rem;
    margin-top: 1.5em;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.home__section p{
    font-size: 1.3rem;
    line-height: 2.2em;
    font-weight: 300;
    width: 60%;
    margin: 1.1em auto 0;
}
.home__section button{
    margin: 1.5em auto 2.5em;
    text-transform: uppercase;
    text-align: center;
    font-size: 1.2rem;
    padding: 1.2em 5em;
    cursor: pointer;
}
.arrow_icon{
    width: 0.7em;
    height: 0.7em;
    animation: downwards 3s infinite linear;
}
@keyframes downwards{
    0%{
        transform: translateY(-1em);
        opacity: 0.2;
    }
    100%{
        transform: translateY(1.6em);
    }
}
.arrow_container{
    border: 2px solid #666666;
    border-radius: 1em;
    padding: 0.8em 0.4em;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}
.about__section{
    text-align: center;
    padding-top: 6em;
}
.about__main-text{
    font-size: 2.4rem;
    letter-spacing: 0.1em;
    line-height: 3.5em;
    text-transform: uppercase;
}
.about__section > p{
    font-size: 1.2rem;
    line-height: 1.7rem;
    width: 50%;
    margin: 0 auto;
}
.about__table{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    min-height: 90vh;
    padding: 3em 8em 0;
    column-gap: 7em;
}
.about__table h3{
    font-size: 1.6rem;
    margin-bottom: 1em;
}
.about__table-left{
    text-align: left;
}
.about__table-left a{
    color: #efa424;
}
.about__table-left p{
    font-size: 1.1rem;
    line-height: 2em;
    color: #666666;
}
.about__table-left button{
    text-transform: uppercase;
    font-size: 1.1rem;
    padding: 0.9em 2.5em;
    cursor: pointer;
    margin-top: 2em;
}
.about__table-right{
    text-align: left;
    margin-left: auto;
}
.about__skills{
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
}
.about__skills button{
    padding: 0.6em 1em;
    font-size: 1.1rem;
    border-radius: 0.3em;
    font-weight: 600;
    color: #666666;
    background: #999999, 0.2;
}
.projects{
    text-align: center;
    padding-top: 6em;
}
.projects h1{
   font-size: 2.4rem;
    letter-spacing: 0.1em;
    line-height: 3em;
    text-transform: uppercase;
}
.projects > p{
    font-size: 1.2rem;
} 
.project__section{
    padding: 2em 7em;
}
.project__table{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 19em;
    column-gap: 3em;
    margin-bottom: 4em;
}
.project__table-left img{
    width: 25em;
    height: 18em;

}
.project__table-right{
    display: grid;
    align-content: center;
    justify-items: left;
}
.project__table-right p{
    margin: 1.5em 0;
    font-size: 0.9rem;
    line-height: 1.5;
    width: 90%;
    text-align: left;
    color: #666666;
}
.project__table-right h4{
    font-size: 1.7rem;
}
.project__table-right button{
    text-transform: uppercase;
    font-size: 1rem;
    padding: 1.2em 3em;
    font-weight: 700;
    cursor: pointer;
}
.project__table-right a{
    text-decoration: none;
    color: black;
}
.contact__page{
    padding-top: 6em;
    text-align: center;
    background: linear-gradient(to right,rgba(245,245,245,.8),rgba(245,245,245,.8)), url(./images/background_image.svg);
    background-position: center;
}
.contact__page h1{
    font-size: 2.4rem;
    text-transform: uppercase;
    line-height: 3em;
}
.contact__page > p{
    font-size: 1.3rem;
    margin-bottom: 1em;
}
.contact__fill{
    width: 60%;
    margin: 0 auto;
}
.contact__section{
    display: grid;
    text-align: left;
    font-size: 1rem;
    background-color: white;
    color: #666666;
    padding: 2em;
    margin-bottom: 3em;
    border-radius: 0.5em;
}
.contact_input{
    width: 100%;
    margin: 0 auto 2em;
}
.input{
    height: 5em;
    border-radius: 0.5em;
    padding-left: 1em;
    margin: 1em 0 0;
    width: 100%;
    border: none;
    outline: none;
    background-color: #f0f0f0;
}
.input::placeholder{
    font-size: 0.85rem;
    font-weight: 600;
    text-align: left;
}
.message{
    height: 10em;
     border: none;
    outline: none;
}
.contact__section button{
    margin-left: auto;
    font-size: 1.2rem;
    padding: 1.2em 3.5em;
    cursor: pointer;
}
.socials{
    height: 40vh;
    background-color: black;
    color: white;
    padding-left: 5em;
}
.socials h3{
    font-size: 2rem;
    padding: 1.5em 0 1em;
}
.socials > p{
    font-size: 1rem;
    margin: 1em 0;
}
.social__class{
    display: flex;
    flex-wrap: wrap;
    color: #c4c4c4;
}
.social__media{
    display: flex;
    margin-right: 1em;
}
.social__media a{
    text-decoration: none;
    color: white;
}
.social__media img{
    width: 1em;
    height: 1em;
    margin-right: 0.4em;
}
.social__media p{
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
}
.social__media p:hover{
    color: #6bc5f8;
}
.side__social{
    padding: 1em 0.5em 0.5em;
    display: grid;
    background-color: black;
    position: fixed;
    border-radius: 0 0.3em 0.3em 0;
    top: 25vh;
    left: 0;
}
.side__social img{
    width: 2em;
    height: 2em;
    margin-bottom: 1.5em;
    cursor: pointer;
}
.chat__section{
    display: flex;
    align-items: center;
    position: fixed;
    z-index: 4;
    bottom: 5em;
    right: 0;
    display: none;
}
.chat__text{
    color: black;
    background-color: lightgray;
    font-size: 1.2rem;
    padding: 0.6em 0.8em;
    border-radius: 0.5em;
    cursor: pointer;
}
.chat__icon-container{
    background-color: #efa424;
    padding: 1em;
    border-radius: 50%;
    margin: 0 1em;
    cursor: pointer;

}
.chat_icon, .chat_icon-2{
    width: 2em;
    height: 2em;
}
.chat-2{
    background-color: #efa424;
    padding: 1em;
    border-radius: 50%;
    margin: 0 1em;
    cursor: pointer;
    position: absolute;
    right: 0;
    opacity: 0;
    transition: all 0.5s ease-in;
}
.chat-2:hover{
    opacity: 1;
}
.chat__icon-container:hover{
    opacity: 0;
}

@media screen and (max-width: 900px){
    .header{
        font-size: 0.85rem;
    }
    .header__left{
        font-size: 0.7rem;
    }
    .side__social{
        display: none;
    }
    .home__section{
        padding-top: 8em;
    }
    .home__section h1{
        font-size: 3.1rem;
        margin-top: 1.5em;
    }
    .home__section p{
        font-size: 1.1rem;
        width: 80%;
    }
    .home__section button{
        padding: 0.8em 3em;
    }
    .about__section{
        text-align: center;
        padding-top: 6em;
    }
    .about__main-text{
        font-size: 2rem;
        line-height: 2.5em;
    }
    .about__section > p{
        font-size: 1.2rem;
        width: 85%;
    }
    .about__table{
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: 1fr auto;
        padding: 3em 3em 0;
        row-gap: 7em;
    }
    .about__table h3{
        font-size: 1.4rem;
    }
    .about__table-left{
        width: 75%;
    }
    .about__table-left p{
        font-size: 1rem;
        line-height: 2.3em;
    }
    .about__table-left button{
        font-size: 1rem;
        padding: 0.9em 2em;
    }
    .about__skills button{
        padding: 0.6em 1em;
        font-size: 1rem;
        font-weight: 600;
    }
    .projects h1{
        font-size: 2rem;
    }
    .project__section{
        padding: 5em 3em;
    }
    .project__table{
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: 2fr auto;
        column-gap: 3em;
        margin: 3em 0 6em;
    }
    .project__table-left img{
        width: 85%;
    }
    .project__table-right{
        justify-items: center;
    }
    .project__table-right p{
        margin: 2em 0;
        font-size: 1rem;
        line-height: 1.7;
        width: 75%;
        text-align: center;
    }
    .project__table-right h4{
        font-size: 1.4rem;
        margin-top: 1.3em;
    }
    .project__table-right button{
        font-size: 1rem;
        padding: 1em 2em;
    }
    .contact__section button{
        font-size: 1rem;
        padding: 1em 2.5em;
    }
    .contact__fill{
        width: 80%;
    }
    .contact__page h1{
        font-size: 2rem;
        line-height: 1.4;
    }
}
@media screen and (max-width:600px) {
    .home__section h1{
        font-size: 2rem;
        width: 98%;
        margin: 0 auto;
    }
    .home__section p{
        font-size: 1rem;
        width: 90%;
    } 
    .about__main-text{
        font-size: 1.7rem;
        line-height: 2.8em;
    }
    .about__section > p{
        font-size: 1.1rem;
    }
    .about__table{
        row-gap: 5em;
    }
    .about__table h3{
        font-size: 1.4rem;
    }
    .about__table-left{
        width: 95%;
    }
    .about__skills button{
        padding: 0.6em 0.9em;
    }
    .projects > p{
        font-size: 1.1rem;
        width: 90%;
        margin: 0 auto;
    } 
     .project__table-right h4{
        font-size: 1.4rem;
        margin-top: 1em;
    }
    .project__table-left img{
        width: 100%;
    }
    .project__table-right p{
        margin: 1em 0;
        width: 95%;
        font-size: 0.8rem;
    }
    .project__section{
        padding: 2em 3em;
    }
    .project__table-right button{
        font-size: 0.8rem;
        padding: 0.7em 1.5em;
    }
    .contact__page h1{
        font-size: 1.7rem;
    }
    .contact__page > p{
        font-size: 1.1rem;
        margin: 1em auto;
        width: 90%;
    }
    .socials{
        padding-left: 2em;
    }
    .contact__fill{
        width: 85%;
    }
    .header__right{
        padding-bottom: 2em;
    }
    .header__right ul{
        display: none;
    }

    .header{
        grid-template-columns: auto 1fr;
    }
    .bars_solid{
        display: block;
        cursor: pointer;
    }
    .xmark{
        display: none;
    }
    .sub__header{
        visibility: visible;
        opacity: 1;
        display: none;
        transition: all 1s;
        border-top: 1px solid lightgray;
    }
    .sub__header-content li{
        display: block;
        list-style: none;
        text-decoration: none;
        padding: 2em 3.5em;
        background-color: white;
        border-bottom: 1px solid #333;
        text-align: right;
        text-transform: uppercase;
        font-weight: 700;
        font-size: 0.8rem;
        transition: color 0.6s;
        cursor: pointer;
    }
    .sub__header-content li:hover{
        color: #efa424;
    }
    .chat__text{
        display: none;
    }

}