body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    font:1em/120% Courier; color:grey;
}

.container {
    display: grid;
    gap: 10px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.box {
    display: flex;
    justify-content: center;
    align-items: center;
    scroll-snap-align: start;
}

.box:nth-child(2) embed {
    max-width: 1024px;
}
.box:nth-child(5) .centered {
    max-width: 768px;
    width: 75%;
}

@media (max-width: 1024px) {
    body {
        font:1.6em/120% Courier;
    }
    .container {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 100vh);
        padding: 0 10px;
    }
    .box:nth-child(n+1):not(:nth-child(2)):not(:nth-child(5)):not(:nth-child(8)) {
        display: none;
    }
}

@media (min-width: 1025px) and (max-width: 1200px) {
    body {
        font:1.4em/120% Courier;
    }
    .box:nth-child(2) embed {
        max-width: 1024px;
        width: 100%;
    }
    .box:nth-child(5) .centered {
        max-width: 768px;
        width: 100%;
    }
    .container {
        grid-template-columns: 0% calc(100% - 20px) 0%;
        grid-template-rows: 25% calc(60% - 20px) 15%;
        margin: 0 auto;
        padding: 0 10px;
    }
}

@media (min-width: 1201px) and (max-width: 1920px) {
    body {
        font:1.1em/120% Courier;
    }
    .container {
        grid-template-columns: 15% calc(70% - 20px) 15%;
        grid-template-rows: 25% calc(60% - 20px) 15%;
        margin: 0 auto;
        padding: 0 10px;
        max-width: 1920px;
    }
}

@media (min-width: 1921px) {
    body {
        font:1.2em/120% Courier;
    }
    .container {
        grid-template-columns: 15% 70% 15%;
        grid-template-rows: 25% 60% 15%;
        height: calc(100vh - 2 * 10px);
        margin-left: auto;
        margin-right: auto;
        max-width: 1920px;
        padding: 0 10px;
    }
}

.button {
    display: inline-block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: none;
    color: rgba(255,255,255,1);
    text-decoration: normal;
    text-align: center;
    -o-text-overflow: clip;
    text-overflow: clip;
    text-shadow: 0 0 10px rgba(255,255,255,1) , 0 0 20px rgba(255,255,255,1) , 0 0 30px rgba(255,255,255,1) , 0 0 40px #666666 , 0 0 70px #666666 , 0 0 80px #666666 , 0 0 100px #666666 ;
    -webkit-transition: all 200ms cubic-bezier(0.42, 0, 0.58, 1);
    -moz-transition: all 200ms cubic-bezier(0.42, 0, 0.58, 1);
    -o-transition: all 200ms cubic-bezier(0.42, 0, 0.58, 1);
    transition: all 200ms cubic-bezier(0.42, 0, 0.58, 1);
  }

  .button:hover {
    text-shadow: 0 0 10px rgba(255,255,255,1) , 0 0 20px rgba(255,255,255,1) , 0 0 30px rgba(255,255,255,1) , 0 0 40px #66ffff , 0 0 70px #66ffff , 0 0 80px #66ffff , 0 0 100px #66ffff ;
  }

  body {
      background-image: url("cm-bg.png");
  }
  a:link,
  a:visited {
    color: #ffffff;
    text-decoration: none;
  }
  a:hover,
  a:active {
    color: #ffffff;
    text-decoration: underline;
  } 
