@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');

* {
    padding: 0px;
    margin: 0px;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

body {
    width: 100%;
    height: 100vh;
    /* overflow-x: hidden; */
}

#navBar {
    width: 100%;
    height: 60px;
    background-color: rgb(22, 21, 19);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#navBar #logo {
    width: 20%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color: white; */
    text-decoration: none;
}

#navBar #logo img {
    width: 28%;
    height: 100%;
    object-fit: cover;
}

#navBar #subNavBar #underline {
    width: 0%;
    transition: all .5s;
}

#navBar #subNavBar a:hover #underline {
    width: 100%;
    height: 2px;
    background-color: white;
}

#navBar #subNavBar {
    width: 50%;
    height: 100%;
    /* border: 2px solid red; */
    display: flex;
    justify-content: space-around;
    align-items: center;
}

#navBar #subNavBar a {
    text-decoration: none;
    color: white;
}



#section1 {
    width: 100%;
    height: 500px;
    /* border: 2px solid rebeccapurple; */
    position: relative;
}

#section1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(50%);
    position: absolute;

}

#section1 #subSection1 {
    width: 60%;
    height: 100%;
    /* border: 2px solid red; */
    position: relative;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;

}

#section1 #subSection1 h1 {
    font-size: 80px;
    padding-left: 2%;
    animation: shadeIn 1s;
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: normal;
}

#section1 #subSection1 p {
    font-size: 24px;
    padding-left: 2%;
    animation: shadeIn 1s;
}



#section2 {
    width: 100%;
    height: 650px;
    background-color: rgb(22, 21, 19);
    display: flex;
    /* background-color: green;     */
}

#section2 #section2Left,
#section2Right {
    width: 50%;
    height: 100%;
    /* border: 2px solid pink; */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

#section2 #section2Left {
    flex-direction: column;
    justify-content: center;
    align-items: start;

}

#section2 #section2Left h1 {
    font-size: 50px;
    padding-left: 3%;
}

#section2 #section2Left p {
    font-size: 20px;
    padding-left: 2%;
    text-align: justify;
}

#section2 #section2Right img {
    width: 90%;
    height: 75%;
    object-fit: cover;
    border-radius: 20px;
}


#section3 {
    width: 100%;
    height: 400px;
    background-color: rgb(22, 21, 19);
    /* border: 1px solid yellow; */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white;
}

#section3 h1 {
    font-size: 50px;
}

#section3 p {
    font-size: 20px;
    text-align: center;
}



#section4 {
    width: 100%;
    height: 1200px;
    background-color: rgb(22, 21, 19);
    /* border: 2px solid blue; */
}

#section4 #section4Heading {
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: start;
    align-items: center;
    /* background-color: rebeccapurple; */
    font-size: 50px;
    color: white;
}

#section4 #section4Heading h1 {
    padding-left: 2%;
}

#section4 #cardContainer {
    width: 100%;
    height: 1100px;
    /* background-color: pink; */
    /* border: 2px solid red; */
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

#section4 #cardContainer #card {
    width: 30%;
    height: 500px;
    background-color: rgb(22, 21, 19);
    color: white;
    /* border: 2px solid gold; */
}

#section4 #cardContainer #card #cardImage {
    width: 100%;
    height: 300px;
    /* border: 2px solid blue; */
    display: flex;
    justify-content: center;
    align-items: center;
}

#section4 #cardContainer #card #cardImage img {
    width: 100%;
    height: 98%;
    object-fit: cover;
    border-radius: 20px;
}

#section4 #cardContainer #card h1 {
    font-size: 40px;
}

#section4 #cardContainer #card p {
    font-size: 20px;
}


#footer {
    width: 100%;
    height: 200px;
    background-color: rgb(22, 21, 19);
    /* border: 2px solid red; */
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    color: white;
}

#footer #footerLogo {
    width: 50%;
    height: 120px;
    /* background-color: red; */
    display: flex;
    justify-content: center;
    align-items: center;
}

#footer img {
    width: 170px;
    height: 100%;
    object-fit: cover;
}


@keyframes shadeIn {
    from {
        transform: translate(-30px);
        opacity: 0;
    }

    to {
        opacity: 1;
        transform: translate(0px);
    }

}





@media screen and (orientation:portrait) {
    #navBar #logo {
        width: 40%;
    }

    #navBar #logo img {
        width: 50%;
        height: 100%;
    }

    #navBar #subNavBar a {
        display: flex;
        font-size: 8px;
    }


    #section1 {
        height: 200px;
    }

    #section1 #subSection1 {
        width: 100%;
    }

    #section1 #subSection1 h1 {
        font-size: 40px;
    }

    #section1 #subSection1 p {
        font-size: 16px;
    }


    #section2 {
        height: 600px;
        flex-direction: column;
    }

    #section2 #section2Left,
    #section2Right {
        width: 100%;
        height: 100%;
    }

    #section2 #section2Left h1 {
        font-size: xx-large;
    }

    #section2 #section2Left p {
        font-size: small;
    }

    #section2 #section2Right img {
        border-radius: 15px;
    }


    #section3 h1 {
        font-size: xx-large;
    }

    #section3 p {
        font-size: medium;
    }


    #section4 {
        height: 2560px;
    }

    #section4 #section4Heading {
        height: 50px;
        font-size: large;
    }

    #section4 #cardContainer {
        flex-direction: column;
        height: 2510px;

    }

    #section4 #cardContainer #card {
        width: 100%;
        height: 450px;
    }

    #section4 #cardContainer #card #cardImage {
        height: 250px;
    }

    #section4 #cardContainer #card #cardImage img {
        width: 90%;
        border-radius: 15px;
    }

    #section4 #cardContainer #card h1 {
        font-size: x-large;
        padding-left: 5%;
    }

    #section4 #cardContainer #card p {
        font-size: medium;
        padding-left: 5%;

    }

    #footer #footerLogo {
        height: 100px;
    }

    #footer img {
        width: 120px;
    }
}



@media screen and (min-width:593px) and (max-width:1024px) {
    #navBar #logo {
        width: 40%;
    }

    #navBar #logo img {
        width: 20%;
        height: 100%;
    }

    #navBar #subNavBar a {
        display: flex;
        font-size: 15px;
    }

    #section1 {
        height: 200px;
    }

    #section1 #subSection1 {
        width: 100%;
    }

    #section1 #subSection1 h1 {
        font-size: 40px;
    }

    #section1 #subSection1 p {
        font-size: 16px;
    }

    #section2 {
        height: 900px;
        flex-direction: column;
    }

    #section2 #section2Left,
    #section2Right {
        width: 100%;
        height: 100%;
    }

    #section2 #section2Left h1 {
        font-size: xx-large;
    }

    #section2 #section2Left p {
        font-size: small;
    }

    #section2 #section2Right img {
        border-radius: 15px;

    }


    #section3 h1 {
        font-size: xx-large;
    }

    #section3 p {
        font-size: medium;
    }




    #section4 {
        height: 2400px;
    }

    #section4 #section4Heading {
        height: 50px;
        font-size: large;
    }

    #section4 #cardContainer {
        height: 2350px;
    }

    #section4 #cardContainer #card {
        width: 100%;
        height: 400px;
    }

    #section4 #cardContainer #card #cardImage {
        height: 250px;
    }

    #section4 #cardContainer #card #cardImage img {
        width: 90%;
        border-radius: 15px;
    }

    #section4 #cardContainer #card h1 {
        font-size: xx-large;
        padding-left: 5%;
    }

    #section4 #cardContainer #card p {
        font-size: medium;
        padding-left: 5%;
    }

    #footer #footerLogo {
        height: 100px;
    }

    #footer img {
        width: 150px;
    }
}

@media screen and (min-width:1025px) and (max-width:1440px) {

    #navBar #logo {
        width: 40%;
    }

    #navBar #logo img {
        width: 15%;
        height: 100%;
    }

    #section1 #subSection1 {
        width: 100%;
    }

    #section1 #subSection1 h1 {
        font-size: 40px;
    }

    #section1 #subSection1 p {
        font-size: 20px;
    }

    #section2 {
        height: 450px;
    }

    #section2 #section2Left h1 {
        font-size: 30px;
    }

    #section2 #section2Left p {
        font-size: 15px;
    }


    #section3 h1 {
        font-size: 30px;
    }

    #section3 p {
        font-size: 15px;
        text-align: center;
    }


    #section4 #section4Heading h1 {
        font-size: 30px;
    }

    #section4 #cardContainer #card {
        height: 480px;
    }

    #section4 #cardContainer #card h1 {
        font-size: xx-large;
        padding-left: 5%;
    }

    #section4 #cardContainer #card p {
        font-size: medium;
        padding-left: 5%;
    }

    #footer #footerLogo {
        height: 100px;
    }

    #footer img {
        width: 150px;
    }
}