@keyframes hover-up {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}
@keyframes hover-right {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

#hero {
    height: 60vh;
    position: relative;
    isolation: isolate;
    padding: 40px 0;
}
#hero .text {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
    padding-top: 15px;
}
#hero .text div {
    width: 300px;
    padding: 40px;
}
body.dark #hero .text div {
    --clr-background-blacker: rgba(00, 00, 00, 0.67);
}
#hero .text h1 {
    font-size: 5em;
    margin: 0;
    letter-spacing: -2px;
}
#hero .text p {
    margin: 0;
}
#hero .text a {
    margin-top: 15px;
    border-color: var(--clr-accent);
    border-width: 3px;
    font-weight: normal;
    color: currentColor;
}
#hero .images {
    isolation: isolate;
    position: absolute;
    inset: 0;
}
#hero .images>img:nth-child(1) {
    height: 90%;
    border-radius: 16px;
    top: 15px;
    right: 60px;
    position: absolute;
    animation: hover-right 5s ease-in-out infinite;
}
#hero .images>img:nth-child(2) {
    height: 50%;
    border-radius: 16px;
    right: 0;
    bottom: 0;
    position: absolute;
    animation: hover-up 5s ease-in-out infinite;
}
@media screen and (max-height: 590px) {
    #hero .text h1 {
        font-size: 3em;
    }
    #hero .text div {
        padding: 30px;
    }
}
@media screen and (max-width: 430px) {
    #hero .text h1 {
        font-size: 4em;
    }
    #hero .text div {
        width: 250px;
    }
}

#dates-and-events {
    padding-top: 100px;
}
#dates-and-events h1 {
    margin: 0 0 30px 0;
}
#dates-and-events>.wrapper {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
#dates-and-events .wrapper:nth-child(3) a {
    color: currentColor;
    font-weight: normal;
}
#dates-and-events .wrapper div {
    flex: 1;
    min-width: 250px;
}
#dates-and-events .wrapper h2 {
    margin: 0;
}
#dates-and-events .wrapper p {
    margin: 5px 0 0 0;
}

#useful-links {
    padding-top: 100px;
}
#useful-links h1 {
    margin: 0 0 30px 0;
}
#useful-links h3 {
    margin: 0;
}
#useful-links .wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
#useful-links .wrapper a {
    flex: 1;
    display: flex;
    position: relative;
    color: currentColor;
    min-width: 280px;
}
#useful-links .wrapper a svg {
    position: absolute;
    right: 30px;
}