* {
    padding: 0 0 0 0;
    margin: 0;
    box-sizing: border-box;
}
/* hello how are you? */
.hiddenBtn {
    display: none;
}
#navbar ul {
    display: inline-block;
    background-color: #0B2027;
    text-align: end;
    margin-top: 0px;
    width: 100%;
    border: 0 none transparent;
    z-index: 1;
}
#navbar ul li {
    display: inline-block;
    list-style: none;
    text-transform: uppercase;
    margin-left: 20px;
    padding: 20px 20px 20px 20px;
    font-size: 20px;   
}
#navbar ul li a {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    color: #BCD2EE;
    margin-left: 10px;
    color: white;
}
#navbar ul li a:hover {
    color: #9EE493;
}

#welcome-section {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    
    /*background-size: ;*/
}
#welcome-section {
    font-family: 'Open Sans', Arial, sans-serif;
    background-color: #9EE493;
    width: 100%;
    height: 800px;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

/* This is the skills section */
#skillsText {
    height: 290px;
    padding-top: 10px;
    text-align: center;
    background-color: #163641;
    border-bottom: 5px solid #245466;
    color: white;
    font-size: 25px;
    font-weight: 100;
    font-family: 'Fira Sans', sans-serif;

}
#skills {
    display: flex;
    justify-content: space-evenly;
    padding-top: 20px;
    height: 270px;
    background-color: #143845;

    /* background-color: blue; */
}
#skills img {
    height: 200px;
}
.language {
    display: flex;
}
.language p {
    text-align: start;
    line-height: 28px;
    font-size: 15px;
    word-wrap: break-word;
    width: 100px;
}

#ES6 {
    margin-right: 35px;
}

/*---------------------------*/

/* This is the aboutMe section*/

    #aboutMe {
        display: grid;
        grid-template-columns: 50% 50%;
        gap: 40px;
        /* display: flex;
        justify-content: space-evenly;
        gap: 300px; */
        padding: 80px 100px 80px 30px;
        background-color: #143845;
        border-bottom: 5px solid #245466;
        
    }
    .container {
        margin: 0 auto;
        height: 300px;
        width: 300px;
        perspective: 1000px;
    }

    .card {

        position: relative;
        transition: all 0.5s ease-in-out;
        transform-style: preserve-3d;
    }
    
    .front, .back {
        height: 300px;
        width: 300px;
        border-radius: 50%;
        position: absolute;
    }
    .front {
        z-index: 2;
        backface-visibility: hidden;
    }
    .back {
        z-index: 1;
        transform: rotateY(180deg);
    }

    .container:hover .card {
        transform: rotateY(-180deg);

    }
    #aboutMe p {
        color: white;
        font-family: 'Fira Sans', sans-serif;
        font-size: 14px;
        max-width: 500px;
        line-height: 23px;
        padding: 20px 20px 20px 20px;
    }

/*-----------------------------------------*/



/* This is the green shape that goes across screen weirdly. */
#shape1 {
    position: absolute;
    top: -265px;
    left: -100px;
    right: -100px;
    background-color: #0B2027;
    height: 600px;
    transform: rotate(170deg);
}
/* ---------------------------------------------- */

#welcome-section header {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 10px;
    color: #BCD2EE;
    font-family: 'Poppins', sans-serif;
    font-size: 40px;
}
#welcome-section p {
    position: relative;
    z-index: 2;
    width: auto;
    height: auto;
    text-align: center;
    margin-bottom: 10px;
    padding-top: 220px;
    transform: rotate(-9.8deg);
    color: #447587;
    font-family: 'Poppins', sans-serif;
    font-size: 40px;
    font-weight: 700;
}



#projects header {
    font-family: 'Open Sans', Arial, sans-serif;
    position: relative;
}
#projects header {
    text-align: center;
    margin-bottom: 10px;
    padding-top: 10px;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 40px;
    text-decoration: underline;
}


#profile-link header {
    font-size: 30px;
    font-family: 'Poppins', sans-serif;
    color: white;
    text-align: center;
}
#profile-link div p a {
    text-decoration: none;
    color: white;
}
#profile-link div p {
    transition: transform .5s;
}
#profile-link p:hover {
    transform: translateY(10px);
}




/* This is my projects showcase */


.newProjects {
    z-index: 2;
    position: relative;
    display: grid;
    grid-template-columns: 32vw 32vw 32vw;
    text-align: center;
    font-size: 1.2rem;
    background-color: #143845;
    row-gap: 30px;
    padding-top: 120px;
    width: 100%;
    height: fit-content;
    padding-left: 20px;
}


        /* This is for when you hover over the image */
.newProjects div img {
    background-color: #40798C;
    border-radius: 50%; 
    border: 4px solid #245466;
    transition: all 0.2s ease-in-out;
    height: 170px;
    width: 170px;
}
.newProjects div img:hover {
    width: 200px;
    transform: rotate(10deg);
    background-color: #65A4B8;
}
        /* ----------------------------------------------- */

.newProjects div {
    padding: 20px;
    margin: 0 auto;
}

.newProjects.two {
    padding-top: 40px;
    padding-bottom: 100px;
    border-bottom: 5px solid #245466;
}
.newProjects.text {
    display: flex;
    flex-direction: column;
    color: white;
    background-color: #143845;
    font-family: 'Fira Sans', sans-serif;
    height: auto;
    width: 100%;
}
/* ----------------------------------------------- */


.mainOverlay {
    z-index: 4;
    opacity: 0;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #0808089c;
    transition: all 0.2s cubic-bezier(0, 0.57, 0.77, 1.23);
    transform: scale(0.01);
}
.overlayActive {
    opacity: 1;
    z-index: 5;
    transform: scale(1);
}

#whiteScreen {
    z-index: 4;
    opacity: 0;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #0808089c;
    transition: all 0.2s cubic-bezier(0, 0.57, 0.77, 1.23);
    transform: scale(0.01);
}
#whiteScreen.whiteActive {
    opacity: 1;
    z-index: 5;
    transform: scale(1);
}
.gitHubBtn {
    position: relative;
    cursor: pointer;
    background-color: #191610;
    border: none;
    color: white;
    width: 80px;
    height: 35px;
    top: 20px;
    margin-bottom: 20px;
}
.gitHubBtn a {
    text-decoration: none;
    color: white;

}
.gitHubBtn:hover {
    background-color: rgb(37, 37, 37);
}
.closeModal {
    z-index: 6;
    position: absolute;
    transform: translate(285.5px, 320.9px);
    color: #9EE493;
    border: none;
    background-color: #1f4f5f;
    border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;
    cursor: pointer;
    height: 30px;
    width: 30px;
}
.closeModal:hover {
    background-color: #0B2027;


}
.sunny {
    z-index: 6;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    background-color: #0B2027;
    color: #9EE493;
    font-family: 'Fira Sans', sans-serif;

    display: flex;
    justify-content: center;
    border: none;
    height: 350px;
    width: 600px;
    max-width: 700px;
    border-radius: 10px;
    transition: all .5s ease-in-out;
}
.img {
    background-color: #0B2027;
    width: 320px;
    height: 250px;
    margin: 10px;
    margin-top: 30px;
    background-size: contain;
    background-repeat: no-repeat;
}
.img.one {
    background-image: url(/pictures/sunny\(portfolio\).jpg);
}
.img.two {
    background-image: url(/pictures/signUpForm\(new\).jpg);
}
.img.three {
    background-image: url(/pictures/chanel\ pic.jpg);
}
.img.four {
    background-image: url(/pictures/animeQuote\(pic\).jpg);
}
.img.five {
    background-image: url(/pictures/hero\(new\).jpg);
}
.img.six {
    background-image: url(/pictures/javaSNoob\ pic.jpg);
}


/* This is for the footer  */
footer {
    background-color: #143845;
    padding-top: 60px;
    display: flex;
    justify-content: center;
}
footer ul {
    transform: translateY(20px);
    display: flex;
    gap: 20px;
    list-style: none;
}
#gitImg {
    cursor: pointer;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    transition: transform .5s;
    filter: invert(100%) sepia(100%) saturate(100%) hue-rotate(100deg) brightness(100%) contrast(1000%);
}
#gitImg:hover, #gitImg2:hover {
    transform: translateY(-4px);

}
#gitImg2 {
    cursor: pointer;
    height: 30px;
    width: 35px;
    transition: transform .5s;
    filter: invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0%) contrast(1000%);
    background-size: contain;
}



/* ----------------------------- */

.text {
    padding: 15px;
    line-height: 30px;
    width: 250px;
}
.text > h1 {
    text-align: center;
    color: white;
    margin-bottom: 7px;
    letter-spacing: 5px;
}

#sunny img{
    height: 100px;
}


/* Contact form section  */
#contactMain {
    background: #163641;
    border-bottom: 4px solid #245466;
    padding: 30px;
    
}
#contactWrapper {
    background: #245466;
    border-radius: 10px;
    max-width: 500px;
    margin: 0 auto;
}
#contactWrapper h1 {
    padding-top: 10px;
    color: white;
    text-align: center;
    margin-bottom: 20px;
}
#inputField form {
    display: flex;
    flex-direction: column;
}
#inputField form input {
    margin: 0 auto;
    margin-bottom: 50px;
    width: 60%;
    padding: 10px;
    background:#447587;
    border: none;
    color: white;
}
#inputField form textarea {
    margin: 0 auto;
    margin-bottom: 50px;
    width: 60%;
    padding: 10px;
    background:#447587;
    border: none;
    color: white;
}
#inputField form button {
    background: #9EE493;
    color: black;
    padding: 10px;
    border: none;
    width: 60%;
    margin: 0 auto;
    margin-bottom: 30px;
}
#inputField form button:hover {
    background: #afe3a8;
}
#inputField form textarea:nth-child(3) {
    height: 100px;
    max-width: 100%;
}
#inputField form textarea:nth-child(3)::placeholder {
    color: white;
}
#inputField input:nth-child(3) {
    padding-top: 0;
    padding-left: 0;
}
#inputField input:nth-child(3)::placeholder {
    position: absolute;
    top: 20px;
}
#inputField input::placeholder {
    color: white;
}
/* ----------------------------------- */


@media only screen and (max-width: 934px){
    #skillsText {
        display: flex;
        height: auto;
        background-color: #163641;
        color: black;
        padding: 30px;

    }
    #skills {
        background-color: #163641;
        padding-top: 30px;
        gap: 30px;
        display: flex;
        margin: 0 auto;
        flex-direction: column;
        max-width: 280px;
        height: auto;
        gap: 80px;
    }

    .language img {
        max-width: 100%;
        height: auto;
        min-height: 300px;
    }
    .language {
        display: flex;
        flex-direction: column;
    }
    .language p {
        margin-top: 20px;
        text-align: center;
        color: white;
        width: 100%;
    }
    #ES6 {
        width: 100%;
    }
}

@media only screen and (max-width: 690px) {
        #navbar {
            display: none;
        }
        #navbar.active {
            display: block;
        }
        #navbar ul {
            position: absolute;
            z-index: 9;
            top: 50px;
            height: auto;
            border-top: 3px solid #40798C;
            border-bottom: 3px solid #40798C;
            border-left: none;
            border-right: none;
            line-height: 50px;
            display: flex;
            flex-direction: column;
            text-align: center;
        }
        #navbar ul li {
            margin-left: 0;
        }
        
        #newNav {
            background-color: #0B2027;
            display: flex;
            justify-content:space-between;
            width: 100%;
            height: 30px;
        }
        #newNav:nth-child(2) {
            padding-bottom: 50px;
        }
        #newNav span {
            display: flex;
            position: relative;
            height: 4px;
            border-radius: 10px;
            margin-bottom: 5px;
            width: 35px;
            top: 10px;
            right: 10px;
            background: white;
        }

        .bar {
            transition: all 0.2s ease-in;
            border: none;
        }
        .hamburger.active .bar:nth-child(2) {
            opacity: 0;
        }
        .hamburger.active .bar:nth-child(1) {
            transform: translateY(10.6px) rotate(-45deg);
    
        }
        .hamburger.active .bar:nth-child(3) {
            transform: translateY(-7px) rotate(45deg);
        }




        #skillsText {
            display: flex;
            height: auto;
            background-color: #163641;
            color: black;
            padding: 30px;

        }
        #skills {
            background-color: #163641;
            padding-top: 30px;
            gap: 30px;
            display: flex;
            margin: 0 auto;
            flex-direction: column;
            max-width: 280px;
            height: auto;
            gap: 80px;
        }

        .language img {
            max-width: 100%;
            height: auto;
            min-height: 300px;
        }
        
        .language p {
            margin-top: 20px;
            text-align: center;
            color: white;
            width: 100%;
        }
        #ES6 {
            width: 100%;
        }

        /* This is the about me section */
        #aboutMe {
            background-color: #163641;
            display: grid;
            padding: 0;
            padding-top: 20px;
            grid-template-columns: 100%;
            grid-template-rows: 500px 500px;
        }
        #aboutMe p {
            font-size: 18px;
            line-height: 30px;
            transform: translateY(-50px);
            height: auto;
            margin: 0 auto;
        }
        .container {
            margin: 0 auto;
            max-width: 300px;
            max-height: 300px;
            perspective: 1000px;
        }
        .container {
            width: 100%;
            height: auto;
        }

        .card img {
            max-width: 100%;
            height: auto;
        }
        #secondImg {
            max-width: 100%;
            height: 278px;
        }

        
        #aboutMe p {
            margin-top: -130px;
            background-color: #163641;
            color: white;
            width: 100%;
            height: 400px;
            text-align: center;
        }
        /* --------------------------------------- */

        /* This is for the grid of my projects */
            #navProj {
                padding-top: 30px;
                display: grid;
                grid-template-columns: 88vw;
                font-size: 13px;
                background-color: #163641;
                height: auto;
                border-bottom: 5px solid #245466;

            }
            .newProjects.two{
                padding-top: 30px;
                display: grid;
                grid-template-columns: 88vw;
                font-size: 13px;
                background-color: #163641;
                height: auto;
                border-bottom: 5px solid #245466;
            }

            .newProjects.text {
                margin-top: 10px;
                color: white;

            }
        /* ------------------------------------------ */

        /* This is for the modal popUp */

            
            .closeModal { /* This just makes the old btn dissaper, makes way for new one */
                display: none;
            }


            .sunny {
                display: flex;
                flex-direction: column;
                height: 70vh;
                width: 100vw;
                padding-top: 20px;

            }
            .img {
                margin: 0 auto;
                background-color: black;
                min-width: 80vw;
                margin-bottom: 20px;
                background-size:cover;
            }
            .text {
                margin: 0 auto;
                width: 80vw;
                text-align: center;
                font-size: 20px;
            }

           .hiddenBtn {
                display: block;
                z-index: 6;
                position: absolute;
                top: 5px;
                right: 5px;
                margin: 0 auto;
                color: #9EE493;
                border: none;
                background-color: #1f4f5f;
                border-radius: 50%;
                cursor: pointer;
                height: 25px;
                width: 25px;
           }

        .img.one {
            min-height: 30%;
            max-width: 100px;
            background-size: cover;
            background-position: center;
        }
        .text {
            margin-top: -20px;
            font-size: 14px;
        }


        /* -------------------------------------- */

        
      

        .language {
            display: flex;
            flex-direction: column;
        }

  }


  @media only screen and (max-width: 281px) {
    .img.one {
        min-height: 30%;
        max-width: 100px;
        background-size: cover;
        background-position: center;
    }
    .text {
        margin-top: -20px;
        font-size: 12px;
    }
  
  }

  @media only screen and (max-width: 298px) {
    .img.one {
        min-height: 30%;
        max-width: 100px;
        background-size: cover;
        background-position: center;
    }
    #aboutMe p {
        font-size: 15px;
        line-height: 30px;
        transform: translateY(-80px);
        height: auto;
    }
    .text {
        margin-top: -20px;
        font-size: 12px;
    }
  }
