html{
    max-width: 1660px;
    margin: 0 auto;
}
body{ 
    background-color: black;
    position: relative;
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
}
.newsletter-block{
    position: relative;
    float: left;
    width: 20vw;
    /* margin-left: 5vw; */
    height: calc(100vh - 20px);
    font-weight: bold;
    text-align: center;
}
.newsletter-block .newsletter-signup{
    background-color: white;
    position: relative;
    width: calc(100% - 6px);
    text-align: center;
    max-width: 160px;
    display: inline-block;
    padding: 3px;
    font-size: 10px;
}
.newsletter-block .newsletter-signup input.email{
    width: 80%;
}
.newsletter-block .newsletter-signup input.button{
    position: relative;
    background-color: black;
    color: white;
    border: 1px solid black;
    font-size: 10px;
    margin-top: 3px;
}
.newsletter-block .newsletter-signup button:hover{
    cursor: pointer;
    background-color: rgb(85, 85, 85);
    border: 1px solid rgb(85, 85, 85);
}

.content-block{
    position: relative;
    float: left;
    width: 50vw;
    height: calc(100vh - 20px);
    overflow-y: scroll;
    overflow-x: hidden;
    box-sizing: border-box;
    -ms-overflow-style: none;
}

.content-block .scroll-block{
    overflow-x: hidden;
    overflow-y: auto;
}
.content-block .content-row {
    float: left;
    width: 100%;
    display: flex;
}
.content-block .content-row .content-pane { 
    position: relative;
    float: left;
    object-fit: cover;
}

.content-block .row-1 .content-pane { width: 100%; }
.content-block .row-2 .content-pane { width: 50%; }
.content-block .row-3 .content-pane { width: 33.3%; }
.content-block .row-4 .content-pane { width: 25%; }

.content-block .content-row .content-pane img{ 
    width: 100%;
}
.content-block .iframe {
    position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.content-block .content-row .content-pane iframe{ 
    position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.content-block .content-row .content-pane a:hover{ 
    cursor: pointer;
}

.content-block .content-row .content-pane a img:hover{ 
    filter: brightness(110%);
    transition: 50ms ease-in-out;
}

.content-block .content-row .text{ 
    color: white;
    padding: 2%;
    text-align: center;
    margin: auto;
    white-space: pre-line;
}

.menu-block{
    position: relative;
    float: left;
    width: 20vw;
    color: white;
    text-decoration-color: white;
    text-align: center;
    font-weight: bold;
}
.menu-block a {
    color: white;
    text-decoration: none;
    display: block;
    transition: 60ms ease-in;
    cursor: pointer;
}
.menu-block a:hover {
    text-decoration: underline;
}
.popup{
    margin-top: 80px;
    position: fixed;
    padding: 20px;
    width: 400px;
    left: calc(50% - 200px);
    background-color: black;
    color: white;
    z-index: 100;
    max-height: 80%;
    overflow-y: scroll;
    font-size: 13px;
    -webkit-overflow-scrolling: touch;
    display: none;
}
.popup p {
    white-space: pre-line;
}
.popup li {
    list-style-type: none;
  }
.popup .close-popup{
    position: absolute;
    top: -10px;
    right: 30px;
}
.popup .close-popup:hover{
    cursor: pointer;
    text-decoration: underline;
}
.popup a {
    color: white;
    text-decoration: underline;
    display: block;
    transition: 60ms ease-in;
    cursor: pointer;
}
#darken{
    position: fixed;
    left: 0px; top: 0px;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: 50;
    opacity: 0.3;
    display: none;
}

@media (max-width: 700px) {
    body{
        flex-wrap: wrap;
    }
    .newsletter-block{
        width: 100vw;
        height: 75px;
        order: 2;
        margin: 0;
        padding-top: 20px;
        text-align: center;
    }
    .content-block{
        width: 100vw;
        order: 3;
        margin: 0;
        overflow: hidden;
        height: auto;
    }
    .menu-block{
        width: 100vw;
        order: 1;
        margin: 0;
    }
    .popup{
        margin-top: 40px;
        width: 90vw;
        left: 0;
    }
}
