@import url('styles.css');

#description {
    background-color:white;
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    padding: 25px;
    height: 100%;
    border-radius: 15px;
    justify-content: center;
    width: 65%;
    margin: auto;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

#description img {
    max-width: 300px;
    min-width: 299px;
    height: auto;
    border-radius: 20px;
}


#text-container {
    width: 60%;
}

#text-container h1 {
    margin: 0;
    text-align: center;
    padding-bottom: 20px;
}

#text-container div {
    font-size: 1.4em;
    text-align: justify;
}

#description-container {
    padding: 30px;
    animation: reveal 0.3s forwards;

}

#container {
    background-color: white;
    width: 100%;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    animation: reveal 0.3s forwards;

}

#image-container {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin: auto;
    max-width: 1200px;
    height: 450px;
}

.carousel {
    width: 80%;
    overflow: hidden;
    border-radius: 10px;
    margin: auto;
}

.image-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.image-track img {
    height: 390px;
    object-fit: contain;
    margin: 0 10px;
    border-radius: 15px;
    background-color: black;
}


.arrow {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    padding: 15px;
    font-size: 32px;
    border-radius: 50%;
    transition: 0.3s;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}

.left {
    left: 15px;
}

.right {
    right: 10px;
}

#content {
    margin: 30px auto 0px auto;
    background-color: white;
    border-radius: 10px;
    padding: 10px;
    font-size: 1.2em;
    text-align: center;
    width: 350px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1111px) {
    .carousel {
        width: 70%;
    }
}

@media (max-width:1444px) {
    #text-container {
        width: 89%;
    }
    .arrow {
        font-size: 22px;
    }
}
 
@media (max-width:700px) {
    #description {
        flex-direction: column;
        align-items: center;
        /* gap: 30px; */
        width: 85%;
    }
    #text-container {
        padding: 0;
        text-align: center;
        margin: 0;
    }
    #description-container {
        padding: 30px 0;
    }
    #description img {
        height: 40%;
        width: 70%;
    }   
    .image-track img {
        object-fit: contain;
        object-position: 10%;
    }
}