:root {
    --responsive-size: 740px;
}

.container {
    max-width: 1100px;
    margin: auto;
}

.title-box {
    width: 100%;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
    overflow: hidden;
}

.title-box .dasher {
    display: block;
    width: 100px;
    height: 3px;
    position: relative;
    transform: translateX(calc(10px * 3 + 6px));
    background-image: linear-gradient(to right, #d9905833, #fff);
}

.title-box .dasher .circle::after,
.title-box .dasher .circle::before,
.title-box .dasher .circle {
    content: '';
    height: 10px;
    width: 10px;
    border-radius: 100%;
    position: absolute;
    display: block;
    top: 50%;
    transform: translateY(-50%);
    background-color: #d9905833;
    left: -13px;
}

.title-box .dasher .circle::after {
    left: -26px;
    background-color: #d99058;
}

.title-box .dasher .circle::before {
    left: -13px;
    background-color: #d9905880;
}

.title-box .title {
    font-weight: 700;
    font-size: 26px;
    margin: 0;
}

.description-box {
    display: flex;
}

.description-box .description {
    font-weight: 300;
    font-size: 22px;
    text-align: justify;
    padding: 0 60px;
}

#video {
    margin-top: 25px;
}

.video-box {
    width: fit-content;
    margin: auto;
    --max-width: 85%;
    --max-height: 85vh;
    max-width: var(--max-width);
    max-height: var(--max-height);
    border-radius: 100px;
    overflow: hidden;
    background-color: #f0eeec;
}

.video {
    width: 100%;
    height: 100%;
}

#gallery {
    margin-top: 25px;
    display: grid;
    justify-items: center;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.photo-box {
    width: 95%;
    height: auto;
    aspect-ratio: 16 / 9;
    position: relative;
}

.photo-box::before {
    content: '';
    display: block;
    position: absolute;
    width: 8px;
    height: 8px;
    background: #d99058;
    left: -14px;
    bottom: -10px;
    border-radius: 8px;
}

@media (min-width: 740px) {
    .photo-box:nth-of-type(3n)::before {
        content: none;
    }

    .photo-box:nth-last-of-type(1):before,
    .photo-box:nth-last-of-type(2):before,
    .photo-box:nth-last-of-type(3):before {
        content: none;
    }
}

.photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 9999px;
}


@media screen and (max-width: 740px) {
    .container {
        max-width: calc(100vw - 24px);
    }

    #gallery {
        grid-template-columns: 1fr 1fr;
    }

    .photo-box:nth-of-type(2n)::before {
        content: none;
    }

    .photo-box:nth-last-of-type(1):before,
    .photo-box:nth-last-of-type(2):before {
        content: none;
    }
}