* {
    color: #fff;
    font-family: freight-text-pro, serif;
    font-weight: 400;
    font-style: normal;
    scroll-behavior: smooth;
}
*:focus {
    outline: none;
    box-shadow: 0 0 0 2pt white;
    border-radius: 10px;
}

#intro *:focus {
    box-shadow: 0 0 0 2pt #3a307f;
}


body {
    background-color: #E4E8F5;
    padding: 0;
    margin: 0;
}
#close {
    position: fixed;
    z-index: 100;
    width: 40px;
    height: 40px;
    left: 8px;
    top: 8px;
}
#intro {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
#intro * {
    color:  #3a307f;
}
#content {
    text-align: center;
    margin-top: -24px;
}
#animlamp {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 16px;
    height: 35vh;
}
#animlamp:hover {
    cursor: pointer;
}
#player {
    display: flex;
    flex-direction: row-reverse;
}

#col-1 {
    padding: 32px;
    width: calc(50vw - 64px);
    height: calc(100vh - 64px);
    background-color: #3a307f;
    position: relative;
}
#counter {
    margin-left: 16px;
    position: absolute;
    right: 0;
 }
 #text-box {
       display: flex;
       align-items: center;
       height: calc(100vh - 164px);
 }
 h1 {
     font-size: 2.5rem;
     margin: 0;
     margin-bottom: 16px;
 }
 p {
     font-size: 1.5rem;
     margin-top: 0;
 }

#col-2 {
    width: 50vw;
    
    height: 100vh;
    display: flex;
    align-items: center;
}
#anim {
   width: 100%;
}
  
#end{
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #3a307f;
}
.button-end {
    float: left;
    width: 80px;
    height: 80px;
}
#end .button-end:first-of-type {
    margin-right: 24px;
    margin-left: 32px;
}
  #controls {
      position: absolute;
      bottom: 24px;
      padding-top: 8px;
      width: calc(100% - 64px);
      display: flex;
      align-items: center;
      height: 100px;
  }
  .button-scale {
    transition: all 0.25s;
    transform: scale3d(0.9, 0.9, 0.9);
  }
 .button {
    width: 72px;
    height: 72px;
    border-radius: 100px;
    border: 5px solid #3a307f;
    border-width: 0;
    background: none;
    margin-right: 0;
    opacity: 0.5;
    display: block;
    margin: 0px;
    padding: 0;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 80%;
    border-radius: 100px;
  }
  
  .button:hover {
   cursor: pointer;
  }

 
.button-scale:active {
    opacity: 0.5;
    -webkit-transform: scale3d(0.75, 0.75, 0.75);
    -moz-transform: scale3d(0.75, 0.75, 0.75);
    -transform: scale3d(0.75, 0.75, 0.75); 
}
.button-large {
    width: 100px;
    height: 100px;
    opacity: 1;
    padding: 0; 
}
#button-start:hover {
    box-shadow: 0px 0px 0 10px rgba(58, 48, 127, 0.3);
}
#end h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
}
#end p {
        padding-top: 24px;
        line-height: 1.6;
}
#button-start {
    margin: 0 auto;
}

/*------MEDIA QUERIES ---------*/
@media screen and (max-width: 600px) {
    #penguin-cover {
        width: 120px;
    }
    #intro {
        height: calc(100vh - 48px);
    }
    #intro h1 {
        font-size: 1.9rem;
    }

    h1 {
        font-size: 1.2rem;
    }
    p {
        font-size: 1rem;
    }
    #col-2 {
        float: none;
       width: 100vw;
       height: 100vw;
    }
    #col-1 {
        float: none;
        width: auto;
        padding: 16px;
        height: calc(100vh - 100vw);
       
    }
    #player {
        height: 100vh;
        display: block;
    }
    
    #text-box {
        height: auto;
    }
    #controls {
        width: auto;
         position: relative;
        height: auto;
        padding-bottom: 8px;
        margin-left: -10px;
    }
    #counter {
        width: auto;
    }
  

    #end h1 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    #end .button-end:first-of-type {
        margin-left: 0px;
    }
    
  }
