:root {
    --cust-card-height: 150px;
}

/*** Custom DOM ***/
h1 {
    font-size: 5rem;
    font-weight: bold;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}


/*** Custom ids ***/
#first-page {
    min-height: 100vh;
    position: relative;

    .text-container {
        position: absolute;
        display: flex;
        width: 100%;
        height: 100%;
        justify-content: center;
        padding-top: 126px;

        h1 {
            color: #FFFFFFBB;
        }
    }
}

#swap-word {
    position: relative;

    position: relative;
    width: 9ch;
    height: 2ch;
    text-align: right;

    .word {
        position: absolute;
        left: 50%;
        white-space: nowrap;
    }
}

#suite {
    text-align: center;
    white-space: nowrap;
}

#contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    input,
    textarea,
    button {
        margin-top: 10px;
    }
}

#contact-2 {
    background: #66e2e426;
    padding: 30px 0;

    #contact-body {
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        margin: 0 10%;

        input,
        textarea,
        button {
            margin-bottom: 10px;
        }

        .card {
            background: none;
            border: none;
        }
    }
}

/*** Classes ***/
.main-container {
    padding: 0 !important;
}

.custom-head {
    height: var(--cust-card-height);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    img {
        max-height: var(--cust-card-height);
        width: auto;
        max-width: -webkit-fill-available;
    }
}

/***** Media querys *****/

/** Max-width **/
@media (max-width: 1399px) {}

@media (max-width: 1199px) {}

@media (max-width: 991px) {}

@media (max-width: 767px) {}

@media (max-width: 575px) {
    h1 {
        font-size: 1.8em;
    }

    h2 {
        font-size: 1.2em;
    }
}

/*** Animations ***/

/* Animated Sky */
#first-page {
    background: #000;
    overflow: hidden;
}

.star {
    background: #fff;
    position: absolute;
    -webkit-animation: blinkAnim 5s infinite;
    -moz-animation: blinkAnim 5s infinite;
    -ms-animation: blinkAnim 5s infinite;
    -o-animation: blinkAnim 5s infinite;
    animation: blinkAnim 5s infinite;
    border-radius: 50%;
}

@keyframes blinkAnim {
    from {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-webkit-keyframes blinkAnim {
    from {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Animation word-1 */
#word-1 {
    transform: translateX(-50%);
    animation: blurFade var(--timer) infinite;
}

@keyframes blurFade {
    0% {
        opacity: 0;
        filter: blur(10px);
    }

    10% {
        opacity: 1;
        filter: blur(0);
    }

    15% {
        opacity: 1;
        filter: blur(0);
    }

    25% {
        opacity: 1;
        filter: blur(0);
    }

    33% {
        opacity: 0;
        filter: blur(10px);
    }

    100% {
        opacity: 0;
        filter: blur(10px);
    }
}

/* Animation word-2 */
#word-2 {
    transform: translateX(-50%);
}

.letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(-50px);
    animation: slideDown var(--timer) ease forwards infinite;
    animation-delay: calc(3.5s + var(--i) * 0.1s);
}

.letter:nth-child(1) {
    --i: 1
}

.letter:nth-child(2) {
    --i: 2
}

.letter:nth-child(3) {
    --i: 3
}

.letter:nth-child(4) {
    --i: 4
}

.letter:nth-child(5) {
    --i: 5
}

.letter:nth-child(6) {
    --i: 6
}

.letter:nth-child(7) {
    --i: 7
}

.letter:nth-child(8) {
    --i: 8
}

.letter:nth-child(9) {
    --i: 9
}

.letter:nth-child(10) {
    --i: 10
}

.letter:nth-child(11) {
    --i: 11
}

.letter:nth-child(12) {
    --i: 12
}

@keyframes slideDown {
    0% {
        opacity: 0;
    }

    5% {
        opacity: 1;
        transform: translateX(0);
    }

    25% {
        opacity: 1;
        transform: translateX(0);
    }

    33% {
        transform: translateY(-50px);
        opacity: 0;
    }
}

/* Animation word-3 */

#word-3 {
    transform: translateX(-100%);
    display: inline-block;
    opacity: 0;
    animation: slideLeft var(--timer) infinite;
    animation-delay: 8s;
}

@keyframes slideLeft {
    0% {
        opacity: 0;
    }

    5% {
        opacity: 1;
        transform: translateX(-50%);
    }

    25% {
        opacity: 1;
        transform: translateX(-50%);
    }

    33% {
        transform: translateX(-100%);
        opacity: 0;
    }

    50% {
        transform: translateX(-100%);
        opacity: 0;
    }
}