@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.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;
    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;
}

.text {
    position: relative;
    z-index: 10;
    max-width: 700px;
    min-width: 200px;
    margin-right: auto;
    overflow-wrap: break-word;
}

.text h2 {
    font-size: 5em;
    font-weight: 900;
    line-height: 1em;
    text-transform: uppercase;
}

.text h3 {
    font-size: 4em;
    font-weight: 600;
    line-height: 1em;
    text-transform: uppercase;
}

.text p {
    font-size: 1.1em;
    margin: 20px 0;
    font-weight: 400;
}

.text a {
    display: inline-block;
    font-size: 1em;
    background-color: #fff;
    padding: 10px 30px;
    text-decoration: none;
    color: #111;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: ease-in-out 0.2s;
}

.social {
    position: absolute;
    bottom: 40px;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
}

.social li a i {
    font-size: 1.5em;
}

.social li a {
    color: var(--text_color);
    display: inline-block;
    margin-right: 40px;
    transition: ease-in-out 0.2s;
}

.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);
    }

    .text a:hover {
        transform: scale(1.1);
        background-color: #ffeb3b;
    }

    .social li a:hover {
        transform: scale(1.2);
        color: var(--text_hovercolor);
    }

    .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;
    }

    .text h2 {
        font-size: 3em;
    }

    .text h3 {
        font-size: 2em;
    }

    .text a:active {
        transform: scale(1.1);
        background-color: #ffeb3b;
    }

    .social li a:active {
        transform: scale(1.2);
        color: var(--text_hovercolor);
    }

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

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

    .menu {
        width: 100%;
    }

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

    .social {
        left: 25%;
    }

    .social li a {
        margin: 0 20px;
    }
}
