@media only screen and (min-width: 320px) {

  /* For mobile phones: */
  [class*="col-"] {
    width: 100%;
  }

  * {
    box-sizing: border-box;
  }

  html,
  body {
    background-color: #202040;
    max-width: 100%;
    margin: 0 auto;
  }

  h3 {
    padding-left: 1em;
    padding-right: 1em;
  }

  .paragraph {
    max-width: 600px;
  }

  .paragraph2 {
    max-width: 600px;
    display: inline-block;
    padding-left: 1em;
    padding-right: 1em;
  }

  .align-cards {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Education & Certificates subsection */

  .image {
    display: block;
    height: 100%;
    width: 100%;
    max-width: 600px;
    padding-top: 1.5em;
    margin: auto;
  }

  video {
    background: white;
    width: 100%;
    height: auto;
  }

  #education-h3:hover {
    color: #fff;
  }

  .error {
    color: red !important;
  }

  /* Hamburger Menu */
  .sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #fff;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 100px;
  }

  .sidebar a {
    padding: 15px;
    text-decoration: none;
    font-size: 20px;
    color: #202040;
    display: block;
    transition: 0.3s;
  }

  .sidebar a:hover,
  .travel-genie:hover {
    color: #FFBD69;
  }

  .sidebar .closebtn {
    position: absolute;
    font-size: 50px;
    top: 0;
    right: 25px;
  }

  .sidebar ul {
    box-shadow: none;
  }

  .openbtn {
    position: absolute;
    font-size: 50px;
    cursor: pointer;
    background-color: transparent;
    color: white;
    border: none;
    padding: 16px;
  }

  #content {
    transition: margin-left .5s;
  }

  /* flex Container */
  .flex-banner {
    height: 100%;
  }

  .flex-projects {
    text-align: center;
    align-items: center;
    border-radius: 8px;
  }

  .flex-resume {
    text-align: center;
    align-items: center;
  }

  .flex-contact {
    width: 100vw;
    max-width: 600px;
    height: auto;
    margin: 0px;
    border-radius: 8px;
    border: solid 1px #fff;
    margin-top: 3em;
    margin-bottom: 3em;
    box-shadow: 0 4px 8px 0 black, 0 6px 20px 0 black;
    background: linear-gradient(to bottom right, rgba(32, 32, 64, 0.75), rgba(84, 56, 100, 0.75), rgba(255, 99, 99, 0.75), rgba(255, 189, 105, 0.75));
  }

  .flex-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding-left: 1em;
    padding-right: 1em;
  }

  /* Headings */
  h1 {
    font-family: 'Montserrat', sans-serif;
    color: white;
    letter-spacing: 2px;
    animation: backInDown;
    animation-duration: 1s;
    letter-spacing: 1px;
    padding-top: 1em;
    padding-bottom: 1em;
  }

  h2:after {
    content: "";
    display: block;
    width: 6em;
    max-width: 70%;
    border-bottom: 0.1em solid #fff;
    margin: 1em auto 0;
  }

  h2 {
    margin-top: 3em;
    text-align: center;
  }

  h2,
  h3,
  h4,
  p {
    font-family: 'Montserrat', sans-serif;
    color: white;
    letter-spacing: .5px;
  }

  h3 {
    text-align: center;
  }

  #portfolio-link:hover,
  #photoshop-link:hover,
  #indesign-link:hover,
  #blox-link:hover,
  #home-link:hover {
    color: #FFBD69;
  }

  #portfolio-link:active,
  #photoshop-link:active,
  #indesign-link:active,
  #blox-link:active,
  #home-link:active {
    color: #f36363;
  }

  /* Images */
  /* Header Image */

  .banner {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    border-bottom: .5px solid #fff;
    box-shadow: 0 4px 8px 0 black, 0 6px 20px 0 black;
  }

  /* Headshot Image */
  .audrey {
    margin: auto;
    display: block;
    width: 500px;
    height: auto;
    max-width: 60%;
    border-radius: 50%;
    border: #FFBD69 2px solid;
    background: #202040;
    padding: 5px;
  }

  /* Nav Bar */
  .main-nav {
    background: transparent;
    box-shadow: 0 4px 8px 0 black, 0 6px 20px 0 black;
  }

  #main-nav.scroll {
    background: #fff;
    box-shadow: 0 4px 8px 0 black, 0 6px 20px 0 black;
  }

  #main-nav.scroll a {
    color: #202040;
  }

  #main-nav.scroll li a:hover {
    color: #FFBD69;
  }

  #main-nav.scroll li a:active {
    color: #f36363;
  }

  li a:hover {
    color: #FFBD69;
  }

  li a:active {
    color: #f36363;
  }

  ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 4px 8px 0 black, 0 6px 20px 0 black;
  }

  li a {
    display: list-item;
    color: white;
    text-align: center;
    font-size: 16px;
    padding: 15px;
    text-decoration: none;
  }

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

  nav ul {
    display: none;
  }

  nav {
    position: fixed;
    width: 100%;
    border-bottom: .5px solid #fff;
    top: 0;
    left: 0;
  }

  /* About Section */
  .flex-about {
    text-align: center;
    margin-top: 10em;
  }

  .home-paragraph,
  .AL-paragraph {
    display: inline-block;
    font-size: 16px;
    width: 85%;
    max-width: 600px;
    line-height: 1.8;
    text-align: left;
  }

  /* Projects Section */
  .project {
    display: inline-block;
    background: #533c63;
    box-shadow: 0 4px 8px 0 black, 0 6px 20px 0 black;
    text-align: center;
    margin-top: 2em;
    padding-bottom: 2em;
    border-radius: 8px;
    width: 100%;
    height: auto;
    margin: 0px;
    max-width: 850px;
    padding: 1em;
  }

  .flip-card {
    background-color: transparent;
    width: 100%;
    max-width: initial;
    height: auto;
    border: transparent;
    perspective: 2000px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3em;
  }

  .flip-card-inner {
    position: relative;
    height: 40vh;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
  }

  .AL-screenshot {
    width: 100%;
    height: 100%;
    box-shadow: 0 4px 8px 0 #201727, 0 6px 20px 0 #201727;
  }

  .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }

  .flip-card-front,
  .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
  }

  .flip-card-back {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    color: white;
    transform: rotateY(180deg);
    padding: 15px;
    box-shadow: 0 4px 8px 0 #201727, 0 6px 20px 0 #201727;
  }

  /* Form */

  form {
    opacity: 80%;
    padding: 20px;
    color: black;
    display: inline;
    overflow: hidden;
  }

  .form-para {
    margin-left: 15px;
    margin-right: 15px;
  }

  .contact-para {
    margin-left: 2em;
    margin-right: 2em;
  }

  .contact-me {
    margin-top: 0;
    margin-bottom: 2em;
  }

  #email,
  #name,
  #phone,
  #textarea {
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 275px;
    border: 1.5px solid #fff;
    background: transparent;
    padding: 5px;
    text-align: center;
    margin: 0 auto;
    border-radius: 8px;
    margin-top: 10px;
    padding: 15px;
    color: #fff;
  }

  .goog-inline-block {
    position: absolute;
  }

  #recaptcha {
    text-align: center;
  }

  .g-recaptcha {
    display: inline-block;
  }

  #submit:disabled {
    border: 1px solid #999999;
    background-color: #cccccc;
    color: #666666;
  }

  #contact {
    text-align: center;
    display: flex;
    justify-content: center;
    font-size: 16px;
    line-height: 1.6;
  }

  #textarea {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  select,
  textarea,
  label,
  textarea {
    font-family: 'Montserrat', sans-serif;
    color: #fff !important;
  }

  input,
  textarea {
    font-family: 'Montserrat', sans-serif !important;
    border: 1.5px solid #fff;
    background: transparent;
    padding: 15px;
    border-radius: 8px;
  }

  textarea {
    margin: .75em !important;
  }

  textarea:focus,
  input:focus {
    outline: none !important;
    box-shadow: 0 0 10px #FFBD69;
    padding: 3%;
    color: #fff;
  }

  #submit:enabled {
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    border: 1px solid #fff;
    background: #533c63;
    color: #fff;
    padding: 15px;
    text-align: center;
    margin: 0 auto;
    border-radius: 8px;
  }

  #submit:hover:enabled {
    background-color: #FFBD69;
    color: #202040;
  }

  #submit:active:enabled {
    background-color: #f36363;
    color: #202040;
  }

  ::placeholder {
    color: rgb(207, 192, 192);
  }

  /* Footer */
  footer {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    background: #000;
    color: #fff;
    height: auto;
    overflow-x: hidden;
    bottom: 0;
    width: 100%;
    margin-top: 15px;
    padding: 15px;
    position: relative;
    display: flex;
    justify-content: space-evenly;
  }

  .icon {
    width: 20px;
    height: 20px;
  }

  .social {
    text-align: center;
    margin-bottom: 1em;
  }

  .social-h3:hover {
    color: #fff;
  }

}

@media only screen and (min-width: 481px) and (orientation : landscape) {
  
  .project {
    padding-left: 3em;
    padding-right: 3em;
  }
}

@media only screen and (min-width: 768px) {

  video {
    width: 75%;
  }

  .audrey {
    max-width: 50%;
  }

  .flip-card-inner {
    height: 75vh;
  }

  /* Education & Certificates subsection */

  #education-h3:hover {
    color: #fff;
  }
}

@media only screen and (min-width: 1024px) {

  .flex-about {
    padding-top: 35%;
  }

  /* Hamburger Menu */
  .openbtn {
    display: none;
  }

  /* Navigation */
  nav ul {
    display: flex;
    justify-content: space-evenly;
  }

  .sidebar a {
    color: #fff;
    font-size: 16px;
    padding: 15px;
  }

  .banner {
    margin-top: 3.25em;
  }

  .social-contact {
    margin-left: auto;
    margin-right: auto;
  }

  #AL-paragraph2 {
    display: inline-block;
  }

  /* Education & Certificates subsection */

  #education-h3:hover {
    color: #fff;
  }

  video {
    width: 55%;
  }
}