* {
  box-sizing: border-box;
}

html,
body {
  font-family: 'DM Mono', monospace;
  color: #222222;
  background-color: #ffffff;
  overflow: hidden;
  height: 100%;
  text-align: center;
  letter-spacing: 0.3em;
  overflow-y: auto;
  scroll-behavior: smooth;
  line-height: 1em;
}

a {
  text-decoration: none;
  color: black;
}

a:hover {
  color: #FF0FD7;
  text-decoration: line-through;
}


.bodycontain {
  display: inline-block;
  margin: 0 auto;
  width: 69%;
  overflow-x: hidden;

}

hr {
  border-top: 1px dotted black; 
}

p {
  display: inline-block;
  text-align: left;
  font-size: 1.5em;
}

header {
  display: block;
  font-size: 0.7em;
  margin-top: 10px;
}

img.logo {
  width: 80%;
}

p.est {
  text-align: center;
  font-size: 10px;
  font-weight: bold;
  font-family: 'Cutive Mono', monospace;
  margin-top: 20px;
}


.flex-container {
  display: inline-block;
  width: 100%;
  text-align: left;
  line-height: 1.5em;
}

video::-webkit-media-controls {
  display: none !important;
}

video {
  float: right;
  width: 30%;
  margin-top: 25px;
}

.audio-container {
  float: right;
}

img.codeup {
  width: 25%;
}

.media {
  display: flex;
  flex-direction: column;
  justify-content: end;
}


p.name {
  font-size: 0.7em;
  letter-spacing: .3em;
}

audio::-webkit-media-controls-panel {
  background-color: white;
}

audio::-webkit-media-controls-play-button {
  border-radius: 50%;
  background-color: white;
}

audio::-webkit-media-controls-current-time-display {
  color: #333;
  font-family: 'Courier New', Courier, monospace;
  font-weight: 800;
}

audio::-webkit-media-controls-time-remaining-display {
  color: #333;
  font-family: 'Courier New', Courier, monospace;
  font-weight: 800;
}

audio::-webkit-media-controls-timeline {
  display: none;
}

audio::-webkit-media-controls-volume-slider {
  display: none;
}

audio::-webkit-media-controls-volume-slider-container {
  display: none;
}

audio::-webkit-media-controls-mute-button {
  display: none;
}


p.links {
  font-family: 'Cutive Mono', monospace;
  font-size: 1em;
  font-weight: normal;
  letter-spacing: 0.03em;
  line-height: 1.2em;
  margin: 0 auto;
}

p.title {
  font-size: 1em;
  font-weight: 800;
}

p.titletwo {
  padding-top: 10px;
  font-size: 1em;
  font-weight: 800;
}

.icon {
  position: relative;
}

img.ex {
  position: absolute;
  width: 25%;
  top: -240px;
  left: 70%;
}

p.stars {
  font-size: 0.7em;
}

footer {
  display: inline-block;
  margin: 0 auto;
  font-family: 'Cutive Mono', monospace;
  font-size: 1em;
  font-weight: normal;
  letter-spacing: 0.02em;
  line-height: 1.2em;
}

.email {
  font-size: 1em;
  padding-top: 15px;
}

.thanks {
  padding: 20px 0px 20px 0px;
}

img.code {
  width: 100%;
}



@media all and (orientation:landscape) {}




/* =================================
  Media Queries 768px
==================================== */

@media (min-width: 768px) {

  html,
  body {
    width: 100%;
    max-width: 100vw;
    height: 100vh;
    margin: 0 auto;
    overflow-y: auto;
  }

  video {
    max-width: 20%;
  }

  img.ex {
    width: 18%;
    top: -300px;
    left: 70%;
  }

  img.codeup {
    width: 20%;
  }

}

/* =================================
    Media Queries 1024px
  ==================================== */

@media (min-width: 1024px) {

  html,
  body {
    width: 100%;
    margin: 0 auto;
    overflow: auto;
    height: 100%;
  }

  header {
    margin-top: 20px;
  }

  hr {
    width: 65%;
  }


  img.logo {
    width: 45%;
  }

  .flex-container {
    width: 65%;
    text-align: left;
  }

  video {
    float: right;
    width: 20%;
  }

  img.codeup {
    width: 30%;
  }

  .media {
    float: right;
    width: 50%;
    align-items: flex-end;
  }

  audio {
    width: 300px;
    padding-left: 175px;
  }

  img.code {
    width: 75%;
  }

  .icon {
    position: relative;
  }
  
  img.ex {
    position: absolute;
    width: 10%;
    top: -80px;
    left: 90%;
  }


  footer {
    width: 65%;
    font-size: 1.2em;
  }

}
