@import url('https://fonts.googleapis.com/css?family=Oswald:200,300,400,500,700&display=swap');

body {
    margin: 0;
    font-family: Oswald, sans-serif;
    font-weight: 300;
    max-width: 960px;
    margin: 0 auto;
}

.screen {
    overflow: hidden;
}

.main {
    margin: 15px 15px 50px 15px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 10dvh;
    padding: 0 20px;
}

.logo {
    height: 70%;
}

.menu-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.menu-block {
    height: 30dvh;
    width: 100%;
    transition: height 0.5s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 10px;
    box-sizing: border-box;
    color: white;
    cursor: pointer;
    position: relative;
}

#block1,
#block3 {
    background-color: #ffcc11;
    align-items: flex-start;
    text-align: left;
    padding-left: 20px;
    padding-right: 20px;
    color: #000;
}

#block2 {
    background-color: #808080;
    align-items: flex-end;
    text-align: right;
    padding-right: 20px;
    padding-left: 20px;
}

.menu-block h1 {
    margin: 0;
    font-size: 2em;
    font-weight: 300;
}

p {
    font-size: 1.4em;
    font-weight: 200;
    margin: 0.5em 0;
}

@media (min-width: 960px) {
    .menu-block h1 {
        margin: 0;
        font-size: 3em;
        font-weight: 300;
    }

    p {
        margin: 0;
        font-size: 1.4em;
        font-weight: 200;
    }

    .menu-block:hover .hidden-on-default {
        margin-top: 2em;
    }

}

.menu-block .hidden-on-default {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease-in-out, max-height 0.3s ease-in-out;
}

.menu-block:hover {
    height: 70dvh;
}

.menu-block:hover .hidden-on-default {
    opacity: 1;
    max-height: 200px;
    font-size: 2em;
}

.menu-block:hover~.menu-block,
.menu-container:hover .menu-block:not(:hover) {
    height: 10dvh;
}

.menu-block:hover~.menu-block .hidden-on-default,
.menu-container:hover .menu-block:not(:hover) .hidden-on-default {
    opacity: 0;
    max-height: 0;
}

.block-image {
    position: absolute;
    max-width: 100%;
    max-height: 30dvh;
    width: auto;
    height: 100%;

}

.bottom-right {
    bottom: 0;
    right: 0;
}

.bottom-left {
    bottom: 0;
    left: 0;
}

.btn {
    display: inline-block;
    padding: 5px;
    border-bottom: 2px dotted;
    text-align: center;
    text-decoration: none;
    font-size: 1.2em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}

.btn:hover {
    background-color: #000;
    color: #fff;
}

a {
    color: inherit;
    text-decoration: none;
}

a:visited {
    color: inherit;
}

.footer-container {
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 960px;
    height: 10dvh;
    background-color: #4a4a4a;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1000;
}


.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: #000;
    transition: all 0.3s ease;
}

/* 
@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
} */


.overlay-menu {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.9);
    overflow-x: hidden;
    transition: 0.5s;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.overlay-menu .close-btn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
    cursor: pointer;
}

.overlay-menu .close-btn:hover,
.overlay-menu .close-btn:focus {
    color: #ccc;
}

.overlay-content {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.overlay-content a {
    padding: 8px;
    text-decoration: none;
    font-size: 1.4em;
    color: #fff;
    display: block;
    transition: 0.3s;
    font-family: Oswald, sans-serif;
}

.overlay-content a:hover,
.overlay-content a:focus {
    color: #ffcc11;
}