@font-face {
    font-family: "museo-sans-500";
    src: url('fonts/museo-san-500.otf') format('truetype');
}




/* ===================================================
SECTION 1: Global Styles
=================================================== */


body {

    margin: 0;
    padding: 0;
    background-image: url(images/bck2.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    overflow-x: hidden;
}
.advert {
    font-family: "museo-sans-500";
    font-size: 2vw;
    color: #fff;
    margin: 0;
    border: 0;
    padding-bottom: 20px;
    padding-top: 10px;
    text-align: center;
}

    .advert img {
        width: 360px;
        height: 88.333px;
    }



/* ===================================================
SECTION 2: Font Styles
=================================================== */
h2 {
    font-family: "museo-sans-500";
    font-size: 6vw;
    color: #fff;
    margin: 0;
    border: 0;
    padding-bottom: 20px;
    padding-top: 10px;
    text-align: center;
}


h3 {
    margin: 0;
    font-size: 4vw;
    color: rgb(237, 0, 0);
    display:flex;
    justify-content:center;
    text-align:center;
}

h2, h3 {

  text-align: center; /* Centers the text horizontally */
  padding-top: 15px;
}

p{
    font-size: auto;
}
/* ===================================================
SECTION 3: Paragraph Styles
=================================================== */

.p2 {
    font-family: "museo-sans-500";
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    color: black;
    padding: 2%;
    background-color: rgba(255,240,240, 0.6);
}

.p2 b {
    text-shadow: black 1px;
    color:green;
}

.p2 a:hover {
    color:rgb(255, 0, 0);
}

.p2 a {
    color:rgb(0, 0, 0);
    text-decoration: none;
}


/* ===================================================
SECTION 4: Video Player Styles
=================================================== */
#videoContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

video {
    width: 80vw;
    height: auto;
    display: block;
    margin: 0 auto;
    border: 2vh double #fff;
    border-radius: 30%;
    border-bottom: 30%;
    margin-bottom: 0;
}

/* ===================================================
SECTION 5: Footer Styles
=================================================== */

footer {
    background-color: #333;
    color: #fff;
    padding: 10px;
    text-align: center;
    font-family: "museo-sans-500";
    margin-top: auto;
}
/* ===================================================
SECTION 6: Container Styles
=================================================== */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60%; /* Reduced from 100vh to 80vh */
    width:100%;
    padding:auto;
    
}

/* ===================================================
SECTION 7: Carousel
=================================================== */
.owl-carousel {
    position: relative; /* Change to absolute or relative depending on your layout requirements */
    top: 0;
    left: 0;
    width: 100vw ;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(images/bck2.jpg);
    background-color: #000000;
    z-index: 999;
    padding: 10px 15px 1px 15px;
}

.carousel {
    height: 600px; /* increase this value as per your requirement */
  }

  .carousel img {
    max-width: 100%;
    height: auto;
    width: auto; /* IE8 */
  }

.owl-carousel .item {
    margin-left:0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 70%;
    height: 375px; /* added this */
    overflow: hidden; /* Add this to hide any parts of the image that do not fit in the container */
}

    .owl-carousel .item h2 {
        margin-top: 5%;
        font-size: 22px;
        margin-bottom: 5%;
        padding-bottom: 10px;
        color: rgb(198, 0, 0);
        background-color: rgba(255,240,240, 0.6);
        text-decoration: none;
    }

    .owl-carousel .item p2 {
        display: flex;
        justify-content: center;
        font-size: 24px;
        color: #000000a1;
        text-decoration: none;
    }

.owl-carousel .owl-item.active.center {
    z-index: 100;
    max-width: 50% !important;
}

.owl-carousel .owl-item.active {
    max-width: 60% !important;
    transition: all 0.3s ease;

}

/* Universal Item Image Size */
.owl-carousel .item img {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    object-fit: cover; /* change to cover from contain */
}

.product{
    margin:0;
    display:block;
    flex-direction:column;
    justify-content: center;
    text-align: center;
    

}

/* ===================================================
SECTION 8: Responsive Media Queries
=================================================== */

/* Small screens (up to 480px) */
@media only screen and (max-width: 480px) {
    video {
        width: 80%;
    }
    
    .p2 {
        max-width: 70%;
        
    }
    
    /* .container {
        padding-top: 10vh; 
    } */

    .product{
    text-align:center;
    display:flex;
    flex-direction:column;
    justify-content: center;
    align-items: center;
    
    }
    
    
    .owl-carousel .item {
        padding: 15%; /* Add padding to ensure the text doesn't touch the edge */
        display: flex;
        justify-content: center;
        align-items: center;
        margin:0;
        
    }
    
    .owl-carousel .item h2 {
        font-size: 3.5vw; /* Adjust font size to scale with viewport width */
        color: black;
        text-shadow: none;
    }
    
    .owl-carousel .item h3 {
        font-size: 2vw; /* Adjust font size to scale with viewport width */
    }
    
    .owl-carousel .item .p2 {
        font-size: 2.5vh; /* Adjust font size to scale with viewport width */
        color: red;
        text-shadow: none;
    }
    
    
    .owl-carousel .item img {
        max-width: 100%;
        height: auto;
        width: auto\1; /* IE8 */
    }

    .owl-carousel{
        display:flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        max-width: 90%;
        height: auto;
        width: auto\1; /* IE8 */
        margin:0;
    }
    .owl-carousel .p2 {
        max-width: 100%;

    }
}

/* Medium screens (481px to 768px) */
@media only screen and (min-width: 481px) and (max-width: 768px) {
    video {
        width: 60%;
    }

    .p2 {
        max-width: 80%;
    }

    .container {
        padding-top: 5vh; 
        margin:0;
    }

    .product {
        text-align:center;
        display:flex;
        flex-direction:column;
        justify-content: center;
        align-items: center;

    }

    .owl-carousel .item {
        
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .owl-carousel .item h2 {
        font-size: 3vw; /* Adjust font size to scale with viewport width */
        color: black;
        text-shadow: none;
    }

    .owl-carousel .item h3 {
        font-size: 2vw; /* Adjust font size to scale with viewport width */
    }

    .owl-carousel .item .p2 {
        font-size: 2vh; /* Adjust font size to scale with viewport width */
        color: red;
        text-shadow: none;
    }

    .owl-carousel .item img {
        max-width: 90%;
        height: auto;
        width: auto\1; /* IE8 */
    }

    .owl-carousel {
        display:flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        max-width: 80%;
        height: auto;
        width: auto\1; /* IE8 */
    }
    .owl-carousel .p2 {
        max-width: 90%;
    }
}

/* Large screens (769px and above) */
@media only screen and (min-width: 769px) {
    .container {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .owl-carousel {
        max-width: 100%; /* Adjust this to whatever maximum width you desire */
        margin: auto; /* Auto margins are used to center block elements */
        max-height: 100vh; /* Adjust this to your desired maximum height */
        box-sizing: border-box; /* Include padding and border in the element's total width and height */
    }
    
    .owl-carousel .item {
        padding: 10%; /* Add padding to ensure the text doesn't touch the edge */
    }

    .owl-carousel .item img {
        max-height: 70%; /* Adjust the value as needed */
    }

    .owl-carousel .p2 {
        font-size:3vh;

    }
}

.etsy {
    width: 740px;
    font-family: "museo-sans-500";
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-weight:bold;

    font-size:xx-large;
    padding: 1%;
    background-color: rgba(255,240,240, 0.6);
}