@font-face {
    font-family: RonzinoMedium;
    src: url(Ronzino-Medium.woff2);
}

@font-face {
    font-family: oldEnglishedBoots;
    src: url(Old_Englished_Boots.ttf);
}

@font-face {
    font-family: BookmanOldStyle;
    src: url(Bookman_Old_Style_Regular.ttf);
}

:root {
    --main-title: #000000;
    --plain-text: #000000;
    --background: #ffffff;
    --grid: #bcbcbc3b;
    --left-edge: 0rem;
    --right-edge: 25rem;
    --bottom-edge: 26rem;
    --orbit-item-width: 200px;
}

.red {
    background-color: #fc6868;
    border-color: #fc6868;
}

.green {
    background-color: #64ff64;
    border-color: #64ff64;
}

.blue {
    background-color: #9797ff;
    border-color: #9797ff;
}

.purple {
    background-color: #fa70fa;
    border-color: #fa70fa;
}

.siena {
    background-color: #c9805f;
    border-color: #c9805f;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    background-color: var(--background);
    cursor: url("eye_of_ciff.png"), auto;
}

#border {
    border: black 3px solid;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px;
    overflow: hidden;
}

#title-image {
    max-width: 700px;
    width: 100%;
}

#logo {
    width: 33%;
}

h1 {
    font-family: RonzinoMedium;
    color: var(--main-title);
    width: fit-content;
    text-align: center;
}

p {
    margin: 0.5rem 1rem;
    color: var(--plain-text);
}

p,
h2,
h3,
label,
input {
    font-family: RonzinoMedium;
    text-align: center;
}

#globe {
    width: 90%;
    max-width: 400px;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

#globe-caption {
    text-decoration: underline;
}

#globe-caption span {
    font-style: italic;
    margin-right: 5px;
}

button {
    border: solid 3px black;
    margin: 5px;
    background-color: white;
    cursor: pointer;
    padding: 5px 0px;
    width: 230px;
    font-family: RonzinoMedium;
}

button:active {
    background-color: lightgrey;
}

.button-style-link {
    border: solid 3px black;
    margin: 5px;
    background-color: white;
    cursor: pointer;
    padding: 5px 0px;
    width: 230px;
    font-family: RonzinoMedium;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
}

.button-style-link:active {
    background-color: lightgrey;
}

#posters {
    margin-top: 20px;
    display: grid;
    grid-template-columns: auto auto auto;
    max-width: 700px;
}

.poster {
    width: 95%;
    margin: 2.5%;
    border: 1px black solid;
}

#globe-animation {
    display: flex;
    width: 100%;
    max-width: 500px;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.universe {
    margin: 0px;
    font-family: BookmanOldStyle;
    text-shadow: 1px 1px 0 #ffffff, -1px 1px 0 #ffffff, -1px -1px 0 #ffffff, 1px -1px 0 #ffffff;
}

.universe-container {
    top: -210px;
    position: relative;
    z-index: 2;
    width: 30px;
    height: 30px;
    animation: saturn 15s infinite linear;
}

@keyframes saturn {
    0% {
        left: -55%;
        z-index: 0;
        font-size: 20px;
        transform: rotate3d(0, 0, 1, 90deg);
    }
    25% {
        left: 0%;
        z-index: 0;
        font-size: 10px;
        transform: rotate3d(0, 0, 1, 180deg);
    }
    49% {
        left: 55%;
        z-index: 0;
        font-size: 20px;
        transform: rotate3d(0, 0, 1, 270deg);
    }
    50% {
        left: 55%;
        z-index: 2;
        font-size: 20px;
        transform: rotate3d(0, 0, 1, 270deg);
    }
    75% {
        left: 0%;
        z-index: 2;
        font-size: 25px;
        transform: rotate3d(0, 0, 1, 360deg);
    }
    100% {
        left: -55%;
        z-index: 2;
        font-size: 20px;
        transform: rotate3d(0, 0, 1, 450deg);
    }
}

#name {
    font-family: oldEnglishedBoots;
    font-size: 4rem;
}

#EMAIL {
    border: 2px black solid;
    font-size: 16px;
}

#full-pass {
    margin-top: 1rem;
    margin-bottom: 2rem;
    font-size: 1.75rem;
    transform: rotate(-15deg);
    background: linear-gradient(-45deg, var(--orange) 10%, white 50%, var(--orange) 90%);
    background-size: 300% 100%;
    animation: sheen 5s infinite alternate;
}

#events-schedule {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.event-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 30rem;
    justify-content: space-between;
}

@media screen and (max-width: 700px) {
    .event-container {
        width: 95%;
    }
}

.event-line-two {
    display: block;
}

.ticket-button,
.ticket-button:visited {
    padding: 0.25rem;
    color: black;
    cursor: pointer;
    border: solid 1px black;
    white-space: nowrap;
    margin-left: 0.5rem;
    text-decoration: none;
}

.ticket-button:hover,
.ticket-button:active {
    opacity: 0.7;
}

.ticket-button-down {
    position: relative;
    top: 2rem;
}

.ticket-button p {
    display: inline;
}

.event-passed {
    position: relative;
    left: 1rem;
    top: -1rem;
    width: 6rem;
    background-color: #ffffff;
    text-align: center;
    transform: rotate(25deg);
    border: solid 2px black;
}

#title {
    position: relative;
    top: 0;
    left: -13rem;
}

@media screen and (max-width: 30rem) {
    #title {
        left: 0rem;
        width: 100%;
    }
}

#title-logo-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#ciff-logo {
    width: 24rem;
    margin-top: 6rem;
}

@media screen and (max-width: 30rem) {
    #ciff-logo {
        width: 70%;
    }
}

#follow-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: center;
}

.instagram-icon {
    height: 1.5rem;
    margin: 0rem 0.5rem;
}

#instagram-link {
    text-decoration: none;
}

#sign-up {
    margin-top: 0rem;
    text-align: center;
}

#slogan {
    font-size: 3rem;
    text-align: center;
    margin-top: 0rem;
}

#partners-container {
    width: 30rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 1px solid var(--main-title);
    border-bottom: 1px solid var(--main-title);
    padding-bottom: 2rem;
    margin-bottom: 1rem;
}

@media screen and (max-width: 700px) {
    #partners-container {
        width: 95%;
    }
}

#thank-you-text {
    text-align: center;
}

.patrons-text {
    font-size: 1.25rem;
}

.logos-container {
    display: grid;
    grid-template-columns: 30% 30% 30%;
    width: 100%;
    justify-items: center;
    justify-content: center;
}

.logos-container img {
    width: 8rem;
    height: fit-content;
}

#verge {
    height: 6rem;
}

@media screen and (max-width: 700px) {
    .logos-container img {
        width: 5rem;
    }
    #verge {
        height: 4rem;
    }
    #omnibus {
        grid-column: 1 / span 2;
    }
}

.bottom-text {
    margin-top: 1rem;
    margin-bottom: 0.25rem;
    text-align: center;
}

a,
a:visited {
    color: var(--main-title);
}

.title-character {
    color: var(--main-title);
    position: absolute;
    top: 0;
    left: 0;
    animation: squarePathRem 20s infinite linear;
    width: 1.5rem;
    text-align: center;
}

@media screen and (max-width: 30rem) {
    .title-character {
        top: 0vw;
        left: 10%;
        animation-name: squarePathPercent;
    }
}

@keyframes squarePathRem {
    0% {
        top: 0rem;
        left: var(--left-edge);
        transform: rotate(0deg);
    }
    23% {
        transform: rotate(0deg);
    }
    25% {
        top: 0rem;
        left: var(--right-edge);
        transform: rotate(45deg);
    }
    27% {
        transform: rotate(90deg);
    }
    48% {
        transform: rotate(90deg);
    }
    50% {
        top: 26rem;
        left: var(--right-edge);
        transform: rotate(135deg);
    }
    52% {
        transform: rotate(180deg);
    }
    73% {
        transform: rotate(180deg);
    }
    75% {
        top: 26rem;
        left: var(--left-edge);
        transform: rotate(225deg);
    }
    77% {
        transform: rotate(270deg);
    }
    98% {
        transform: rotate(270deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes squarePathPercent {
    0% {
        top: 0vw;
        left: 10%;
        transform: rotate(0deg);
    }
    23% {
        transform: rotate(0deg);
    }
    25% {
        top: 0vw;
        left: 85%;
        transform: rotate(45deg);
    }
    27% {
        transform: rotate(90deg);
    }
    48% {
        transform: rotate(90deg);
    }
    50% {
        top: 78vw;
        left: 85%;
        transform: rotate(135deg);
    }
    52% {
        transform: rotate(180deg);
    }
    73% {
        transform: rotate(180deg);
    }
    75% {
        top: 78vw;
        left: 10%;
        transform: rotate(225deg);
    }
    77% {
        transform: rotate(270deg);
    }
    98% {
        transform: rotate(270deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes sheen {
    0% {
        background-position-x: 90%;
    }
    50% {
        background-position-x: 10%;
    }
    100% {
        background-position-x: 90%;
    }
}

#canvas {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    image-rendering: pixelated;
    pointer-events: none;
}

/* Brevo form */

.sib-form,
.sib-form-container,
.sib-container {
    width: 30rem;
}

@media screen and (max-width: 700px) {
    .sib-form,
    .sib-form-container,
    .sib-container {
        width: 100%;
    }
}

input {
    width: 80%;
}

.sib-form-flex {
    display: flex;
    justify-content: center;
    width: 100%;
}

.sib-form-block__button:hover {
    opacity: 0.7;
}

#sib-container input:-ms-input-placeholder {
    text-align: left;
    color: #c0ccda;
}

#sib-container input::placeholder {
    text-align: left;
    color: #c0ccda;
}

#sib-container textarea::placeholder {
    text-align: left;
    color: #c0ccda;
}

#sib-container a {
    text-decoration: underline;
    color: #2bb2fc;
}

.event-image {
    width: 100%;
    max-width: 600px;
}

#instagram {
    margin-top: 15px;
    margin-bottom: 10px;
    width: 33px;
    filter: saturate(0);
}
