@import url('https://fonts.googleapis.com/css?family=Lato&display=swap');

* {
    box-sizing: border-box;
}

:root {
    --primary-color: #333;
    --secondary-color: #fff;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    overflow-x: hidden;
    margin: 0;
}

.container {
    background-color: var(--secondary-color);
    transform-origin: top left;
    transition: transform 0.5s linear;
    width: 100vw;
    min-height: 100vh;
    padding: 50px;
}

.container.show-nav {
    transform: rotate(-20deg);
}

.circle-container {
    position: fixed;
    top: -100px;
    left: -100px;
}

.circle {
    background-color: var(--primary-color);
    height: 200px;
    width: 200px;
    border-radius: 50%;
    position: relative;
    transition: transform 0.5s linear;
}

.container.show-nav .circle {
    transform: rotate(-70deg);
}

.circle button {
    cursor: pointer;
    position: absolute;
    top: 50%;
    left: 50%;
    height: 100px;
    background: transparent;
    border: 0;
    font-size: 26px;
    color: var(--secondary-color);
    transform: translate(-50%, -50%);
}

.circle button:focus {
    outline: none;
}

.circle button#open {
    left: 60%;
}

.circle button#close {
    top: 60%;
    transform: rotate(90deg) translate(-50%, -50%);
    transform-origin: top left;
}

.container.show-nav + nav li {
    transform: translateX(0);
    transition-delay: 0.3s;
}

nav {
    position: fixed;
    bottom: 40px;
    left: 0;
    z-index: 100;
}

nav ul {
    list-style-type: none;
    padding-left: 30px;
}

nav ul li {
    text-transform: uppercase;
    color: var(--secondary-color);
    margin: 40px 0;
    transform: translateX(-100%);
    transition: transform 0.4s ease-in;
}

nav ul li i {
    font-size: 20px;
    margin-right: 10px;
}

nav ul li + li {
    margin-left: 15px;
    transform: translateX(-150%);
}

nav ul li + li + li {
    margin-left: 30px;
    transform: translateX(-200%);
}

nav a{
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.5s;
}

nav a:hover {
    color: var(--primary-color);
    font-weight: bold;
}

.content img {
    max-width: 100%;
}

.content {
    max-width: 1000px;
    margin: 50px auto;
}

.content h1 {
    margin: 0;
}

.content small {
    color: #555;
    font-style: italic;
}

.content p {
    color: var(--primary-color);
    line-height: 1.5;
}

/* Accessibility features */
.accessibility-warning {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--secondary-color);
    padding: 10px;
    border-bottom: 1px solid #ddd;
    text-align: center;
}

.accessibility-warning a {
    text-decoration: none;
    color: var(--primary-color);
}

/* Media queries */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }
    .circle {
        height: 150px;
        width: 150px;
    }
    .circle button {
        height: 70px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    .circle {
        height: 100px;
        width: 100px;
    }
    .circle button {
        height: 50px;
        font-size: 14px;
    }
}