* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    background-color: #161616;
    /* min-height: fit-content; */
    color: #e0e0e0;
}

main {
    padding: 2em 0 4em;
}

.header-container {
    text-align: center;
    margin-bottom: 30px;
    cursor: pointer;
    text-decoration: none;

}

.header-container:hover {
    animation: titleGlow 1s forwards;
}

.back {
    cursor: pointer;
    font-size: 50px;
    color: white;
    text-decoration: none;
    padding: 10px;
    position: absolute;
    top: 10px;
    left: 10px;
    text-shadow: 0px 0px 10px rgb(78, 78, 78);
}

h1 {
    font-family: "Inter", sans-serif;
    color: #ffffff;
    font-weight: 900;
    font-size: 45px;
    margin: 0;
}

h2 {
    font-family: "Inter", sans-serif;
    color: #cccccc;
    font-weight: 400;
    font-size: 13px;
}

.sub-container {
    margin: 0 auto;
}

.in-sub-container {
    box-shadow: 0 0 10px rgb(26, 155, 133);
    background-color: rgb(37, 37, 37);
    border-radius: 20px;
    margin: 20px auto;
    display: flex;
    align-items: center;
    max-width: 300px;
    justify-content: center;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
}

.container {
    box-shadow: 0 0 30px rgb(92, 92, 92);
    background-color: rgb(37, 37, 37);
    border-radius: 40px;
    width: calc(100% - 20px);
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    gap: 15px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.3s ease-in-out;
    margin-bottom: 30px;
}

.container-group {
    display: flex;
    flex-direction: row;
    gap: 30px;
    padding: 0 20px;
    max-width: 940px;
    margin: 0 auto;
    justify-content: center;
}

.maxed {
    width: calc(100% - 50px);
    max-width: 850px
}

.subtitle {
    font-family: "Roboto Slab", serif;
    word-spacing: 2px;
    color: white;
    font-size: 15px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

.text {
    font-family: "Inter", sans-serif;
    color: white;
    word-spacing: 2px;
    font-size: 15px;
    width: 100%;
    text-align: left;
}

.text2 {
    font-family: "Inter", sans-serif;
    color: white;
    word-spacing: 2px;
    font-size: 15px;
    word-wrap: break-word;
    width: 100%;
    text-align: center;
}

.text3 {
    font-family: "Roboto Slab", serif;
    color: white;
    word-spacing: 2px;
    font-size: 25px;
    font-weight: 900;
    text-align: center;
}

ul {
    padding-left: 20px;
}

li {
    margin-bottom: 10px;
}

.info-link {
    color: #5a9cff;
    font-weight: bold;
    /* text-decoration: none; */
    text-decoration-color: #003cff;
}

.slideshow-container {
    max-width: 500px;
    position: relative;
    margin: auto;
    transition: 0.6s ease;
    width: calc(100% - 20px);
}

.slideshow-container img,
.slideshow-container video {
    border-radius: 40px;
    max-width: 500px;
    width: calc(100% - 10px);
    /* min-width: 350px; */
    /* max-height: 400px; */
    /* min-width: 100px; */
    margin: 40px auto;
    padding: 2px;
    box-shadow: 0 0 30px var(--glow-color, rgb(92, 92, 92));
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    padding: 16px;
    color: rgb(163, 163, 163);
    font-weight: bold;
    font-size: 18px;
    transition: 0.3s ease;
    user-select: none;
    transform: translateY(-50%);
}

.prev {
    left: 0px;
}

.next {
    right: 0;
}

.prev:hover,
.next:hover {
    transform: translateY(-50%) scale(2);
    color: white;
}

.mega {
    top: 36%;
}

.fade {
    animation-name: fade;
    animation-direction: alternate;
    animation-duration: 0.9s;
}

.contact-icon {
    vertical-align: middle;
    width: 24px;
    height: 24px;
    margin-right: 5px;
    border-radius: 50%;
    margin-bottom: 4px;
}

.contact-link {
    text-decoration: underline;
    color: #5a9cff;
}

.anchor {
    text-decoration: none;
    color: #5a9cff;
}

.sub-text {
    font-weight: 900;
    font-size: 20px;
    margin-bottom: -24px;
}

.box {
    font-size: 15px;
    color: #d6d6d6;
    border-radius: 10px;
    outline: 1px solid #ffffff;
    outline-offset: 1px;
    padding: 2px;
}

.spacer {
    height: 50px;
}


@keyframes fade {

    0%,
    100% {
        box-shadow: 0 0 30px var(--glow-color);
    }

    50% {
        box-shadow: 0 0 50px var(--glow-color);
        filter: blur(3px);
    }
}

@keyframes titleGlow {

    0%,
    100% {
        text-shadow: 0 0 10px rgb(0, 0, 0);
    }

    50% {
        text-shadow: 0px 0px 10px rgb(255, 255, 255);
    }
}

.mySlides {
    display: none;
}

@media (max-width: 800px) {
    .maxed {
        max-width: 500px;
    }

    .container-group2 {
        /* flex-direction: column; */
        text-align: center;
        gap: 5px;
    }

    .container-group {
        flex-direction: column;
        text-align: center;
        gap: 0px;
    }

    .container-group.reverse {
        flex-direction: column-reverse;
    }

    h1 {
        font-size: 35px;
    }

    .header-container {
        margin-bottom: 0px;
    }
}

footer {
    background-color: #313131;
    box-shadow: 0px -5px 30px #414141;
    color: white;
    font-size: 14px;
    position: relative;
    width: 100%;
    text-align: center;
}