:root {
  --darkblue: #2B3078;
  --lightblue: #6871ea;
}

body.waitpage {
    margin: 0;
    padding: 0;
    font-family: "Archivo", sans-serif;
    color: var(--darkblue);
    width: 100vw;
    overflow-y: hidden;
    position: relative;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.waitpage .waitpage_head {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    display: flex;
}

.waitpage .waitpage_main.container {
    max-width: 1400px;
    padding: 20px;
    margin: auto;
    width: 100%;
    gap: 30px;
}

.waitpage .waitpage_main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
}

.waitpage a {
    text-decoration: none;
    color: var(--darkblue);
    transition: color 0.3s ease;
}

.waitpage a:hover {
    color: var(--lightblue);
    transition: color 0.3s ease;
}

.waitpage a img {
    opacity: 1;
    transition: opacity 0.3s ease;
} 

.waitpage a:hover img {
    opacity: 0.6;
    transition: opacity 0.3s ease;
} 

.waitpage .waitpage_head_icon {
    width: 100%;
    height: 100%;
    max-height: 21px;
    max-width: max-content;
}

.waitpage .waitpage_foot_contact_item {
    display: flex;
    gap: 5px;
}

.waitpage .waitpage_foot_name {
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 0.8;
    margin: 0;
}

.waitpage .waitpage_foot_address {
    margin: 0;
}

.waitpage .waitpage_head,
.waitpage .waitpage_foot {
    width: 100%;
}

.waitpage .waitpage_foot {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    display: flex;
    gap: 20px;
}

.waitpage .waitpage_head_logo {
    width: 100%;
    max-width: 350px;
    margin-bottom: 20px;
}

.waitpage .waitpage_foot_contact_list {
    display: flex;
    flex-direction: column;
    list-style: none;
    align-items: center;
    padding-left: 0;
    margin: 0;
    gap: 25px;
}

.waitpage .waitpage_head_title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
    text-transform: uppercase;
    margin-top: 0;
}

.waitpage .waitpage_head_subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 30px;
    font-weight: 700;
}

.waitpage .waitpage_bg {
    object-fit: cover;
    object-position: center;
    height: 100%;
    width: 100%;
}

.waitpage .waitpage_bg_wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -1;
    opacity: 0.2;
    top: 0;
}

.waitpage .waitpage_foot_contact_link {
    font-weight: 700;
}

@media screen and (min-width: 768px) {
    .waitpage .waitpage_head_title {
        font-size: 3.5rem;
        max-width: 500px;
    }

    .waitpage .waitpage_head {
        justify-content: space-between;
        text-align: left;
        flex-direction: row-reverse;
    }

    .waitpage .waitpage_foot {
        justify-content: space-between;
        align-items: end;
        flex-direction: row;
        text-align: left;
    }

    .waitpage .waitpage_foot_address {
        text-align: right;
    }

    .waitpage .waitpage_main {
        min-height: 615px;
        height: 100%;
    }

    .waitpage .waitpage_foot_contact_list {
        gap: 10px;
    }
}

@media screen and (min-width: 886px) {
    .waitpage .waitpage_foot_contact_list {
        flex-direction: row;
        gap: 25px;
    }
}