@import url('https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --cc-bgcolor: #030f1a;
    --cc-hicolor: #8fb5cc;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Urbanist';
}

.archive {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
    right: 0;

    display: flex;
    flex-direction: column;
    align-items: stretch;

    transition: 0.8s;
    z-index: 2;
    background: #8FB5CC;
    background: linear-gradient(315deg, rgba(227, 236, 243, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

.archive.active {
    right: 150px;
}

.archive header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-width: 100%;
    padding: 40px 100px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: 0.8s;
}

.archive.archive.active header {
    transform: translateX(-150px);
}

.container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 7rem 1rem 0rem;
}

.video-container {
    max-height: 18rem;
    isolation: isolate;
}

.video-container .video {
    height: 18rem;
    width: 32rem;
    isolation: isolate;
}

.video-container .video video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    isolation: isolate;
}

.video-container .text {
    width: 20rem;
    height: 3rem;
    object-fit: cover;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    z-index: 2;
    translate: 100px -190px;
    transition: .5s;
    opacity: 0;
    cursor: default;
}

.video-container .text.active {
    opacity: 1;
}

.text h2 {
    font-size: 20px;
    color: white;
    font-style: bold;
}

.text h3 {
    font-size: 10px;
    color: white;
    font-style: normal;
    padding: 8%;
    font-weight: 400;
}

.text h4 {
    font-size: 8px;
    color: white;
    font-weight: 400;
    padding: 8%;
}

.contact a {
    text-decoration: none;
    color: inherit;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 7rem;
}

.contact a:hover {
    color: var(--cc-hicolor);
}

.logo {
    position: relative;
    width: auto;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    object-fit: cover;
}

.toggle {
    position: relative;
    object-fit: cover;
    display: flex;
    height: 20px;
    min-width: 20px;
    background: url('/resources/img/menu-grad.svg');
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: center;
    cursor: pointer;
    transition: background-color 1s ease 0s;
    transition: .5s;
}

.toggle:hover {
    outline: 4px solid var(--cc-hicolor);
}

.toggle.active {
    background: url('/resources/img/close.svg');
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

.menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 150px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu ul {
    list-style: none;
}

.menu ul li a {
    text-decoration: none;
    font-size: 20px;
    color: #111;
}

.menu ul li a:hover {
    color: var(--cc-hicolor);
}