* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
html {
  background-image: url("http://edorourke.net/images/servers_bkgd_077a97_light.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}
html * {
  font-size: 16px;
  line-height: 1.5;
}
body {
  font-size: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  min-width: 300px;
  font-family: "Fjord One", serif;
}
p {
  font-size: 1.2rem;
  padding-bottom: 12px;
  font-family: "Fjord One", serif;
}
h1 {
  font-family: "Sen", sans-serif;
  color: #02526a;
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: -1px;
}
h2 {
  font-family: "Sen", sans-serif;
  color: #02526a;
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: -1px;
  padding-bottom: 8px;
}
h3 {
  font-family: "Sen", sans-serif;
  color: #02526a;
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: -1px;
  padding-bottom: 8px;
}
a,
a:visited {
  color: #036682;
  text-decoration: none;
  font-size: 1.2rem;
  padding-bottom: 12px;
  font-family: "Fjord One", serif;
  font-weight: bold;
}

.main-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.main-image-wrap {
  position: relative;
  aspect-ratio: 3 / 1;
}

div {
  box-sizing: border-box;
}
header {
  width: 100%;
  background: rgba(3, 97, 125, 0.85);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 8rem;
  border-bottom: 2px solid #02526a;
  min-height: 150px;
  position: relative;
}
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 12px 20px 20px 20px;
  align-self: flex-end;
}
nav ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  column-gap: 60px;
  padding: 0;
  margin: 0;
}
nav ul li {
  list-style-type: none;
}
nav ul li a {
  text-decoration: none;
  color: #f7bc3f;
  font-size: 1.3rem;
  font-family: "Sen", sans-serif;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.61);
}
nav ul li a:hover,
nav ul li a:visited {
  text-decoration: none;
  color: #fdcb62;
}
#trigger {
  width: 60px;
  height: auto;
  position: absolute;
  right: 40px;
  top: 45px;
  cursor: pointer;
  display: none;
}
.nav-show {
  animation: fadein 0.7s forwards;
  -webkit-animation: fadein 0.7s forwards;
  display: flex;
  z-index: 9;
}
.logo {
  /* border: 1px solid red; */
}
.logo a {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0px;
}

.logo img {
  width: 380px;
  margin: 0;
  padding: 0;
}

.content-wrap {
  position: relative;
  padding-top: 2rem;
  width: 100%;
}
/* images */
#ci-desktop {
  width: 35%;
  display: block;
  margin: 0px auto;
  position: absolute;
  right: 0;
  left: 0;
  top: 5%;
  animation: fadein 1.5s;
}
#ci-laptop {
  width: 28%;
  position: absolute;
  left: 14%;
  top: 30%;
  opacity: 0;
  animation: fadein 1.5s forwards;
  animation-delay: 500ms;
}
#ci-tablet {
  width: 15%;
  position: absolute;
  right: 21%;
  top: 30%;
  opacity: 0;
  animation: fadein 1.5s forwards;
  animation-delay: 1000ms;
}
#ci-phone {
  position: absolute;
  width: 9%;
  right: 43%;
  top: 40%;
  opacity: 0;
  animation: fadein 1.5s forwards;
  animation-delay: 1500ms;
}

@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/*------------------------------------WORK  */
.container {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  height: 100%;
  display: grid;
  /* display: flex;
  flex-direction: column;
  justify-content: space-between; */
}
.main-container {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.work-content {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 80px 5%;
}
.work-card {
  width: 500px;
  height: 296px;
  border: 2px solid #02526a;
  -webkit-border-radius: 23px;
  -moz-border-radius: 23px;
  border-radius: 23px;
  -webkit-box-shadow: 10px 10px 17px -4px rgba(0, 0, 0, 0.8);
  -moz-box-shadow: 10px 10px 17px -4px rgba(0, 0, 0, 0.8);
  box-shadow: 10px 10px 17px -4px rgba(0, 0, 0, 0.8);
  background: rgba(3, 97, 125, 0.85);
}
#card1 {
  background: url("../images/work/thumb-morgia.jpg") no-repeat center center;
  background-size: cover;
  opacity: 0;
  animation: fadein 1.5s forwards;
  animation-delay: 0ms;
}
#card2 {
  background: url("../images/work/thumb-beth.jpg") no-repeat center center;
  background-size: cover;
  opacity: 0;
  animation: fadein 1.5s forwards;
  animation-delay: 200ms;
}
#card3 {
  background: url("../images/work/thumb-mlom.jpg") no-repeat center center;
  background-size: cover;
  opacity: 0;
  animation: fadein 1.5s forwards;
  animation-delay: 400ms;
}
#card4 {
  background: url("../images/work/thumb-raw.jpg") no-repeat center center;
  background-size: cover;
  opacity: 0;
  animation: fadein 1.5s forwards;
  animation-delay: 600ms;
}
#card5 {
  background: url("../images/work/thumb-twick.jpg") no-repeat center center;
  background-size: cover;
  opacity: 0;
  animation: fadein 1.5s forwards;
  animation-delay: 800ms;
}
#card6 {
  background: url("../images/work/thumb-lex.jpg") no-repeat center center;
  background-size: cover;
  opacity: 0;
  animation: fadein 1.5s forwards;
  animation-delay: 1000ms;
}

.contact-content {
  display: block;
  margin: 0 auto;
  width: 50%;
  padding-top: 40px;
}
.contact-content h2 {
  color: #fdcb62;
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.8);
}
.contact-content h3 {
  color: #2de9fc;
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.8);
  padding-bottom: 20px;
}
.linked-image {
  padding-top: 12px;
  padding-bottom: 30px;
}
.linked-image img {
  display: block;
  margin: 0 auto;
  width: 100%;
  -webkit-box-shadow: 3px 3px 13px 0px rgba(0, 0, 0, 1);
  -moz-box-shadow: 3px 3px 13px 0px rgba(0, 0, 0, 1);
  box-shadow: 3px 3px 13px 0px rgba(0, 0, 0, 1);
  border-radius: 10px 10px 10px 10px;
  -moz-border-radius: 10px 10px 10px 10px;
  -webkit-border-radius: 10px 10px 10px 10px;
  border: 0px solid #000000;
}

.personal-content {
  width: 100%;
}
.bio,
.vids {
  width: 70%;
  display: block;
  margin: 0 auto;
  padding: 40px 50px;
  margin-top: 36px;
  margin-bottom: 36px;
  -webkit-box-shadow: 3px 3px 13px 0px rgba(0, 0, 0, 1);
  -moz-box-shadow: 3px 3px 13px 0px rgba(0, 0, 0, 1);
  box-shadow: 3px 3px 13px 0px rgba(0, 0, 0, 1);
  border-radius: 10px 10px 10px 10px;
  -moz-border-radius: 10px 10px 10px 10px;
  -webkit-border-radius: 10px 10px 10px 10px;
  border: 0px solid #000000;
}
.bio {
  /* background: rgba(239, 179, 51, 0.75); */
  background: rgba(253, 216, 136, 0.9);
}
.vids {
  background: rgba(14, 218, 239, 0.75);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 35px;
  row-gap: 40px;
  padding: 80px 8px;
}
.bio p {
  font-size: 1.2rem;
  padding-bottom: 12px;
}
.vid {
  min-width: 390px;
  aspect-ratio: 1.77 / 1;
  position: relative;
  -webkit-box-shadow: 3px 3px 13px 0px rgba(0, 0, 0, 1);
  -moz-box-shadow: 3px 3px 13px 0px rgba(0, 0, 0, 1);
  box-shadow: 3px 3px 13px 0px rgba(0, 0, 0, 1);
  border-radius: 10px 10px 10px 10px;
  -moz-border-radius: 10px 10px 10px 10px;
  -webkit-border-radius: 10px 10px 10px 10px;
  border: 0px solid #000000;
}

.vid iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px 10px 10px 10px;
  -moz-border-radius: 10px 10px 10px 10px;
  -webkit-border-radius: 10px 10px 10px 10px;
  border: 0px solid #000000;
}

/*--------------------------------------FOOTER  */
.footer {
  min-height: 80px;
  background: rgba(3, 97, 125, 0.85);
  padding: 0px 8rem;
  border-top: 2px solid #02526a;
  display: flex;
  align-items: center;
}
.footer p {
  color: #024d62;
}
/*--------------------------------------MODAL  */

.modal {
  position: fixed;
  z-index: 1;
  background-color: rgba(200, 200, 200, 0.9);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
  animation: fadein 500ms forwards;
}
.inner-modal {
  background-color: gray;
  width: 80%;
  height: 70%;
  padding: 0;
  margin: 0;
  position: relative;
  border: 2px solid #02526a;
  -webkit-border-radius: 23px;
  -moz-border-radius: 23px;
  border-radius: 23px;
  -webkit-box-shadow: 10px 10px 17px -4px rgba(0, 0, 0, 0.8);
  -moz-box-shadow: 10px 10px 17px -4px rgba(0, 0, 0, 0.8);
  box-shadow: 10px 10px 17px -4px rgba(0, 0, 0, 0.8);
  background: rgba(180, 180, 180, 0.95);
  display: flex;
  background-image: url("http://edorourke.net/images/servers_bkgd_077a97_light.jpg");
}
.modal-data {
  width: 60%;
  box-sizing: border-box;
  padding: 5%;
}
.modal-data h3 {
  padding-bottom: 12px;
}
.modal-data div {
  background: rgba(255, 255, 255, 0.75);
  padding: 16px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}
.modal-image {
  width: 40%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-image img {
  height: 85%;
  width: auto;
}
.md-title {
  color: #333333 !important;
  font-size: 1.4rem;
}
.close {
  width: 15px;
  height: 15px;
  padding: 0;
  margin: 0;
  position: absolute;
  top: 12px;
  right: 16px;
  cursor: pointer;
}

/* ---------------------------- Media Queries -- */

@media (max-width: 1500px) {
}

@media (max-width: 1300px) {
  .work-content {
    gap: 30px;
    padding: 40px 3%;
  }
  .work-card {
    width: 40%;
    height: auto;
    aspect-ratio: 1.6 / 1;
  }
}

@media (max-width: 1200px) {
  header {
    padding: 0px 5rem;
  }
  .main-content {
    justify-content: start;
    padding-top: 6%;
  }
  .main-image-wrap {
    position: relative;
    aspect-ratio: 2 / 1;
  }
  .inner-modal {
    height: auto;
  }
  .modal-data {
    width: 60%;
    box-sizing: border-box;
    padding: 5%;
  }
  .modal-image {
    align-items: start;
    padding-top: 4%;
  }
  .modal-image img {
    height: 75%;
    width: auto;
  }
  .contact-content {
    width: 60%;
  }
}
@media (max-width: 1100px) {
  nav {
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    position: absolute;
    right: 0px;
    bottom: -212px;
    background: rgba(3, 97, 125, 0.85);
    border-bottom: 2px solid #02526a;
    border-left: 2px solid #02526a;
  }
  nav ul {
    flex-direction: column;
    align-items: start;
    row-gap: 28px;
    padding: 0;
    margin: 0;
  }
  #trigger {
    display: block;
  }
}
@media (max-width: 992px) {
  .main-content {
    padding-top: 6%;
  }
  .main-image-wrap {
    aspect-ratio: 2.4 / 1;
  }
  #ci-desktop {
    width: 50%;
    right: 0;
    left: 0;
    top: 5%;
  }
  #ci-laptop {
    width: 38%;
    height: auto;
    left: 8%;
    top: 42%;
  }
  #ci-tablet {
    width: 21%;
    right: 12%;
    top: 30%;
  }
  #ci-phone {
    width: 13%;
    right: 38%;
    top: 48%;
  }
  .inner-modal {
    width: 80%;
    height: 900px;
    flex-direction: column;
  }

  .modal-data {
    width: 100%;
    box-sizing: border-box;
    padding: 5%;
  }
  .modal-data h3 {
    padding-bottom: 12px;
  }
  .modal-data div {
    padding: 24px;
  }
  .modal-image {
    width: 100%;
  }
  .contact-content {
    width: 70%;
  }
}
@media (max-width: 768px) {
  header {
    padding: 0px 2rem;
  }
  .logo img {
    width: 250px;
  }
  .main-content {
    padding-top: 10%;
    min-height: 600px;
  }
  .main-image-wrap {
    aspect-ratio: 1.6 / 1;
  }
  .work-content {
    gap: 50px;
  }
  .work-card {
    width: 75%;
  }
  .inner-modal {
    padding-top: 20px;
    height: 100%;
    overflow: scroll;
  }
  .modal-data h2 {
    font-size: 1.4rem;
  }
  .modal-data h3 {
    font-size: 1.2rem;
    word-wrap: break-word;
  }
  .md-title {
    font-size: 1.3rem;
  }
  .contact-content {
    width: 80%;
  }
  .bio,
  .vids {
    width: 80%;
    padding: 40px;
  }
  .vid {
    min-width: 100%;
    aspect-ratio: 1.77 / 1;
  }
}
@media (max-width: 576px) {
  header {
    padding: 0px 4rem;
    min-height: 100px;
  }
  .logo img {
    width: 210px;
  }
  #trigger {
    width: 55px;
    height: auto;
    right: 30px;
    top: 25px;
  }
  .main-content {
    padding-top: 10%;
    min-height: 600px;
  }
  .main-image-wrap {
    aspect-ratio: 1.3 / 1;
  }
  .contact-content {
    height: 100%;
    width: 85%;
  }
  .contact-content h2 {
    font-size: 1.4rem;
  }
  .contact-content h3 {
    font-size: 1.1rem;
  }
  .personal-content {
    height: auto;
  }
  .footer {
    padding: 0px 1rem;
    align-items: end;
  }
  .footer p {
    font-size: 0.9rem;
  }
}

@media (max-width: 400px) {
  body {
    grid-template-rows: 100px 1fr 80px;
  }
  header {
    padding: 0px 2rem;
  }
  .logo img {
    width: 210px;
  }
  .main-content {
    padding-top: 3%;
    min-height: 600px;
  }
  .main-image-wrap {
    aspect-ratio: unset;
    height: 100%;
  }
  #ci-desktop {
    width: 80%;
    z-index: 2;
  }
  #ci-phone {
    display: block;
    left: 44px;
    top: 170px;
    width: 23%;
    z-index: 3;
    animation-delay: 500ms;
  }
  #ci-laptop {
    width: 73%;
    height: auto !important;
    top: 310px;
    display: block;
    left: 40px;
    z-index: 4;
    animation-delay: 1000ms;
  }
  #ci-tablet {
    width: 40%;
    right: 18px;
    top: 160px;
    z-index: 5;
    animation-delay: 1500ms;
  }

  .work-content {
    gap: 26px;
  }
  .work-card {
    width: 80%;
  }

  .bio,
  .vids {
    width: 90%;
    padding: 40px 16px;
  }
  .bio p {
    font-size: 1.1rem;
    line-height: 1.25rem;
    padding-bottom: 12px;
  }
  .vid {
    min-width: 100%;
  }

  .modal-image img {
    height: 80%;
    width: auto;
  }
  .inner-modal {
    width: 85%;
    height: 100%;
    padding: 30px 16px;
  }
}
