/** GENERAL STYLE */

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: Roboto, Arial, sans-serif;
    font-weight: 900;
    color: white;
    background-color: #000000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin-top: 0;
}

.header {
    text-align: center;
    padding: 32px;
}

.footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 24px 16px 32px;
    background-color: #000000;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

.left {
    text-align: left;
}

/** Voting page */

.voting-page {
    min-height: 100vh;
}

.background-image {
    background-image: url("/img/LOTL_ON_Background.jpg");
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    transform: scale(1.03);
}

.content {
    position: relative;
    z-index: 1;
    isolation: isolate;
    width: min(100% - 24px, 760px);
    margin: 0 auto 32px;
    padding: 8px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.4);
    border: 3px solid #f1f1f1;
    overflow: hidden;
}

.vote-frame {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 3000px;
    margin: 0 auto;
    border: 0;
    background-color: transparent;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    font-size: 26px;
    color: white;
    opacity: 1;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-links a:hover,
.social-links a:focus-visible {
    opacity: 0.7;
    transform: translateY(-1px);
}

.copyright {
    margin: 0 0 16px;
    color: white;
    text-align: center;
}

.legal-link {
    text-align: center;
}

.legal-link a {
    color: white;
    opacity: 1;
}

.legal-link a:hover,
.legal-link a:focus-visible {
    text-decoration: underline;
}

/* LOTL animations */

@keyframes fadeInUp {
    from {
        transform: translate3d(0, 40px, 0);
        opacity: 0;
    }

    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

@-webkit-keyframes fadeInUp {
    from {
        transform: translate3d(0, 40px, 0);
        opacity: 0;
    }

    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

/** Icons */
.fa-icons {
    padding: 20px;
    font-size: 30px;
    width: 30px;
    text-align: center;
    text-decoration: none;
    margin: 5px 2px;
    border-radius: 50%;
    color: white;
}

.fa-icons:hover {
    opacity: 0.7;
}

.fa-icons::before {
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

/** SINGLE PAGES */

.row {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
}

.column-2 {
    flex: 50%;
    max-width: 50%;
    padding: 0 4px;
}

.column-2 img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
}

.column-2 iframe {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
    height: 100%;
    max-height: 500px;
}

.spotify {
    margin-top: 8px;
    width: 100%;
}

.full-video {
    width: 100%;
    height: fit-content;
    min-height: 560px;
    max-height: 1000px;
    vertical-align: middle;
    margin: 8px;
    padding-top: 20px;
    padding-bottom: 10px;
    padding-right: 15px;
    border: none;
}

@media screen and (max-width: 800px) {
    .column-2 {
        flex: 100%;
        max-width: 100%;
    }
}

/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: black;
}

.modal-content {
    position: relative;
    background-color: black;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
}

.close {
    color: white;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
}

.mySlides {
    display: none;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

img.demo {
    opacity: 0.6;
}

.demo:hover {
    opacity: 1;
}

img.hover-shadow {
    transition: 0.3s;
}

.hover-shadow:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.links-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* LANDING PAGE */

.landingpage-content {
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    font-weight: bold;
    border: 3px solid #f1f1f1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 80%;
    padding: 20px;
    text-align: center;
}

@media (max-width: 600px) {
    .background-image {
        background-attachment: scroll;
        transform: scale(1.06);
    }

    .content {
        width: calc(100% - 12px);
        margin-bottom: 20px;
        padding: 3px;
        border-width: 2px;
    }

    .vote-frame {
        height: 4300px;
    }

    .footer {
        padding: 20px 12px 28px;
    }

    .right,
    .legal-link {
        text-align: center;
    }
}
