@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --primary-color: #108ed7;
    --color: #5cb85c;
    --logo-size: 25px;
  }
  
  body {
    font-family: 'Nunito', sans-serif;
    margin: 0;
    background-color: #222;
    color: white;
  }

  .main {
      padding: 16px;
  }
  
  /* The Modal (background) */
  .modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  /* Modal Content */
  .modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 60%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
  }
  
  /* Add Animation */
  @-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
  }
  
  @keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
  }
  
  .icon {
    color: white;
    float: right;
    padding-left: 20px;
    font-size: 28px;
    font-weight: bold;
  }
  
  .icon:hover,
  .icon:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }
  
  .modal-header {
    padding: 2px 16px;
    background-color: var(--primary-color);
    color: white;
  }
  
  .modal-body {padding: 2px 16px;}
  
  .modal-body-embed {padding: 0px 0px;}
  
  .modal-footer {
    padding: 2px 16px;
    background-color: var(--primary-color);
    color: white;
  }

  .navbar {
    overflow: hidden;
    background-color: var(--primary-color);
    margin: 0;
    position: sticky;
    position: -webkit-sticky;
    top: 0;
  }

  .navbar a{
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    border-radius: 5px;
    transition: 0.3s;
  }

  .navbar li {
      list-style: none;
  }

  .navbar a:hover {
    background-color: #ddd;
    color: black;
  }

  .navbar .brand-logo {
    height: 15px;
  }

  .gameslist {
    padding: 5px;
    background-color: #444;
    width: 70%;
    margin: 0 auto;
    list-style-type: none;
  }

  .gameslist a {
    color: white;
    text-decoration: none;
  }

  .gameslist .game-icon {
    width: var(--logo-size);
    height: var(--logo-size);
    margin-right: 10px;
  }

  .box-container {
    padding: 10px;
    width: 40%;
    border: 1px solid #ddd;
    border-radius: 5px;
  }

  .textbox {
    width: 20%;
    border: 1px solid #ddd;
    resize: none;
    padding: 10px;
    font-size: 16px;
    font-family: 'Nunito', sans-serif;
    background-color: #222;
    color: white;
    transition: 0.3s;
  }

  .checkbox {
    margin-left: 10px;
    margin-right: 10px;
  }

  .checkbox .size {
    width: 20px;
    height: 20px;
  }

  .button {
    background-color: #555;
    color: white;
    padding: 5px;
    border: none;
    width: 10%;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    font-family: 'Nunito', sans-serif;
    transition: 0.3s;
  }

  .button:hover {
    background-color: #ddd;
    color: black;
  }

  .line {
    width: 100%;
    height: 1px;
    background-color: #ddd;
  }

  .footer {text-align: center;}

  .footer a {
    color: #ddd;
    text-decoration: none;
    font-style: italic;
    font-weight: 100;
  }