/* Add a black background color to the top navigation */

.topnav {
    background-color: hsla(209, 20%, 25%);
    overflow: hidden;
    position: fixed;
    top: 0;
}


/* Style the links inside the navigation bar */

.topnav a {
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}


/* Change the color of links on hover */

.topnav a:hover {
    background-color: rgb(46, 103, 196);
    color: white;
}


/* Add a color to the active/current link */

.topnav a.active {
    background-color: rgb(59, 130, 246);
    color: white;
}

.container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 10px;
    width: 100%;
    height: 100%;
}

.box {
    /*background-color: lightblue;
    border: 1px solid black;*/
    padding: 20px;
    text-align: center;
    font-size: 24px;
    text-align: center;
    vertical-align: middle;
    align-items: center;
    align-content: center;
}

h1 {
    color: #fff;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    background-color: #282c34;
    color: #fff;
}

.modal_wrapper {
    display: none
}

.modal_inner {
    position: absolute;
    height: auto;
}

.mod_close {
    position: absolute;
    top: 50px;
    right: 5%;
    z-index: 99999;
    background: #fff;
    display: block;
    padding: 5px 10px;
    border-radius: 50%;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
}

.modal_inner iframe {
    position: absolute;
    height: 100%;
    width: 100%;
}

.modal_inner iframe,
.modal_wrapper,
.modal_inner {
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto;
}

.modal_wrapper.active {
    opacity: 1;
    z-index: 99;
    position: fixed;
    display: block;
}

#button1 {
    background-color: #ADD8E6;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 10px;
    cursor: pointer;
    margin: auto;
    display: block;
}