@import url('https://fonts.googleapis.com/css2?family=Fredoka');
:root {
    --background: #fff0f5;
    --headerBackground: #fff;
    --headerText: #000;
    --text: #333;
    --contentBackground: rgb(255, 183, 197, 0.8);
    --accent: #ff69b4;
    --darkAccent: #ff1493;
}

body {
    font-family: 'Fredoka', sans-serif;
    background-color: var(--background);
    color: var(--text);
    margin: 0;
    padding: 0;
    background: url("assets/cherryblossom.png") no-repeat;
    background-position: -50px 15vh;
    background-attachment: fixed;
    background-size: contain;
}

header {
    background: var(--headerBackground);
    color: var(--headerText);
    height: 15vh;
    min-height: 4em;
    position: relative;
    display: grid;
    align-items: center;
    grid-template-columns: 1fr auto 1fr;
}

.mari {
    height: 4em;
    justify-self: center;
}

.mari img {
    height: 100%;
    width: auto;
}

.social-icons {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 10px;
}

.social-icons img {
    width: 40px;
}

h1 {
    font-size: 3em;
}

.content {
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
    background-color: var(--contentBackground);
}

.discord-link {
    display: inline-block;
    padding: 15px 25px;
    background-color: var(--accent);
    color: white;
    text-decoration: none;
    font-size: 1.5em;
    border-radius: 10px;
    margin: 20px 0;
}

.discord-link:hover {
    background-color: var(--darkAccent);
}

.calendar {
    margin-top: 20px;
}

iframe {
    width: 100%;
    height: 600px;
    border: none;
}


footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--headerBackground);
}

footer div:first-child {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

footer div:last-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    flex-grow: 1;
}

footer img {
    height: 69px;
    width: auto;
}

footer p {
    margin: 5px 0;
}

@media (max-width: 768px) {
    header {
        grid-template-columns: 1fr auto;
        text-align: center;
    }

    .mari {
        height: 3em;
    }

    h1 {
        font-size: 2em;
        text-align: center;
    }

    .social-icons {
        position: absolute;
        top: 5px;
        right: 5px;
        display: flex;
        gap: 5px;
    }

    .social-icons img {
        width: 25px;
    }
}


.cover {
    height: 80vh;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.content img {
    max-height: 100%;
    min-width: 100%;
}

.bottom-left {
    width: 100%;
    z-index: 100;
    bottom: 0px;
    left: 0px;
    position: absolute;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.5);
}

.bottom-left-content {
    padding-left: 20px;
}

a {
    text-decoration: none;
}



.carousel img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel img.active {
    opacity: 1;
}

a#to-slugcon {
    z-index: 1000;
    position: fixed;
    bottom: 20px;
    right: 20px;
    animation: mariShake 5s infinite;
    img {
        min-width: 0;
        width: 250px;
        height: auto;
    }
}

@keyframes mariShake {
    0% {
        transform: rotate(0deg);
    }
    5% {
        transform: rotate(5deg);
    }
    10% {
        transform: rotate(-5deg);
    }
    15% {
        transform: rotate(5deg);
    }
    25% {
        transform: rotate(0deg);
    }
}
