@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    color: white;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: black;
    overflow: visible;
}

@media only screen and (min-width:400px){

    .header::before {
        content: "";
        background-color: black;
        position: absolute;
        width: 100%;
        height: 70px;
        z-index: -1;
        opacity: 0.4;
        /* border: 3px solid green; */
    }
    
    .header {
        /* border: 3px solid white; */
        height: 70px;
        width: 100%;
    }
    
    #logo {
        width: 10%;
        /* border: 3px solid green; */
    }
    
    #logo img {
        /* border: 3px solid red; */
        width: 150px;
        filter: invert(100%); 
        /* margin-top: -15px;
        margin-left: -35px; */
    }
}

@media only screen and (max-width:578px){
    .header::before {
        content: "";
        background-color: black;
        position: absolute;
        width: 100%;
        height: 70px;
        z-index: -1;
        opacity: 0.4;
        /* border: 3px solid green; */
    }
    
    .header {
        /* border: 3px solid white; */
        height: 70px;
        width: 100%;
    }
    
    #logo {
        width: 10%;
        /* border: 3px solid green; */
    }
    
    #logo img {
        /* border: 3px solid red; */
        width: 120px;
        filter: invert(100%); 
        margin-top: -3px;
        margin-left: -25px;
    }
}

@media only screen and (max-width: 436px){
    .header::before {
        content: "";
        background-color: black;
        position: absolute;
        width: 100%;
        height: 60px;
        z-index: -1;
        opacity: 0.4;
        /* border: 3px solid green; */
    }
    
    .header {
        /* border: 3px solid white; */
        height: 60px;
        width: 100%;
    }
    
    #logo {
        width: 10%;
        /* border: 3px solid green; */
    }
    
    #logo img {
        /* border: 3px solid red; */
        width: 100px;
        filter: invert(100%); 
        margin-top: -3px;
        margin-left: -25px;
    }
}


@media only screen and (max-width: 1518px) and (min-width: 669px){

    .container {
        position: absolute;
        top: 0;
        display: flex;
        width: 100%;
        height: 150vh;
        flex-direction: column;
        z-index: -2;
        /* border: 3px solid white; */
    }

    .container::before {
        content: "";
        position: absolute;
        background-image: url(../img/projectbg.jpg);
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
        height: 100%;
        width: 100%;
        z-index: -2;
        opacity: 0.6;
    }

    .container .heading {
        align-self: center;
        position: absolute;
        top: 120px;
        font-size: 3rem;
        font-weight: 500;
    }

    .container .projects {
        position: absolute;
        top: 270px;
        width: 100%;
        /* border: 3px solid green; */
        height: 640px;
    }

    .container .project1 {
        position: absolute;
        left: 50%;
        top: 10%;
        transform: translate(-50%, -50%);
        width: 550px;
        height: 100px;
    }

    .project1:hover {
        transform: scale3d(1);
    }

    .container .project2 {
        position: absolute;
        left: 50%;
        top: 30%;
        transform: translate(-50%, -50%);
        width: 550px;
        height: 100px;
    }

    .project2:hover {
        transform: scale3d(1);
    }

    .container .project3 {
        position: absolute;
        left: 50%;
        top: 19%;
        transform: translate(-50%, -50%);
        width: 550px;
        height: 100px;
    }

    .project3:hover {
        transform: scale3d(1);
    }

    .container .project4 {
        position: absolute;
        left: 50%;
        top: 39%;
        transform: translate(-50%, -50%);
        width: 550px;
        height: 100px;
    }

    .project4:hover {
        transform: scale3d(1);
    }

    .container .project5 {
        position: absolute;
        left: 50%;
        top: 28%;
        transform: translate(-50%, -50%);
        width: 550px;
        height: 100px;
    }

    .project5:hover {
        transform: scale3d(1);
    }

    .container .project6 {
        position: absolute;
        left: 50%;
        top: 48%;
        transform: translate(-50%, -50%);
        width: 550px;
        height: 100px;
    }

    .project6:hover {
        transform: scale3d(1);
    }

    .projects a {
        text-decoration: none;
    }

    .projects h1 {
        font-size: 2.5rem;
        font-weight: 300;
    }

    .projects h1:hover {
        color: rgb(197, 197, 197);
    }

}

@media only screen and (max-width: 668px){
    
.container {
    position: absolute;
    top: 0;
    display: flex;
    width: 100%;
    height: 120vh;
    flex-direction: column;
    z-index: -2;
    /* border: 3px solid white; */
}

.container::before {
    content: "";
    position: absolute;
    background-image: url(../img/projectbg.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    height: 100%;
    width: 100%;
    z-index: -2;
    opacity: 0.6;
}

.container .heading{
    align-self: center;
    position: absolute;
    top: 120px;
    font-size: 2.4rem;
    font-weight: 500;
}

.container .projects{
    display: grid;
    grid-template-columns: repeat(2, 2);
    position: absolute;
    top: 300px;
    width: 100%;
    /* border: 3px solid green; */
    height: 640px;
}

.container .project1{
    backdrop-filter: blur(5px);
    width: 200px;
    height: 100px;
    padding: 15px 5px;
    border: 3px solid black;
    text-align: center;
    position: absolute;
    left: 40px;
}

.project1:hover{
    transform: scale3d(1);
}

.container .project2{
    backdrop-filter: blur(5px);
    width: 200px;
    height: 100px;
    padding: 15px 5px;
    border: 3px solid black;
    text-align: center;
    position: absolute;
    right: 40px;
}

.project2:hover{
    transform: scale3d(1);
}

.container .project3{
    backdrop-filter: blur(5px);
    width: 200px;
    height: 100px;
    padding: 15px 5px;
    border: 3px solid black;
    text-align: center;
    position: absolute;
    left: 40px;
    margin-top: 200px;
}

.project3:hover{
    transform: scale3d(1);
}

.container .project4{
    backdrop-filter: blur(5px);
    width: 200px;
    height: 100px;
    padding: 15px 5px;
    border: 3px solid black;
    text-align: center;
    position: absolute;
    right: 40px;
    margin-top: 200px;
}

.project4:hover{
    transform: scale3d(1);
}

.container .project5{
    backdrop-filter: blur(5px);
    width: 200px;
    height: 100px;
    padding: 15px 5px;
    border: 3px solid black;
    text-align: center;
    position: absolute;
    left: 40px;
    margin-top: 400px;
}

.project5:hover{
    transform: scale3d(1);
}

.container .project6{
    backdrop-filter: blur(5px);
    width: 200px;
    height: 100px;
    padding: 15px 5px;
    border: 3px solid black;
    text-align: center;
    position: absolute;
    right: 40px;
    margin-top: 400px;
}

.project6:hover{
    transform: scale3d(1);
}

.projects a{
    text-decoration: none;
}

.projects h1{
    font-size: 2.2rem;
    font-weight: 300;
}

.projects h1:hover{
    color: rgb(197, 197, 197);
}
}

@media only screen and (max-width: 552px){
    .container {
        position: absolute;
        top: 0;
        display: flex;
        width: 100%;
        height: 150vh;
        flex-direction: column;
        z-index: -2;
        /* border: 3px solid white; */
    }

    .container::before {
        content: "";
        position: absolute;
        background-image: url(../img/projectbg.jpg);
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
        height: 100%;
        width: 100%;
        z-index: -2;
        opacity: 0.6;
    }

    .container .heading {
        align-self: center;
        position: absolute;
        top: 120px;
        font-size: 1.8rem;
        font-weight: 500;
    }

    .container .projects {
        position: absolute;
        top: 230px;
        width: 100%;
        /* border: 3px solid green; */
        height: 640px;
    }

    .container .project1 {
        position: absolute;
        left: 50%;
        top: 10%;
        transform: translate(-50%, -50%);
        width: 250px;
        height: 80px;
    }

    .project1:hover {
        transform: scale3d(1);
    }

    .container .project2 {
        position: absolute;
        left: 50%;
        top: 30%;
        transform: translate(-50%, -50%);
        width: 250px;
        height: 80px;
    }

    .project2:hover {
        transform: scale3d(1);
    }

    .container .project3 {
        position: absolute;
        left: 50%;
        top: 19%;
        transform: translate(-50%, -50%);
        width: 250px;
        height: 80px;
    }

    .project3:hover {
        transform: scale3d(1);
    }

    .container .project4 {
        position: absolute;
        left: 50%;
        top: 39%;
        transform: translate(-50%, -50%);
        width: 250px;
        height: 80px;
    }

    .project4:hover {
        transform: scale3d(1);
    }

    .container .project5 {
        position: absolute;
        left: 50%;
        top: 28%;
        transform: translate(-50%, -50%);
        width: 250px;
        height: 80px;
    }

    .project5:hover {
        transform: scale3d(1);
    }

    .container .project6 {
        position: absolute;
        left: 50%;
        top: 48%;
        transform: translate(-50%, -50%);
        width: 250px;
        height: 80px;
    }

    .project6:hover {
        transform: scale3d(1);
    }

    .projects a {
        text-decoration: none;
    }

    .projects h1 {
        font-size: 2rem;
        font-weight: 300;
    }

    .projects h1:hover {
        color: rgb(197, 197, 197);
    }
}