@import "projects.css";
@import "about.css";

/* Home Page */

/* Intro */
.intro {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 1130px;
    min-height: 32rem;
    align-items: center;
    justify-content: space-between;
}

.intro .text-block {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 555px;
    gap: 3rem;
}

.intro .photo-block {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    width: 100%;
    max-width: 32rem;
}

.intro .photo-block .photo {
    position: relative;
    width: 32rem;
    height: 32rem;
    background-image: url(../../images/venus-de-milo/VenusDeMilo.png);
    background-size: cover;
    transition: background-image 10s ease-in-out;
}

.intro .photo-block .under-photo:hover ~ .photo {
    background-image: url(../../images/venus-de-milo/VenusDeMilo-pink.png);
    background-size: cover;
}

.speckled-photo {
    .line {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        position: relative;
        align-self: stretch;
        width: 100%;
        flex: 0 0 auto;
    }

    .dot {
        position: relative;
        width: 4px;
        height: 4px;
        background-color: var(--gray);
        border-radius: 2px;
    }

    .dots-1, .dots-2, .dots-3 {
        display: flex;
        flex-direction: column;
        width: 84px;
        height: 84px;
        align-items: flex-start;
        justify-content: space-between;
        position: absolute;
    }

    .dots-1 {
        top: 90px;
        left: 368px;
    }

    .dots-2 {
        top: 338px;
        left: 70px;
    }

    .dots-3 {
        top: 398px;
        left: 308px;
    }
}

.intro .photo-block .under-photo {
    display: flex;
    width: 23rem;
    padding: 0.5rem 1rem;
    align-items: center;
    gap: 0.5rem;
    border-radius: 10px;
    border: 1px solid var(--gray);
    cursor: default;
    transition: all 0.5s;
}

.intro .photo-block .under-photo .point {
    width: 1rem;
    height: 1rem;
    border-radius: 3px;
    border: 1px solid var(--gray);
    background: var(--purple);
    transition: 0.5s;
}

.intro .photo-block .under-photo span {
    color: var(--white);
    transition: 0.5s;
}

.intro .photo-block .under-photo:hover .point {
    background: var(--gray);
}

.intro .photo-block .under-photo:hover span {
    color: var(--purple);
}

.intro .photo-block .under-photo:active {
    border-color: var(--purple);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .intro .photo-block {
        position: absolute;
        opacity: 10%;
        width: 18rem;
        right: 0;
    }

    .intro .photo-block .photo {
        width: 100%;
    }

    .photo .dots-1, .photo .dots-2, .photo .dots-3 {
        display: none;
    }

    .intro .photo-block .under-photo {
        display: none;
    }
}
