@font-face {
    font-family:Boreal;
   src: url(../fonts/boreal-light-TRIAL.otf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

* > p, li {line-height: 2;}

main {
    font-family: "Montserrat", sans-serif;
    margin: 3rem 10vw;
    min-width: 250px;
    font-size:1.3rem;
}

main h2, h3, h4 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.active{
    background-color: #b3ae9b44;
}

/*Hero image styling*/
.hero-img {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-img img {
    overflow: hidden;
    width: 100%;
    height: inherit;
    object-fit: cover;
}

.hero-img h1 {
    position: absolute;
    pointer-events: none;
    top: 40%;
    left:2%;
    right:2%;
    margin: auto;
    font-family: Boreal;
    text-transform: uppercase;
    letter-spacing: 10px;
    color: #FFFFFF;
    text-align: center;
    z-index: 2; 
    font-size:5vw;
    /* font-size:1.5rem; */
}

.btn {
    font-family: "Montserrat", sans-serif;
    text-decoration: none;
    font-weight: 600;
    color: aliceblue;
    background-color: #B3AE9B;
    border: 0px solid #B3AE9B;
    padding: 15px;
    border-radius: 5px;
    max-width: 10em;
    text-align: center;
    font-size: max(15px,1.25vw);
}

div.hero-img .btn {
    position: absolute;
    top: 60%;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
    min-width: 10em;
    z-index: 2; 
}

.btn:hover {
    background-color: #9E9379;
    cursor: pointer;
}

.carousel {
    width: 100%;
    height: 100vh; /* Adjust height as needed */
    overflow: hidden;
    position: relative;
}

.carousel-item {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.25);
    z-index: 2; 
}

@media screen and (min-width: 760px) {
    .hero-img h1 {
        top: 35%;
        font-size: 2.5vw;
    }

    /* * > p, li,figcaption {font-size: ;} */

    /* .hero-img img {
        max-height:40em;
    } */

    /* div.hero-img .btn {
        top: 70%;
    } */
}

@media screen and (min-width: 1100px) {

    /* main h2, h3 , h4 { font-size: 2rem; } */

    /* * > p, li {line-height: 2; font-size: 25px;} */

    /* .hero-img h1 {
        top: 40%;
    } */

    /* div.hero-img .btn {
        top: 70%;
    } */

}