body {
    background-color: purple;
    background-image: url(../images/purple-green.jpg);
    background-size: contain;
    background-repeat: repeat-y;
}
main {
    background-image: url(../images/student-background.jpg);
    background-repeat: repeat-y;
    background-position: top;
    background-size: cover;
    max-width: 1400px;
    height: 100%;
    margin: -3.5rem auto -15rem auto; /* THE NEGATIVE MARGIN IS NEEDED FOR THE HEADER AND FOOTER */
}
/* nav {
    height: 3rem;
    text-align: center;
    background-color: cornflowerblue;
    opacity: 0.8;
    position: fixed;
    color: white;
    width: 100%;
    z-index: 100;
} */

nav {
    background-color: rgba(197, 197, 197, 0.5);
    display: flex;
    justify-content: center;
    position: sticky;
    z-index: 1000;
    top: 0;
  }

  .main-nav ul {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 0;
    margin-bottom: 0.75rem;
  }

.main-nav ul li {
    list-style: none;
    position: relative;
    transition: 0.5s;
    display: block;
    margin-top: 0.75rem;
  }
  
  .main-nav ul li a {
    font-family: "poppins";
    color: black;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
  }
  
  .main-nav ul li a:hover {
    text-decoration: underline;
  }


.ipad-invisible-button {
    display: none;
}

.invisible-button {
    color: transparent;
    display: inline-block;
    position: relative;
    width: 13rem;
    height: 8rem;
    top: 10rem;
  }

  .next-button {
    color: transparent;
    background-image: url(../images/next.svg);
    background-color: #aada38;
    display: inline-block;
    position: relative;
    width: 10rem;
    height: 4rem;
    top: 5rem;
    rotate: 10deg;
    background-repeat: no-repeat;
    left: 1rem;
  }

.contentarea {
    margin-top: 3rem;
    overflow: visible;
    position: relative;
}
.first-column {
    margin-top: 4rem;
}
.second-column {
    padding-bottom: 25rem;
}
.extra-tall {
    font-size: 400px;
    color: rgba(255, 0, 0, 0.25)
}
.paperscrap {
    z-index: 0;
    position: absolute;
    right: -4rem;
    width: 41rem;
    top: -3rem;
}
.student-name {
    position: absolute;
    color: purple;
    font-size: 2.25rem;
    top: 7rem;
    left: 20rem;
    rotate: 13deg;
    text-align: center;
}
.portrait {
    background-color: #cbcbcb;
    position: relative;
    top: 1rem;
    left: 0;
    width: 18rem;
    height: 22rem;
    box-shadow: rgba(0, 0, 0, 0.54) 1px 3px 10px;
    z-index: 40;
    border-radius: 4px;
}
.portrait:after {
    content: url('../images/student-tape-1.png');
    transform: scaleX(-1);
    rotate: -24deg;
    position: absolute;
    top: -3rem;
    left: 3rem;
}
.major {
    position: relative;
  top: 0.85rem;
  text-align: center;
  font-size: 1.5rem;
  color: rgb(60, 0, 128)
}
.portrait img {
    width: 17rem;
    margin: 0.5rem;
}

.statement {
    position: relative;
  top: 0.5rem;
  line-height: 1.6rem;
  text-align: left;
}

.photo-tile {
    background-color: #ffffff;
    position: relative;
    margin: 0 0 1.75rem;
    padding: 0.5rem;
    margin: 1rem auto;
    width: max-content;
    box-shadow: rgba(0, 0, 0, 0.54) 0px 3px 8px;
    transition: transform 0.1s;
}

.photo-tile:hover {
    transform: rotate(2deg);
}

.photo-tile:after {
    content: url('../images/student-tape-1.png');
    position: absolute;
  top: -3.25rem;
  left: 2rem;
  rotate: 15deg;
}

#photo-2:after {
    content: url('../images/student-tape-2.png');
    rotate: -16deg;
  left: 3rem;
}
#photo-3::after {
    transform: scaleX(-1); /* flip the image */
    rotate: -15deg;
}

.photo-tile a img {
    max-width: 16rem;
    max-height: 16rem;
}

#photo-1 {
    rotate: -8deg;
    z-index: 10;
}
#photo-2 {
    rotate: 9deg;
    z-index: 20;
    left: 1rem;
}
#photo-3 {
    rotate: -8deg;
    z-index: 30;
}

.social-links {
    text-align: left;
    margin-top: 2.5rem;
    width: 100%;
}
.social-links a {
    width: 3rem;
    height: 3rem;
    margin: 0.35rem;
    display: none;
    position: relative;
    overflow: visible;
    color: transparent;
    transition: 0.3s;
}

.social-links a.show-social {
    display: inline-block;
}

.social-links a:hover {
    top: -2px;
}
#instagram::after {
    content: ' ';
    background-image: url('../images/instagram.svg');
    background-size: contain;
    height: 3rem;
    width: 3rem;
    display: inline-block;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 0;
}
#behance::after {
    content: ' ';
    background-image: url('../images/behance.svg');
    background-size: contain;
    height: 3rem;
    width: 3rem;
    display: inline-block;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 0;
}
#linkedin::after {
    content: ' ';
    background-image: url('../images/linkedin.svg');
    background-size: contain;
    height: 3rem;
    width: 3rem;
    display: inline-block;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 0;
}
#dribbble::after {
    content: ' ';
    background-image: url('../images/dribbble.svg');
    background-size: contain;
    height: 3rem;
    width: 3rem;
    display: inline-block;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 0;
}
#www::after {
    content: ' ';
    background-image: url('../images/www.svg');
    background-size: contain;
    height: 3rem;
    width: 3rem;
    display: inline-block;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 0;
}

.lightbox-caption {
    font-family: "Poppins", Arial, Helvetica, sans-serif;
    font-style: normal!important;
    font-size: 1.1rem;
    background-color: rgba(0,0,0,0.5);
}

.show-headline {
    text-align: center;
    font-family: "Permanent Marker", cursive;
    font-weight: 400;
    font-style: normal;
    color: rgb(139, 22, 139);
    margin-top: 80px;
}

.video-window {
    width: 100%;
    text-align: center;
    margin: 40px 0;
  }
  
  .video-window.vid2 {
    margin-bottom: 250px;
  }

  .video-window h3 {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
    color: rgb(103, 181, 26);
  }

  .video-window iframe {
    border: 3px solid gray;
    min-height: 400px;
  }
  
/* Medium devices (tablets, less than 1200px) */
@media (max-width: 1199.98px) {
    main {
        margin-bottom: -13rem;
    }
    .portrait {
        top: auto;
        left: auto;
        margin: 1rem auto;
    }
    .paperscrap {
        display: none;
    }
    .student-name {
        position: relative;
      left: 0;
      rotate: 0deg;
      top: 0.5rem;
    }
    .invisible-button {
        color: transparent;
        display: inline-block;
        position: absolute;
        width: 8rem;
        height: 4rem;
        top: 6rem;
        left: 1rem;
        /* background-color: rgba(255,0,0,0.25); */
        z-index: 100;
    }
    .next-button {
        display: none;
    }
    .photo-tile a img {
        max-width: 13rem;
    }
    .statement {
        margin-bottom: 15rem;
    }
    .social-links {
        text-align: center;
    }
    .social-links a {
        margin: 0.1rem;
    }
    .show-headline {
        margin-top: 50px;
    }
    .video-window iframe {
        min-height: 310px;
      }
 }

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) { 
    body {
        position: relative;
    }
    .paperscrap {
        display: none;
    }

    .photo-tile a img {
        max-width: 16rem;
    }
    .social-links {
        text-align: center;
    }
    .invisible-button,
    .ipad-invisible-button {
        display: none;
    }
    .next-button {
        display: none;
    }
    .photo-tile a img {
        max-width: 13rem;
    }
    .statement {
        margin-bottom: 0.5rem;
    }
    .second-column {
        padding-bottom: 35rem;
    }

    .video-window.vid2 {
        margin-bottom: 510px;
    }

    .show-headline {
        margin-top: 30px;
    }

    .video-window iframe {
        min-height: 240px;
      }
 }


 @media (min-width: 576px) and (max-width: 767px) {
    .container-sm.entire-content {
      max-width: 720px;
    }

    .entire-content .col-sm-2 {
        width: 1%!important;
    }
  }