.background-img{
    background-image: url('/FED_Assignment_2/images/black-white-minimal-portrait.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: transparent;
    margin: 0;
    padding: 0;
    position: relative;
    height: 120vh;
    display:block;
}

/* Button inside the background image */
.button{
    padding-right: 60px;
    padding-left: 60px;
    padding-top: 14px;
    padding-bottom: 14px;
    background-color: rgb(255, 255, 255);
    font-size: 20px;
    border: none;
    border-radius:5px;
    position:absolute;
    color: black;
    top: 73%;
    left: 10.5%;
    transform: translate(-50%); 
    transition: color 0.3s ease; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    font-weight: 600;
}

.button:hover {
    color:black;
}

/* Text inside background image */
.text_above_button{
    text-align:center;
    font-size: 24px;
    color: whitesmoke;
    position: absolute;
    top:62%;
    left: 25%;
    transform: translate(-50%);
}

.men-video-background {
    position: relative;
    margin-top:150px;
    height: 90vh;
    overflow: hidden; /* Hide overflowing content */
}

/* Style the video to cover the entire container */
.men-video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

/* Position text in the middle of the background */
.men-video-background h1{
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 50px;
    font-family: verdana
}

/*Women.html*/
.women-background-img{
    background-image: url('/FED_Assignment_2/images/pisces-portrait-beautiful-woman.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: transparent;
    margin: 0;
    padding: 0;
    position: relative;
    height: 120vh;
    display:block;
}

/* Button inside the background image */
.button{
    padding-right: 60px;
    padding-left: 60px;
    padding-top: 14px;
    padding-bottom: 14px;
    background-color: rgb(255, 255, 255);
    font-size: 20px;
    border: none;
    border-radius:5px;
    position:absolute;
    color: black;
    top: 73%;
    left: 10.5%;
    transform: translate(-50%); /*align the button to the center*/
    transition: color 0.3s ease; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    font-weight: 600;
}

.button:hover {
    color:black;
}

/* Text inside background image */
.text_above_button{
    text-align:center;
    font-size: 24px;
    color: whitesmoke;
    position: absolute;
    top:62%;
    left: 25%;
    transform: translate(-50%);
}

.women-video-background {
    position: relative;
    margin-top:150px;
    height: 90vh;
    overflow: hidden; /* Hide overflowing content */
}

/* Style the video to cover the entire container */
.women-video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Position text in the middle of the background */
.women-video-background h1{
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 50px;
    font-family: verdana
}


.scrollable-container {
    overflow-x: auto;
    white-space: nowrap;
    padding: 20px 0;
    width:1350px;
}
  
.box {
    display: inline-block;
    width: 300px;
    margin-right: 50px; 
    text-align: center;
}

.box img {
    max-width: 100%;
    height: auto;
}


.custom-image-container {
    position: relative;
    padding-bottom: 30%; 
    overflow: hidden;
    margin-bottom:20px;
}

/* Style for the image to fill the container */
.custom-image-container img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor:pointer;
}

.custom-image-container img:hover {
    transform: scale(1.05); 
}

#lottie{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    height: 100vh;
    width: 100%;
    position:fixed;
    z-index: 100;
}



@media screen and (max-width: 500px) {
    .background-img,
    .women-background-img {
        height: 70vh; 
    }

    .button {
        padding-right: 40px;
        padding-left: 40px;
        padding-top: 10px;
        padding-bottom: 10px;
        font-size: 16px; 
        top: 60%; 
        left: 50%;
        transform: translateX(-50%);
        font-weight: 500; 
    }

    .text_above_button {
        font-size: 18px; 
        top: 50%; 
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .men-video-background,
    .women-video-background {
        margin-top: 50px; 
        height: 50vh; 
    }

    .men-video-background h1,
    .women-video-background h1 {
        font-size: 28px; 
        top: 45%;
        margin-left:15px;
    }

    .scrollable-container {
        width: auto;
        height:400px;
    }

    .box {
        width: 200px;
        margin-right: 20px; 
        height:300px;
    }
    .box img{
        height:340px !important;
    }

    .custom-image-container {
        padding-bottom: 20%; 
        width: 300px !important;
        height:300px;
    }

    .custom-image-container img{
        width: 100%;
        height: 100%;
    }
}