@charset "UTF-8";

@font-face {
  font-family: daysOne;
  src: url('../fonts/DaysOne-Regular.ttf');
}

@font-face {
  font-family: poppinsRegular;
  src: url('../fonts/Poppins-Regular.ttf');
}

/* https://stackoverflow.com/questions/826782/how-to-disable-text-selection-highlighting */
.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

body {
  margin: 0;
  font-size: 16px;
  min-width: 320px;
  font-family: PoppinsRegular, sans-serif;
  background-color: #f1f1f1;
}

body header {
  position: fixed;
  display: flex;
  min-width: 320px;
  width: 100vw;
  height: 75px;
  top: 0;
  background-color: #00000080;
  z-index: 2;
}

#logo-text {
  font-size: 2rem;
  margin: 0;
  padding: 0;
  padding-left: 1.5rem;
  font-family: daysOne, Arial, Helvetica, sans-serif;
  color: #fff;
  line-height: 75px;
}

body header nav {
  margin-left: auto;
  margin-right: 5vw;
}

body header nav ul {
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

body header nav ul li {
  display: flex;
  align-items: center;
  height: inherit;
  float: left;
}

body header nav ul li a {
  font-family: daysOne, Arial, Helvetica, sans-serif;
  font-size: 1.4rem;
  color: #fff;
  text-decoration: none;
}

body header nav ul li a:after {
  display: block;
  content: '';
  transform: scaleX(0);
  transform-origin: 50% 50%;
  transition: transform 250ms ease-in-out;
  border-bottom: 2px solid #b2b2b2;
}

body header nav ul li a:hover:after, body header nav li .selected:after{
  transform: scaleX(1);
  transform-origin: 50% 50%;
}


body header nav ul li:not(:first-child) {
  margin-left: 2rem;
}

body header nav ul li a:hover {
  cursor: pointer;
  color: #b2b2b2;
}

header #mobile-nav-btn-open, header #mobile-nav-btn-close {
  display: none;
}

main {
  min-height: 100vh;
}

main #page-title-section {
  width: 100%;
  height: 275px;
  background-color: #5c5c5c;
}

main #page-title-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  top: 75px;
  height: calc(100% - 75px);
}

main #page-title-container h1 {
  margin: 0;
  padding: 0;
  font-family: daysOne, Arial, Helvetica, sans-serif;
  font-size: 3rem;
  color: #fff;
}

#main-img img {
  display: block;
  width: 100%;
  height: 100vh;
  margin: auto;
  object-fit: cover;
  object-position: top;
}

#main-img #main-img-overlay-section {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 75px;
  left: 0;
  width: 50%;
  height: calc(100% - 75px);
}

#main-img div #main-img-text-container {
  min-width: 250px;
  width: 80%;
  max-width: 650px;
  height: auto;
  padding: 1rem;
  background-color: #ffffff99;
  border-radius: 0.5rem;
  color: #000;
  font-family: daysOne, Arial, Helvetica, sans-serif;
}

#main-img-text-container h1 {
  font-size: 2.5rem;
}

#main-img-text-container h2 {
  font-size: 1.5rem;
}

#main-img-text-container h1, #main-img-text-container h2 {
  margin: 1.5rem;
  text-align: center;
}

.content-section {
  width: 100%;
  height: 500px;
  background-color: #f1f1f1;
}

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100px;
  width: calc(100% - 10px);
  padding: 1rem 5px 1rem 5px;
  background-color: #5c5c5c; /* #000 */
  /* margin-top: 100px */
}

#footer-links a img {
  height: 32px;
  padding: 5px;
}

#footer-links a:not(:first-child) {
  margin-left: 0.5rem;
}

footer p {
  margin: 5px;
  margin-bottom: 0;
  font-size: 1.25rem;
  font-family: daysOne, Arial, Helvetica, sans-serif;
  color: #fff;
}

/* Media Queries */

@media only screen and (min-width: 1201px) {

}

@media only screen and (max-width: 1200px) {

}

@media only screen and (max-width: 1024px) {
  #main-img #main-img-overlay-section {
    width: 100%;
  }
}

@media only screen and (max-width: 768px) {
  body header nav ul li a:after {
    content: none;
    transform: none;  
    transition: none;
    border-bottom: none;
  }
  body header nav ul li a:after{
    transform-origin: none;
  }
  body header nav ul li a:hover:after{
    transform: none;
    transform-origin: none;
  }
  
  #main-img-text-container h1 {
    font-size: 2rem;
  }

  #main-img-text-container h2 {
    font-size: 1.25rem;
  }
  
  #main-img img {
    object-position: right;
  }

  /* Mobile nav */
  header nav {
    display: block;
    position: fixed;
    background-color: #00000080;
    top: 75px;
    left: 100%;
    width: 100%;
    height: calc(100vh - 75px) !important;
    transition-duration: 500ms;
  }

  header nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  header nav ul li:not(:first-child) {
    margin-left: 0 !important;
  }
  
  header nav ul li, header nav ul li a {
    height: auto !important;
    width: 100%;
    padding: 1rem;
    text-align: center;
  }

  header #mobile-nav-btn-open, header #mobile-nav-btn-close {
    align-self: center;
    width: 40px;
    margin-left: auto;
    margin-right: 1.5rem;
    fill: #fff;
  }

  header #mobile-nav-btn-open {
    display: block;
  }

  header #mobile-nav-btn-open:hover, header #mobile-nav-btn-close:hover {
    fill: #b2b2b2;
    cursor: pointer;
  }
}

@media only screen and (max-width: 480px) {
  #logo-text {
    padding-left: 1rem;
    font-size: 1.6rem;
  }

  #main-img-text-container h1 {
    font-size: 1.5rem;
  }

  #main-img-text-container h2 {
    font-size: 1rem;
  }

  footer p {
    font-size: 1rem;
  }
}