/* EVERYTHING WAS BLUE */

/* Layout */
html {
    margin: 0;	
    height: 100%;
    width: 100%;
    overscroll-behavior: none;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body {
    margin: 0px auto;
    height: 100%;
    background-color: #a2cffe;
    color: blue;
    font-family: sans-serif;
    text-align: center;
}

.vertical-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    margin: -60px auto;
    width: calc(100% - 240px);
}

/* Typography */
h1 {
    font-weight: 900;
    font-style: normal;
    text-transform: none;
    font-size: 72px;
    margin-block-start: 0em;
    margin-block-end: 0em;
}

h5 {
    font-weight: 400;
}

@media screen and (min-width: 320px)and (max-width: 936px) { 
    h1 {    
        font-size: 7.7vw; 
    }
    .vertical-center {
        width: calc(100% - 60px);
    }
}

/* Colors */
a {
    color: blue;
    cursor: pointer;
    text-decoration: none;
}

a:hover {
    color: #a2cffe;
    background: blue;
    text-decoration-color: #a2cffe;
}

::selection {
    color: #a2cffe;
    background: blue;
}

::-moz-selection {
    color: #a2cffe;
    background: blue;
}

/* Footer */
footer {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: calc(100% - 60px);
}

.project-nav {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.project-nav ul {
    padding-inline-start: 0px;
    margin: 0px auto;
}

.project-nav li {
    list-style: none;
    display: inline-block;
    padding: 0 20px;
}

/* Animation V2 color */
@keyframes color {
    15% {
        color: white;
    }
    75% {
        color: blue;
    }
}

@-webkit-keyframes color {
    15% {
        color: white;
    }
    75% {
        color: blue;
    }
}

@-moz-keyframes color {
    15% {
        color: white;
    }
    75% {
        color: blue;
    }
}

/* First */
#everything1 {
    animation: color 31.5s ease-in-out infinite;
    -webkit-animation: color 31.5s ease-in-out infinite;
    -moz-animation: color 31.5s ease-in-out infinite;
}

#was3 {
    animation: color 31.5s ease-in-out 1.5s infinite;
    -webkit-animation: color 31.5s ease-in-out 1.5s infinite;
    -moz-animation: color 31.5s ease-in-out 1.5s infinite;
}

#blue5 {
    animation: color 31.5s ease-in-out 3s infinite;
    -webkit-animation: color 31.5s ease-in-out 3s infinite;
    -moz-animation: color 31.5s ease-in-out 3s infinite;
}

/* Second */
#everything3 {
    animation: color 31.5s ease-in-out 4.5s infinite;
    -webkit-animation: color 31.5s ease-in-out 4.5s infinite;
    -moz-animation: color 31.5s ease-in-out 4.5s infinite;
}

#was5 {
    animation: color 31.5s ease-in-out 6s infinite;
    -webkit-animation: color 31.5s ease-in-out 6s infinite;
    -moz-animation: color 31.5s ease-in-out 6s infinite;
}

#blue3 {
    animation: color 31.5s ease-in-out 7.5s infinite;
    -webkit-animation: color 31.5s ease-in-out 7.5s infinite;
    -moz-animation: color 31.5s ease-in-out 7.5s infinite;
}

/* Third */
#everything5 {
    animation: color 31.5s ease-in-out 9s infinite;
    -webkit-animation: color 31.5s ease-in-out 9s infinite;
    -moz-animation: color 31.5s ease-in-out 9s infinite;
}

#was2 {
    animation: color 31.5s ease-in-out 10.5s infinite;
    -webkit-animation: color 31.5s ease-in-out 10.5s infinite;
    -moz-animation: color 31.5s ease-in-out 10.5s infinite;
}

#blue6 {
    animation: color 31.5s ease-in-out 12s infinite;
    -webkit-animation: color 31.5s ease-in-out 12s infinite;
    -moz-animation: color 31.5s ease-in-out 12s infinite;
}

/* Fourth */
#everything2 {
    animation: color 31.5s ease-in-out 13.5s infinite;
    -webkit-animation: color 31.5s ease-in-out 13.5s infinite;
    -moz-animation: color 31.5s ease-in-out 13.5s infinite;
}

#was7 {
    animation: color 31.5s ease-in-out 15s infinite;
    -webkit-animation: color 31.5s ease-in-out 15s infinite;
    -moz-animation: color 31.5s ease-in-out 15s infinite;
}

#blue4 {
    animation: color 31.5s ease-in-out 16.5s infinite;
    -webkit-animation: color 31.5s ease-in-out 16.5s infinite;
    -moz-animation: color 31.5s ease-in-out 16.5s infinite;
}

/* Fifth */
#everything6 {
    animation: color 31.5s ease-in-out 18s infinite;
    -webkit-animation: color 31.5s ease-in-out 18s infinite;
    -moz-animation: color 31.5s ease-in-out 18s infinite;
}

#was4 {
    animation: color 31.5s ease-in-out 19.5s infinite;
    -webkit-animation: color 31.5s ease-in-out 19.5s infinite;
    -moz-animation: color 31.5s ease-in-out 19.5s infinite;
}

#blue2 {
    animation: color 31.5s ease-in-out 21s infinite;
    -webkit-animation: color 31.5s ease-in-out 21s infinite;
    -moz-animation: color 31.5s ease-in-out 21s infinite;
}

/* Sixth */
#everything4 {
    animation: color 31.5s ease-in-out 22.5s infinite;
    -webkit-animation: color 31.5s ease-in-out 22.5s infinite;
    -moz-animation: color 31.5s ease-in-out 22.5s infinite;
}

#was1 {
    animation: color 31.5s ease-in-out 24s infinite;
    -webkit-animation: color 31.5s ease-in-out 24s infinite;
    -moz-animation: color 31.5s ease-in-out 24s infinite;
}

#blue7 {
    animation: color 31.5s ease-in-out 25.5s infinite;
    -webkit-animation: color 31.5s ease-in-out 25.5s infinite;
    -moz-animation: color 31.5s ease-in-out 25.5s infinite;
}

/* Seventh */
#everything7 {
    animation: color 31.5s ease-in-out 27s infinite;
    -webkit-animation: color 31.5s ease-in-out 27s infinite;
    -moz-animation: color 31.5s ease-in-out 27s infinite;
}

#was6 {
    animation: color 31.5s ease-in-out 28.5s infinite;
    -webkit-animation: color 31.5s ease-in-out 28.5s infinite;
    -moz-animation: color 31.5s ease-in-out 28.5s infinite;
}

#blue1 {
    animation: color 31.5s ease-in-out 30s infinite;
    -webkit-animation: color 31.5s ease-in-out 30s infinite;
    -moz-animation: color 31.5s ease-in-out 30s infinite;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    z-index: 1; 
    overflow: scroll; /* Enable scroll if needed */
    background-color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 100%; 
    max-width: 500px;
    height: auto;
    margin: 0 auto;
  }
  
  /* Modal Content/Box */
  .modal-content {
    text-align: left;
    color: black;
    padding: 30px;
    width: calc(100% - 60px);
    max-width: 500px;
    height: auto;    
  }

  .modal-inner { 
    padding: 15px; 
  }

  #aboutBtn {
    color: blue;
    background-color: transparent;
    border: none;
    font-size: 1rem;
    font-family: sans-serif;
    font-size: 1rem;
    text-decoration: underline;
  }

  #aboutBtn a:hover {
    color: #a2cffe;
    background: blue;
    text-decoration: underline;
}
  
  /* The Close Button */
  .close {
    float: right;
    font-size: 1.8rem;
    line-height: 0.65;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }