@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: 650px;
    /* 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: 70px;
    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);
    /* border: 2px solid red; */
    display: flex;
}

#section2 #section2Left,
#section2Right {
    width: 50%;
    height: 100%;
    /* border: 2px solid yellow; */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

#section2 #section2Left img {
    width: 90%;
    height: 90%;
    object-fit: cover;
    border-radius: 20px;
}

#section2 #section2Right {
    flex-direction: column;
    justify-content: center;
    align-items: start;
}

#section2 #section2Right h1 {
    font-size: 50px;
    padding-left: 3%;
}

#section2 #section2Right p {
    font-size: 20px;
    padding-left: 2%;
}

#section2 #section2Right button {
    width: 150px;
    height: 40px;
    border-radius: 10px;
    border: none;
    background-color: rgb(242, 202, 44);
    margin-left: 2%;
    margin-top: 2%;
    cursor: pointer;
}

#section2 #section2Right button a {
    color: rgb(17, 24, 39);
    text-transform: uppercase;
    font-size: 18px;
    text-decoration: none;

}

.carousel-item img{
    height: 500px;
    object-fit: cover;
}


#footer {
    width: 100%;
    height: 200px;
    background-color: rgb(22, 21, 19);
    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 {
        width: 100%;
        height: 500px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #section1 #subSection1 {
        width: 100%;
    }

    #section1 #subSection1 h1 {
        font-size: 32px;
    }

    #section1 #subSection1 p {
        font-size: 20px;
    }


    #section2 {
        height: 750px;
        flex-direction: column;
    }

    #section2 #section2Left img {
        border-radius: 15px;
    }

    #section2 #section2Left,
    #section2Right {
        width: 100%;
    }

    #section2 #section2Right h1 {
        font-size: xx-large;
    }

    #section2 #section2Right p {
        font-size: small;
    }

    #section2 #section2Right button {
        width: 95%;
    }

    .carousel-item img{
        height: 300px;
        object-fit: cover;
    }

    #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 {
        width: 100%;
        height: 500px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #section1 #subSection1 {
        width: 100%;
    }

    #section1 #subSection1 h1 {
        font-size: 40px;
    }

    #section1 #subSection1 p {
        font-size: 17px;
    }


    #section2 {
        flex-direction: column;
        height: 950px;
    }

    #section2 #section2Left img {
        border-radius: 15px;
    }

    #section2 #section2Left,
    #section2Right {
        width: 100%;
    }

    #section2 #section2Right h1 {
        font-size: xx-large;
    }

    #section2 #section2Right p {
        font-size: small;
    }

    #section2 #section2Right button {
        width: 35%;
    }

    .carousel-item img{
        height: 400px;
        object-fit: cover;
    }

    #footer #footerLogo {
        height: 100px;
    }

    #footer img {
        width: 150px;
    }
}