* {
    box-sizing:border-box;
}

img {
    max-width:100%;
}

body {
  margin:0;
  background-color: beige;
}

.navbar {
  overflow: hidden;
  background-color: rgb(30, 30, 70);
  top:0px;
  text-align: center;
  font-family: "baskerville", serif;
  font-weight: 400;
  font-style: normal;
}

.work{
  font-family: "baskerville", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  margin-top: 18px;
}

.navbar .name {
  float:left;
  font-size: 45px;
  color: beige;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-family: "carol-gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.navbar a {
  float: right;
  color: beige;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.dropdown {
  float: right;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 16px;  
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.navbar a:hover, .dropdown:hover .dropbtn {
  color: dodgerblue;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.row > .column {
  padding: 0 8px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

.column {
  float: left;
  width: 30%;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-column {
  float: center;
  width: 50vw;
  display: flex;
  padding:20px;
  margin-right: 20px;
  margin-left: 115px;
  justify-content: center;
  flex-direction: column;
  background-color: rgb(30, 30, 70);
  border-radius: 20px;  
  color: beige;
}

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

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 25px;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background-color: rgba(30, 30, 70, 0.699);
  
}

/* Modal Content */
.modal-content {
  margin: auto;
  padding: 0;
  width: 90vw;
  max-width: 100vw;
  display: flex;
  justify-content: center;
}

/* The Close Button */
.close {
  color: rgba(245, 245, 220, 0.473);
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: beige;
  text-decoration: none;
  cursor: pointer;
}

/* Hide the slides by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: rgba(245, 245, 220, 0.473);
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

.prev {
  left: 0;
  border-radius: 3px 0 0 3px;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  color:beige;
}

.caption-container {
  text-align: center;
  padding: 2px 16px;
  color: white;
}

img.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
}

.hover-shadow:hover {
  box-shadow: 0 8px 12px 0 rgba(30, 30, 70, 0.699), 0 10px 24px 0 rgba(30, 30, 70, 0.699);
}

.feather{
    display: flex;
    justify-content: center;
    height: 90vh;
}

.books{
    display: flex;
    justify-content: center;
    margin-top: 70px;
    margin-bottom: 70px;
    height: 60vh;
    width:33vw;
    flex-direction: column;
}

.red{
    display: flex;
    justify-content: center;
    height: 70vh;
}

.thrift{
    display: flex;
    justify-content: center;
    height: 70vh;
}

.effects{
    display: flex;
    justify-content: center;
    height: 69vh;
}

.helvetica{
    display: flex;
    justify-content: center;
    height: 90vh;
    width: 78vw;
}

.sab{
    display: flex;
    justify-content: center;
    height: 90vh;
    width: 70vw;
}

.hello{
  font-size: 45px;
  font-family: "carol-gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.ryan{
  font-family: "baskerville", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
}

.web{
    float:left;
    display: flex;
    justify-content: center;
    margin-top: 70px;
    width:33.3vw;
    flex-direction: column;
}

.site{
  font-family: "baskerville", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  color: rgb(30, 30, 70);
  padding: 10px;
}

.me{
    display: flex;
    justify-content: center;
    border-radius: 200px;
}

.marquee-container {
  width: 100%;
  height:20vh;
  overflow: hidden;
  white-space: nowrap;
  align-content: center;
  position: static;
  background-image: linear-gradient(rgb(30, 30, 70), beige);
}

.marquee-content {
  display: inline-block;
  animation: scroll-left 15s linear infinite;
  text-decoration: none;
  font-family: "carol-gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 60px;
  color: rgb(30, 30, 70);
}

.marquee-content span {
  display: inline-block;
  padding: 0 10px;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.flip-box {
  background-color: transparent;
  margin-top: 20px;
  width: 30vw;
  height:91.5vh;
  perspective: 1000px; 
  float: left;
  margin-right: 115px;
  display: flex;
}

.flip-box-inner {
  position: relative;
  width: 100vw;
  height: 100vh;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

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

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

.flip-box-front {
  color: black;
  height: 80vh;
  border-radius: 200px;
}

.flip-box-back {
  background-color: rgb(30, 30, 70);
  color: beige;
  transform: rotateY(180deg);
  height: 91.5vh;
  flex-direction: column;
}

.contact-info {
  background-color: rgb(30, 30, 70);
  margin-top: 20px;
  width: 300px;
  height:40vh;
  float: left;
  display: flex;
  border-radius: 70px;
  flex-direction: column;
  text-align: center;
  justify-content: center;
}

.contact{
  text-decoration: none;
  font-family: "carol-gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 35px;
  color: beige;
  padding: 10px;
}

.insta{
  font-family: "baskerville", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  color:beige;
  text-decoration: none;
}

.insta:hover{
  color: dodgerblue;
}

.resume{
  text-decoration: none;
  font-family: "carol-gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  color: beige;
  text-decoration: none;
}

.resume:hover{
  color: dodgerblue;
}

.photo{
  font-size: 14px;
}

.sidebar {
  height: 100%;
  width: 0; /* 0 width - change this with JavaScript */
  position: fixed;
  z-index: 1;
  top: 0;
  right: 0;
  background-color: rgb(30, 30, 70);
  overflow-x: hidden;
  transition: 0.5s;
}

.sidebar a {
  padding: 8px 20px 8px 32px;
  font-size: 20px;
  color: beige;
  transition: 0.3s;
}

.side{
  font-family: "baskerville", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  margin-top: 18px;
}

.poster{
  margin-top: 23px;
}

.sidebar .closebtn {
  font-size: 36px;
  text-align: center;
  font-family: "baskerville", serif;
  font-weight: 400;
  font-style: normal;
  float:left;
  margin-top: 12px;
  padding-left: 20px;
}

.openbtn {
  font-size: 36px;
  cursor: pointer;
  background-color: rgb(30, 30, 70);
  color: beige;
  padding: 10px 15px;
  border: none;
  float: right;
  margin-top: 7.5px;
  display: none;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
  transition: margin-left .5s; /* If you want a transition effect */
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
  .sidebar {padding-top: 15px;}
  .sidebar a {font-size: 18px;}
}


@media screen and (max-width: 1000px) {

  main{
    flex-wrap: wrap;
  }

  .flip-box{
    height:79.4vh;
  }

  .flip-box-back {
    height:79.4vh;
  }

  .poster {
    width: 50%;
  }

  .web {
    width: 100%;
  }
  .helvetica, .sab {
    height: 90%;
    margin-top: 50px;
  }

  .painting {
    margin-left: 90px;
    height: 80%;
  }

}

@media screen and (max-width: 600px) {
  body {
    font-size: 120%;
  }
  main, .home {
    flex-direction: column;
  }

  .text-column{
    margin: 10px;
    width: 80%;
  }

  .flip-box{
    width: 50%;
    margin:10px;
    height:75.8vh;
  }

  .flip-box-back {
    height:75.8vh;
  }

  .column{
    width:100%;
  } 

  .helvetica, .sab {
    height: 80%;
    margin-top: 88px;
  }

  .painting {
    margin-left: 18px;
    height: 80%;
    margin-top: 60px;
  }

  .zine {
    width: 100%;
  }

  .work{
    font-size: 16px;
    display: none;
  }

  .openbtn{
    display:block;
  }

}

