body {
    display: flex;
    flex-direction: column;
    align-items: default;
    justify-content: center;
    background: var(--color-2);
    transition: background 0.3s;
  }
  h1 {
    color: var(--accent);
    text-align: center;
    align-self: center;
    font-family: Tahoma, Geneva, Verdana, sans-serif;
  }
  h2 {
    color: var(--primary_button);
    text-align: center;
    align-self: center;
    font-family: Tahoma, Geneva, Verdana, sans-serif;
    font-size: large;
  }
  p {
    font-family: verdana;
    font-size: px;
    color: var(--text);
    text-align: center;
    padding-left: 15%;
    padding-right: 15%;
  }
  custom_button {
    text-align: center;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: var(--secondary_button);
  }
  custom_button2 {
    text-align: center;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: var(--primary_button);
  }

  div.logo img {
    align-self: left;
    width: 5%;
  }

  :root {
    --color-2: white;
    --primary_button: #9E000F;
    --accent: #00B7FF;
    --text: #050505;
  }
  .button {
    border: none;
    color: var(--color-2);
    cursor: pointer;
    padding: 14px 40px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    outline: none;
    border-radius: 12px;
    -webkit-transition-duration: 0.4s;
   /* Safari */
    transition-duration: 0.4s;
    margin: 3px 0px;
    background-color: var(--primary_button);
  }
  .button:active {
    transform: scale(0.8);
  }
  .button:hover {
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
  }
  boxdiv {
    width: 100%;
    background-color: var(--accent);
    padding: 0px;
    margin: 0px;
  }
div.gallery {
    margin: 5px;
    border: 1px solid #ccc;
    width: 180px;
    flex:auto;
  }
  
  div.gallery:hover {
    border: 1px solid #777;
  }
  
  div.desc {
    padding: 12px;
    text-align: center;
    font-family: Verdana, Tahoma, sans-serif;
  }
  
  #parent {
    display: flex;
  }

  .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--accent);
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: .7s ease;
  }

  .container {
    position: relative;
    width: 50%;
  }

  .container img {
    width: calc(100% - 8px);
    height: auto;
    border: 4px solid var(--accent);
    border-radius: 0;
  }
  
  .container:hover .overlay {
    height: 100%;
  }
  
  .text {
    white-space: nowrap; 
    color: white;
    font-size: 20px;
    position: absolute;
    overflow: hidden;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
  }