/* For images */
.image-container {
    position: relative;
    height: 100vh;
    overflow: hidden; 
}

.about-image{
    width: 100%;
    object-fit: cover;
}

.branding {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    font-size: 34px;
    font-weight:700;
}

.shrink-image {
    max-width: 120px;
    max-height: 150px;
    margin-bottom:100px;
    margin-top:40px;
}

.about-text{
    margin-top:100px;
    text-align: center;
    width:auto;
}

/* About us text */
.about-text p{
    font-size:20px;
    width:1000px;
    margin: 0 auto;
}

.promise-text{
    margin-top:100px;
    text-align: center;
    width:auto;
}

.promise-text p{
    font-size:20px;
    width:1000px;
    margin: 40px auto;
}

/* slider part */
.slider-background{
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: transparent;
    margin-top:0px;
    margin-bottom:0px;
    padding: 0;
    position: relative;
    height: 80vh;
    display:block;
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    top: 0;
    left: 0;
}

.slider-bottom {
    width: 100%;
    margin: 0 -150px;
    padding: 0 150px;
    position: relative;
    background:transparent;
}

.slider-bottom-text {
    margin: -20px 0;
    display: none;
    animation: slideIn 3s ease-in-out forwards;
}

.text-below-box{
    text-align:center;
    font-size: 20px;
    color: ghostwhite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Slide in animation */
@keyframes slideIn {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(33%);
    }
}

.slider-bottom-text:first-child {
    display: block;
}

/* Dots for slider */
.dots-container {
    text-align: center;
    margin-top: 30px;
}

.dot {
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.dot:hover {
    background-color: #717171;
}

.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) {
    .image-container {
        height: 70vh;
    }

    .about-image{
        height:100%;
    }

    .branding {
        font-size: 24px; 
    }

    .about-text p{
        font-size:16px;
        width:300px;
    }
    
    .promise-text p{
        font-size:16px;
        width:300px;
    }

    .shrink-image {
        max-width: 80px;
        max-height: 100px; 
        margin-bottom: 50px; 
        margin-top: 20px;
    }

    .slider-background {
        height: 80vh; 
    }

    .slider-bottom {
        margin: 0;
        padding: 0; 
    }

    .slider-bottom-text {
        font-size: 18px;
        margin-right:110px;
    }

    .text-below-box {
        font-size: 16px;
    }

    .dots-container {
        margin-top: 20px; 
    }

    .dot {
        height: 10px;
        width: 10px;
        margin: 0 3px; 
    }
}
