@charset "utf-8";

@import url("https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;700&display=swap");

:root {
    --logo_color: #fff;
    --text_color: #fff;
    --text_hovercolor: #ffeb3b;
    --menu_bgcolor: #fff;
    --menu_color: #111;
    --menu_hovercolor: #ffeb3b;
    --menu_barcolor: #fff;
    --menu_activebarcolor: #fff;
    --menu_hoverbarcolor: #ffeb3b;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

*::selection {
    background-color: #ffeb3b;
}

.container {
    position: absolute;
    right: 0;
    width: 100%;
    min-height: 100vh;
    padding: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #111;
    color: #fff;
    z-index: 2;
    font-family: "Roboto Condensed", sans-serif;
    transition: ease-in-out 0.2s;
}

.container .imgBox {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.container .imgBox img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: 0.5s;
    background-position: center;
}

.container .imgBox img.active {
    opacity: 1;
}

.control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: 80px;
    color: #000;
}

.control li {
    position: relative;
    width: 80px;
    height: 80px;
    background: #fff;
    font-size: 2em;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.1s ease;
}

.control li:hover {
    background: #ffeb3b;
    transition: 0.1s ease;
}

.control li:active {
    background: #ffffff;
    transition: 0.1s ease;
}

.contentBox {
    position: absolute;
    bottom: 0;
    left: 0;
    max-width: 700px;
}

.contentBox div {
    display: none;
}

.contentBox div.active {
    display: block;
    padding: 30px;
    padding-left: 100px;
    background: rgb(0, 0, 0, 0.2);
}

.contentBox div h2 {
    color: #fff;
    font-size: 2em;
}

.contentBox div p {
    color: #fff;
    font-size: 1.1em;
}

.contentBox div a {
    color: #222;
    font-size: 1.1em;
    display: inline-block;
    padding: 10px 30px;
    background: #fff;
    margin-top: 10px;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.contentBox a:hover {
    background: #ffeb3b;
}

.select {
    padding: 7px 15px;
    background: rgb(0, 0, 0, 0.2);
    transform: scale(1.2);
}

.container.active {
    right: 300px;
}

.bg_video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.container header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px 100px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    text-transform: uppercase;
    cursor: pointer;
    color: var(--logo_color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    width: 30px;
    height: auto;
}

input[type="checkbox"] {
    display: none;
}

input[type="checkbox"]:checked ~ label .bar {
    background-color: var(--menu_activebarcolor);
}

input[type="checkbox"]:checked ~ label .top {
    transform: translateY(0px) rotateZ(45deg);
}

input[type="checkbox"]:checked ~ label .bottom {
    transform: translateY(-15px) rotateZ(-45deg);
}

input[type="checkbox"]:checked ~ label .middle {
    width: 0;
}

.middle {
    margin: 0 auto;
}

label {
    background-color: transparent;
    cursor: pointer;
    z-index: 10004;
    /* position: fixed;
    top: 40px;
    right: 100px; */
}

.bar {
    display: block;
    background-color: var(--menu_barcolor);
    width: 30px;
    height: 3px;
    margin: 5px auto;
    transition: background-color 0.4s ease-in, transform 0.4s ease-in, width 0.4s ease-in;
}

.menu {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--menu_bgcolor);
}

.menu ul {
    position: relative;
    list-style: none;
}

.menu ul li a {
    color: var(--menu_color);
    text-decoration: none;
    font-size: 1.7em;
    font-weight: 700;
    transition: ease-in-out 0.2s;
    line-height: 3em;
}

@media (min-width: 950px) {
    input[type="checkbox"]:hover ~ label .bar {
        background-color: var(--menu_hoverbarcolor);
    }

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

@media (max-width: 950px) {
    :root {
        --menu_activebarcolor: #ffeb3b;
    }

    input[type="checkbox"]:checked ~ label .bar {
        background-color: var(--menu_activebarcolor);
    }

    .container,
    .container header {
        padding: 40px;
    }

    .menu ul li a:active {
        color: var(--menu_hovercolor);
    }

    .contentBox {
        position: absolute;
        display: inline-block;
        width: 100%;
        bottom: 0;
    }

    .contentBox div.active {
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 30px 100px;
        margin: 0 auto;
        background: rgb(0, 0, 0, 0.2);
    }

    .contentBox a:hover {
        background: #fff;
    }

    .contentBox a:active {
        background: #ffeb3b;
    }

    .control li:hover {
        background: #fff;
    }

    .control li:active {
        background: #ffeb3b;
    }
}

@media (max-width: 560px) {
    .container.active {
        right: 100%;
    }

    .menu {
        width: 100%;
    }

    label {
        position: fixed;
        top: 40px;
        right: 40px;
    }
}
