.line {
    width: 80vw;
    margin: 1rem 0 1rem 0;
    border: solid 1px var(--color2);
}

.main-container {
    width: 90vw;
    margin-top: 5vh;
    margin-left: 10vw;
    height: auto;
}

#text,
.main-container {
    opacity: 0;
    transition: opacity 1s ease-in;
}

.hidden-div {
    display: none;
}

.expanded {
    display: block;
}

h1 {
    display: flex;
    justify-content: space-between;
    width: 80vw;
    font-size: 1.4rem;
    font-weight: 200;
    transition: 0.2s ease;
    color: var(--color5);
}

.star {
    font-weight: 400;
    background: linear-gradient(45deg, var(--color2), var(--color5), var(--color2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200px auto;
    background-clip: text;
    animation: slide 10s linear infinite;
}

@keyframes slide {
    to {
        background-position: 200% center;
    }
}

h1:hover {
    transform: translateY(-3px) translatex(3px) scale(1.005);
}

p {
    text-align: justify;
    font-weight: 300;
    width: 50vw;
    max-width: 80vw;
    color: var(--color4);
    font-size: .9rem;
}

a {
    color: var(--color3);
    font-size: .9rem;
}

a:hover {
    color: var(--color5);
}

.content-menu {
    margin: 2rem 0;
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    padding: 0;
    gap: 1rem;
    max-width: 80vw;
}

.content-menu-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 9rem;
    height: 3rem;
    background-color: var(--color1);
    color: var(--color3);
    text-align: center;
    box-sizing: border-box;
    text-decoration: none;
    font-size: .9rem;
}

.content-menu-item:hover {
    background-color: var(--color2);
    color: var(--color4);
}

.gif-frame {
    position: relative;
    width: 250px;
    margin: 0 0 1em 0;
}

.image {
    width: 250px;
    border-radius: .4em;
}

.image:hover {
    opacity: 1;
    transition: 1s ease-in-out;
}

.overlay-gif {
    position: absolute;
    top: 0;
    left: 0;
    filter: invert(0) contrast(300%) brightness(100%);
    mix-blend-mode: multiply;
    transition: 1s ease-in-out;
}

.gif-frame:hover .overlay-gif {
    opacity: 0;
    transition: 1s ease-in-out;
}

.contact {
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.contact-left,
.contact-right {
    flex: 1;
    min-width: 630px;
    box-sizing: border-box;
}

p {
    width: 90vw;
}

@media only screen and (max-width: 600px) {


    .main-container {
        margin-left: 10px;
    }

    p {
        max-width: 90vw;
    }

    .line {
        width: 90vw;
    }

    h1 {
        cursor: none;
        width: 90vw;
    }

    h1:hover {
        transform: none;
    }

    .content-menu {
        flex-wrap: wrap;
        width: 100vw;
    }

    .content-menu-item {
        width: auto;
        padding: 1rem;
    }

    .content-menu-item:hover {
        background-color: var(--color1);
        color: var(--color3);
    }
}