﻿:root {
    --primary-color: black;
    --secondary-color: #e07a8d;
    --tertiary-color: #f2f2f2;
    --quaternary-color: #a02f56;
    --font-size-body: 18px
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', Tahoma, Geneva, Verdana, sans-serif;
    font-size: var(--font-size-body);
    font-weight: 100;
    line-height: 30px;
    text-align: justify;
    color: var(--primary-color);
}

h1 {
    color: var(--secondary-color)
}

.container {
    background-color: ghostwhite;
    height: 100vh;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.menu {
    align-items: center;
    background-color: var(--tertiary-color);
    clip-path: polygon(calc(100% - 40px) 32.5px, calc(100% - 19.5px) 32.5px, calc(100% - 19.5px) 36.5px, calc(100% - 40px) 36.5px);
    color: #f2f2f2;
    display: flex;
    flex-direction: column;
    font-family: sans-serif;
    font-size: 28px;
    height: 100%;
    position: absolute;
    top: 0;
    transition: clip-path 400ms cubic-bezier(0.4, 0, 0.2, 1), background-color 400ms cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.active .menu {
    background-color: #e07a8d;
    clip-path: polygon(101% -1%, 101% 101%, -1% 101%, -1% -1%);
}

.options {
    align-items: center;
    display: flex;
    flex-direction: column;
    margin-top: 60px;
    transform: scale(0.8);
    transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.option {
    cursor: pointer;
    margin: 8px 0;
}

    .option.selected {
        color: #a02f56;
    }

.active .options {
    transform: scale(1);
}

.x {
    cursor: pointer;
    height: 40px;
    /*opacity: 0.3;*/
    position: absolute;
    right: 10px;
    top: 10px;
    width: 40px;
}

.top-bars {
    stroke: var(--tertiary-color);
    transition: stroke 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.active .top-bars {
    stroke: #f2f2f2;
}

.bar {
    transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.bar1 {
    transform-origin: 20px 13.5px;
}

.bar2 {
    transform-origin: 20px 13.5px;
}

.active .bar1 {
    transform: translateY(4.5px) rotate(45deg);
}

.active .bar2 {
    transform: rotate(-45deg);
}

.menu-click-area {
    cursor: pointer;
    height: 40px;
    opacity: 0.3;
    position: absolute;
    right: 10px;
    top: 10px;
    width: 40px;
}
