html,
body {
    margin: 0 0;
    font-family: "Archivo", sans-serif;
    scroll-behavior: smooth;
}

header {
    height: 60px;
    background-color: rgb(250, 250, 250);
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0px 10px 50px 2px rgba(0, 0, 0, 0.1);
    padding-left: 300px;
    padding-right: 300px;
}

.jd a {
    font-size: 32px;
    font-weight: 700;
    margin-top: 0;
    text-align: center;
    margin-bottom: 0;
    text-decoration: none;
    color: #000;
}

.c-m a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-weight: bold;
    background-color: black;
    padding: 10px 20px;
}

.c-m a:hover {
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-weight: bold;
    background-color: rgb(0, 164, 255);
    padding: 10px 20px;
}

.c-m a::after {
    background-color: black;

}

main {
    margin: 0;
}

a {
    transition: background-color 0.2s ease;
}

.main-sec {
    height: 100vh;
    align-items: center;
    display: flex;
    overflow: hidden;
}

.top {
    padding: 0px 300px;
    /* margin-top: 300px; */
    height: 100%;
    margin-top: 400px;



}


.top h1 {
    letter-spacing: -0.5rem;
    line-height: 60pt;
    font-size: 80pt;
    width: 200px;
    margin-bottom: 40px;

}


.top h2 {
    letter-spacing: -0.1rem;

}



.top .buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    width: 100%;
}


.top a {
    width: 100%;
    text-align: center;
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-weight: bold;
    background-color: black;
    padding: 10px 20px;
}

.top a:hover {
    width: 100%;
    text-align: center;
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-weight: bold;
    background-color: rgb(0, 164, 255);
    padding: 10px 20px;
}





.bottom {
    background: linear-gradient(-90deg, rgb(38, 183, 224) 0%, rgba(0, 164, 255, 1) 100%);
    height: fit-content;
    padding: 50px 300px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.bottom h1 {
    color: #fff;
    font-weight: 300;
    max-width: 700px;
}


.bottom a {
    min-width: 120px;
    text-align: center;
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-weight: bold;
    background-color: black;
    padding: 10px 20px;
    transition: background-color 0.4s ease, color 0.4s ease;
}

.bottom a:hover {
    width: 120px;
    text-align: center;
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-weight: bold;
    background-color: rgb(255, 255, 255);
    padding: 10px 20px;
}

.bold {
    font-weight: bold;
}

.bottom-sec {
    margin-top: 50px;
    padding: 0px 300px;

}

.bottom-sec a {
    width: 120px;
    text-align: center;
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-weight: bold;
    background-color: black;
    padding: 10px 20px;
}

.bottom-sec a:hover {
    width: 120px;
    text-align: center;
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-weight: bold;
    background-color: rgb(0, 164, 255);
    padding: 10px 20px;
}

.projects-text {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
}

.projects {
    color: #000;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit);
    grid-template-areas:

        'footyffa footyffa smarthome'
        'css wordle wordle';
    gap: 30px;
    background-color: none;
    margin-bottom: 100px;
    color: #fff;
    text-align: left;



}



.projects p {
    max-width: 400px;
    text-align: left;
}



.projects h1 {

    font-size: 36px;
    letter-spacing: -0.1rem;
    text-align: left;
    max-width: 150px;

}

.projects a {
    width: 150px;
    text-align: center;
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-weight: bold;
    background-color: black;
    padding: 10px 20px;


}

.projects a:hover {
    width: 150px;
    text-align: center;
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-weight: bold;
    background-color: rgb(0, 164, 255);
    padding: 10px 20px;
}

.footyffa {
    position: relative;
    grid-area: footyffa;
    display: flex;
    gap: 20px;
    align-items: start;
    flex-direction: column;
    justify-content: space-between;
    background-image: url(mockup3.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-blend-mode: normal;
    transition: background-size ease 0.5s, box-shadow ease 0.5s, font-size ease 0.5s;


}



.footyffa:hover {

    box-shadow: inset 0px 0px 100px 20px rgba(0, 0, 0, 0.3);

}

.smarthome {
    grid-area: smarthome;
    display: flex;
    align-items: start;
    flex-direction: column;
    justify-content: space-between;
    background-image: url(SMARTHOMEPOSTER-blur.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-blend-mode: normal;
    transition: background-size ease 0.5s, box-shadow ease 0.5s, font-size ease 0.5s;
}

.smarthome:hover {

    box-shadow: inset 0px 0px 100px 20px rgba(0, 0, 0, 0.3);

}


.wordle {
    grid-area: wordle;
    display: flex;
    align-items: start;
    flex-direction: column;
    justify-content: space-between;
    background-image: url(wordle.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-blend-mode: normal;
    transition: background-size ease 0.5s, box-shadow ease 0.5s, font-size ease 0.5s;
    /* color: #000; */
    backdrop-filter: grayscale(100%);

}


.wordle:hover {

    box-shadow: inset 0px 0px 100px 20px rgba(0, 0, 0, 0.3);

}

.css {
    grid-area: css;
    display: flex;
    align-items: start;
    flex-direction: column;
    justify-content: space-between;
    background-image: url(gradient.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-blend-mode: normal;
    transition: background-size ease 0.5s, box-shadow ease 0.5s, font-size ease 0.5s;

}

.css:hover {

    box-shadow: inset 0px 0px 100px 20px rgba(0, 0, 0, 0.3);


}




.projects>div {
    background-color: rgba(0, 0, 0, 1);
    padding: 40px 40px;
    height: 400px;
}

.project-info-bottom {
    display: flex;
    flex-direction: column;
}

.skills {
    /* background: linear-gradient(90deg, rgb(23, 23, 23) 0%, rgba(22, 22, 22, 1) 100%); */
    background-color: #ffffff;
    /* min-height: 250px;
    max-height: fit-content; */
    height: fit-content;
    padding: 0px 300px;
    display: flex;
    /* align-items: center; */
    flex-direction: column;
    color: #000000;
}


.skills-icons {
    text-align: center;
    width: 100%;
    align-items: center;
    font-size: 40pt;
    display: flex;
    flex-wrap: wrap;
    color: #000;
    margin-top: 30px;
    margin-bottom: 20px;

    /* Supports Grid */
    display: grid;
    grid: 1fr 2fr 1fr 2fr /2fr 2fr 2fr 2fr;
    
}

.skills-icons p{
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 50px;
    color: #373737;

}

.skills-icons img {
    max-width: 50px;
    max-height: 50px;
    margin: 0 auto;
    display: block;
}

.skills-icons img::shadow {
    color: #000;
}


.about-me {
    background: linear-gradient(90deg, #EE4E34 0%, rgb(252, 133, 69) 100%);

    /* min-height: 250px;
    max-height: fit-content; */
    height: fit-content;
    padding: 50px 300px;
    display: flex;
    /* align-items: center; */
    flex-direction: column;
}

.about-me h1 {
    color: #ffffff;
    font-size: 32px;
}

.about-me a {
    text-decoration: none;
    color: #EE4E34;
    font-weight: bold;
    background-color: #FCEDDA;
    padding: 10px 20px;
    width: 100px;
    text-align: center;
    /* margin-top: 50px; */

    transition: background-color 0.4s ease;
}

.about-me a:hover {

    background-color: #000000;

}

.about-buttons {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: space-between;

}

.about-buttons .buttons {

    display: flex;
    gap: 10px;
    align-items: center;


}

#about-text {
    font-weight: 200;
    font-size: 20px;
}


.contact-me {
    padding: 20px 300px;
    background: linear-gradient(90deg, rgb(23, 23, 23) 0%, rgba(22, 22, 22, 1) 100%);

    color: #fff;

}

.contact-text {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 50px;
}

.contact-text a {
    font-size: 40px;
    color: #ffffff;
    text-decoration: none;
}


.contact-me h1 {
    color: #ffffff;

}

.contact-input {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 200px;
    justify-content: space-between;
    margin-bottom: 100px;
    
}

.contact-input input {
    
    padding: 10px 20px;
    border: none;
    color: #ffffff;
    background-color: rgb(36, 36, 36);
}

.contact-input button {
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-weight: bold;
    background-color: rgb(36, 36, 36);
    padding: 10px 20px;
    width: 200px;
    border: none;
    transition: background-color 0.2s ease;
}

.contact-input button:hover {
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-weight: bold;
    background-color: rgb(0, 164, 255);
    padding: 10px 20px;
    width: 200px;
    border: none;
}

.contact-input input::placeholder {
    color: #ffffff;
    text-align: left;
}

.contact-form {
    display: flex;
    flex-direction: column;
    color: #fff;
    gap: 20px;
}

.contact-form input {
    width: 100%;
    padding: 10px 20px;
    margin-bottom: 20px;
    border: none;
    color: #ffffff;
    background-color: rgb(36, 36, 36);
}

.contact-form input::placeholder {
    color: #ffffff;
}


#my-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    color: #fff;
    gap: 20px;
    
    
}

#my-form #message {
    height: 200px;
}



@media screen and (max-width: 1600px) {

    /* body {} */

    header {
        padding-left: 200px;
        padding-right: 200px;
    }

    .top {
        padding: 0px 200px;
        margin-top: 200px;
    }

    .bottom {
        padding: 40px 200px;
    }

    .bottom-sec {
        padding: 0px 200px;
    }


    .about-me {
        padding: 40px 200px;
    }

    .contact-me {
        padding: 10px 200px;
    }

    .skills{
        padding: 0px 200px; 
    }


}

@media screen and (max-width: 1230px) {

    /* body {} */

    header {
        padding-left: 100px;
        padding-right: 100px;
    }

    .top {
        padding: 0px 100px;
        margin-top: 200px;
    }

    .top h1 {
        font-size: 60pt;
        line-height: 44pt;
    }

    .bottom {
        padding: 30px 100px;
    }

    .bottom-sec {
        padding: 0px 100px;
    }

    .projects {
        display: flex;
        flex-direction: column;

    }

    .about-me {
        padding: 30px 100px;
    }

    .contact-me {
        padding: 20px 100px;
    }


    .skills{
        padding: 0px 100px; 
    }


}


@media screen and (max-width: 1121px) {

    .bottom h1 {
        font-size: 30px;

    }

    .about-me h1 {
        font-size: 30px;
    }


    .about-buttons .buttons {
        gap: 10px;
    }

    .about-buttons a {
        width: 80px;
    }
}

@media screen and (max-width: 800px) {
    header {
        padding-left: 60px;
        padding-right: 60px;
    }

    .top {
        padding: 0px 60px;
        margin-top: 200px;
    }

    .bottom {
        padding: 20px 60px;
    }

    .bottom-sec {
        padding: 0px 60px;
    }

    .bottom h1 {
        font-size: 24px;

    }

    .about-me h1 {
        font-size: 24px;
    }


    .about-me {
        padding: 30px 60px;
    }

    .contact-me {
        padding: 20px 60px;
        align-items: center;
    }

    .contact-input {
        flex-direction: column;
        gap: 20px;
    }

    .contact-input input {
        width: 94%;
        padding: 20px;
    }


    .projects>div {
        background-color: rgba(0, 0, 0, 1);
        padding: 30px 30px;
        height: 300px;
    }

}


@media screen and (max-width: 666px) {

    body {
        font-size: 75%;
    }


    a {
        font-size: 12px;
        padding: 0px;
    }

    header {
        padding-left: 60px;
        padding-right: 60px;
    }

    .top {
        padding: 0px 60px;
        margin-top: 200px;
    }

    .bottom {
        padding: 20px 60px;
        flex-direction: column;
        height: min-content;

    }



    .bottom-sec {
        padding: 0px 60px;

    }

    .projects h1 {
        font-size: 30px;
    }

    .footyffa {
        aspect-ratio: 1/1;
    }

    .about-me {
        padding: 20px 60px;
    }

    .about-buttons {
        flex-direction: column;
        align-items: normal;
        gap: 10px;

    }

    .about-buttons a {
        max-width: 100px;
    }



    .contact-me {
        /* padding: 20px 60px; */
        align-items: center;
    }

    .contact-input {
        flex-direction: column;
        gap: 20px;

    }

    .form {
        flex-direction: column;
        gap: 20px;

    }

    .contact-input input {
        width: 90%;
        padding: 20px;
    }

    .projects>div {
        background-color: rgba(0, 0, 0, 1);
        padding: 30px 30px;
        height: 300px;
    }

    .skills{
        padding: 0px 60px;
    }

    .skills-icons {
        text-align: center;
        width: 100%;
        align-items: center;
        font-size: 40pt;
        display: flex;
        flex-wrap: wrap;
        color: #000;
        margin-top: 30px;
        margin-bottom: 20px;
    
        /* Supports Grid */
        display: grid;
        grid: 1fr 2fr 1fr 2fr /2fr 2fr 2fr 2fr;
        
    }
    
    .skills-icons p{
        font-size: 12px;
        font-weight: 400;
        margin-bottom: 50px;
        color: #373737;
    
    }
    
    .skills-icons img {
        max-width: 30px;
        max-height: 30px;
        margin: 0 auto;
        display: block;
    }

}


@media screen and (max-width: 500px) {

    .top h1 {
        font-size: 50pt;
        line-height: 36pt;
    }

    .footyffa {
        max-height: 300px;
    }

    .smarthome {
        max-height: 300px;
    }

    .wordle {
        max-height: 300px;
    }

    .css {
        max-height: 300px;
    }

    .projects-text {
        gap: 10px;
    }

    .projects a {
        max-width: 78%;
    }

    .projects a:hover {
        max-width: 78%;

    }

    .bottom {
        height: min-content;
    }

    .bottom h1 {
        font-size: 20px;
    }

    .bottom-sec {
        margin-top: 60px;


    }

    /* .about-me h1 {
        font-size: 20px;
    } */



    .project-info-bottom {
        width: 100%;
    }

    #about-text {
        font-size: 16px;
    }

}


@media screen and (max-width: 450px) {

    header {
        padding-left: 40px;
        padding-right: 40px;
    }

    .top {
        padding: 0px 40px;
        margin-top: 200px;
    }

    .bottom {
        padding: 20px 40px;
    }

    .bottom-sec {
        padding: 0px 40px;
    }


    .skills{
        padding: 0px 40px;
    }

    .about-me {
        padding: 20px 40px;
    }

    .contact-me {
        padding: 20px 40px;
        align-items: center;
    }

    .footyffa {
        max-height: 300px;
    }

    .smarthome {
        max-height: 300px;
    }

    .wordle {
        max-height: 300px;
    }

    .css {
        max-height: 300px;
    }

    .projects-text {
        gap: 10px;
    }

    .projects a {
        max-width: 78%;
    }

    .projects a:hover {
        max-width: 78%;

    }


    .bottom {
        height: min-content;
    }

    .bottom h1 {
        font-size: 20px;
    }





    .project-info-bottom {
        width: 100%;
    }
}



@media screen and (max-width: 400px) {

    .top h1 {
        font-size: 40pt;
        line-height: 36pt;
        letter-spacing: -0.4rem;
    }

    .projects>div {
        background-color: rgba(0, 0, 0, 1);
        padding: 20px 20px;
        height: 200px;
    }

    .projects h1 {
        font-size: 18pt;
    }

    .projects a {
        max-width: 100px;
        padding: 8px 8px;
    }

    .projects a:hover {
        max-width: 100px;

    }

    .about-me a {
        margin-bottom: 20px;
    }

    #about-text {
        font-size: 14px;
    }


}