/* GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald&family=Poppins&display=swap');


/* BASIC STYLES */
html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

main {
  margin-top: 79px;
}

body {
  margin: 0 auto;
  line-height: 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: 'Poppins', sans-serif;
  font-size: .938rem;
  background-color: hsla(240, 20%, 99%, 0.897);
  color: hsl(207, 4%, 28%);
}

h1,
h2,
h3 {
  color: hsl(207, 4%, 16%);
  font-weight: 500;
  font-size: .938rem;
}

ul,
li {
  list-style: none;
}

.brsmall {
  margin-top: 500px;
}

img {
  width: 100%;
  height: auto;
  display: block;
}

/* LANDING */
.landing-page {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-color: #ffffff;
}

.landing-container {
  text-align: center;
}

.landing-logo {
  display: block;
  margin: 0 auto;
  padding: 5%;
  max-width: 80%;
  height: auto;
  animation: fade-in 1.5s ease-out forwards;
}

.enter-text {
  color: #383838;
  margin-top: 50px;
  font-size: 20px;
  text-decoration: none;
  font-size: 3rem;
  font-family: 'Oswald', serif;
  cursor: pointer;
  animation: fade-in 1.5s ease-out forwards;
  transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
}

.enter-text:hover {
  transform: scale(1.1);
  color: rgb(157, 157, 157);
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* LOGO */
.img-logo {
  display: flex;
  align-items: center;
  white-space: nowrap;
  margin: 0;
  padding: 3px;
  width: 70px;
  font-size: 18px;
  font-weight: bold;
  font-family: 'Oswald', serif;
  color: #000;
}

.logo-text {
  margin-left: 8px;
  text-decoration: none;
  color:#000
}

/* NAVBAR STYLES */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 5px 10px rgba(43, 43, 43, 0.1);
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
}

header .navbar ul {
  list-style: none;
}

header .navbar ul li {
  position: relative;
  float: left;
}

header .navbar ul li a {
  font-size: 15px;
  padding: 15px;
  color: #333;
  display: block;
  
}

header .navbar ul li a:hover {
  background-color: #7c7c7c;
  color: #fff;
  transition: 0.3s;
}

header .navbar ul li ul {
  position: absolute;
  left: 0;
  width: 200px;
  background: #fff;
  display: none;
}

header .navbar ul li ul li{
  width: 100%;
  border-top: 1px solid rgba(0,0,0,.1);
}

header .navbar ul li ul li ul{
  left: 200px;
  top: 0;
}

header .navbar ul li:focus-within > ul,
header .navbar ul li:hover > ul {
  display: initial;
}

#menu-bar {
  display: none;
}

header label {
  font-size: 20px;
  color: #333;
  cursor: pointer;
  display: none;
}

.navbar a {
  letter-spacing: .5px;
  text-decoration: none;
}

/* VIDEOGRAPHY COLUMNS */
.card {
  position: relative;
  background-color: #eee;
  padding: 10px;
}

.card-title {
  padding-top: 5px;
  font-size: 14px;
}

.vid-span {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
}

.video {
  aspect-ratio: 16 / 9;
  width: 100%;
}

.flex-container {
  display: flex;
  justify-content: space-around;
  align-content: center;
  flex-flow: row wrap;
}

.about {
  background-image: url('../img/tony-everywhere-multomah-falls.jpg');
  background-position: bottom;
  background-repeat: no-repeat;
}

.flex-item {
  width: 30%;
  margin: 10px;
}

/* GALLERY */
.gallery-page {
  padding: 16px 1rem 10rem 1rem;
}

.gallery-auto-fit {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-auto-rows: 300px;
  grid-gap: 0.5rem;
}

.gallery-span {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: 300px;
  grid-gap: 0.5rem;
  grid-auto-flow: dense;
}

.gallery-item {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.gallery-img {
  height: 100%;
  object-fit: cover;
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
}


.gallery-img:hover {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

.w-1,
.w-2,
.w-3,
.w-4,
.w-5,
.w-6 {
  grid-column: span 1;
}

.h-1,
.h-2,
.h-3,
.h-4,
.h-5,
.h-6 {
  grid-row: span 1;
}

/* MEDIA QUERIES LARGE SCREENS FOR GALLERY */
@media (min-width: 600px) {
  .gallery-span {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .w-1 {
    grid-column: span 1;
  }

  .w-2 {
    grid-column: span 2;
  }

  .w-3 {
    grid-column: span 3;
  }

  .w-4 {
    grid-column: span 4;
  }

  .w-5 {
    grid-column: span 5;
  }

  .w-6 {
    grid-column: span 6;
  }

  .h-1 {
    grid-row: span 1;
  }

  .h-2 {
    grid-row: span 2;
  }

  .h-3 {
    grid-row: span 3;
  }

  .h-4 {
    grid-row: span 4;
  }

  .h-5 {
    grid-row: span 5;
  }

  .h-6 {
    grid-row: span 6;
  }
}

.home-text {
  padding: 3rem;
  text-align: center;
}

.home-title {
  font-size: 40px;
  font-family: 'Oswald', serif;
  font-weight: bold;
  line-height: 40px;
}

/* STATUS COLOR */
.color-red {
  color: hsl(4, 71%, 50%);
}

.color-blue {
  color: hsl(207, 56%, 45%)
}

/* ABOUT PAGE */
.tony-bio {
  padding: 3%;
  margin: 0 auto;
  margin-top: 3%;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.753); 
  font-size: 0.9rem;
  width: 77%;
}

/* FOOTER */
footer {
  width: 100%;
  bottom: 0;
  margin-top: auto;
  display: block;
}

.footer__container {
  padding: 1rem;
  text-align: center;
  background-color: #eee;
  
}

.footer__list,
.footer__social,
.footer__copy {
  display: flex;
  justify-content: center;
  font-size: 12px;
}

.footer__list {
  margin: 2.5rem 0;
  column-gap: 2.5rem;
}

.footer__link:hover {
  text-decoration: underline;
}

.footer__social {
  column-gap: 1.25rem;
  padding: 5px;
}

.footer-text {
  font-size: 12px;
  font-family: 'Poppins', sans-serif;
}

.footer__social-link {
  font-size: 1.25rem;
  color: black;
  transition: transform .4s;
  text-decoration: none;
}

.footer__social-link:hover {
  transform: translateY(-.15rem);
}

.footer__copy {
  padding-top: 10px;
}

/* BIO */
.bio-title {
  font-size: 30px;
  font-weight: bold;
  line-height: 40px;
  font-family: 'Oswald', serif;
  padding-bottom: 30px;
  text-align: center;
}

.bio-section {
  background-image: url('../img/tony-everywhere-multomah-falls.jpg');
  background-position: bottom;
  background-repeat: no-repeat;
}

/* SLIDESHOW CONTAINER */
.slideshow-container {
  max-width: 100%;
  position: relative;
  margin: auto;
  background-color: #000;
}

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

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  width: auto;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  margin-top: -250px;
}

/* Position the "next button" to the right */
.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 {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.text {
  color: #000;
  font-size: 15px;
  padding: 10px 10px;
  position: absolute;
  bottom: -40px;
  width: 100%;
  text-align: right;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
  margin-top: 15px;
}

.active,
.dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: .4
  }

  to {
    opacity: 1
  }
}

/* CONTACT PAGE */
.contact-background {
  background-image: url('../img/lego-photography-Escaped-Pilot.jpg');
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
}

.contact-container {
  width: 100%;
  padding: 3%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#contact-form {
  border-radius: 10px;
  margin: 0 auto;
}

#contact-form input, #contact-message {
  border: 2px solid #a1a1a1;
  border-radius: 2rem;
  z-index: 1;
}

.contact__form-tag, .questions {
  font-family: 'Oswald';
  font-weight: bold;
}

.red {
  color: red;
}

.submit {
  font-family: 'Oswald';
  font-size: 1rem;
}

.questions {
  padding: 3%;
  margin: 0 auto;
  font-size: 2rem;
  text-align: center;
  line-height: 1.5;
}

form {
  background-color: rgba(255, 255, 255, 0.881);
  display: flex;
  flex-direction: column;
  padding: 2vw 4vw;
  width: 90%;
  max-width: 600px;
}

form h3 {
  font-weight: 800;
}

form input, form textarea {
  border: 0;
  margin: 10px 0;
  padding: 20px;
  outline: none;
  font-size: 13px;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
}

form button {
  padding: 15px;
  background: #6c6c6c;
  color: #fff;
  border: 0;
  border-radius: 10px;
  outline: none;
  cursor: pointer;
  margin: 20px auto 0;
  width: 100%;
  transition: .3s ease background-color;
}

form button:hover {
  background-color: #949494;
}

/* Extra small devices */
@media screen and (orientation:landscape)
and (min-device-width: 319px) 
and (max-device-width: 897px) {
  header .navbar ul li a {
    font-size: 9px;
  }
}

@media only screen and (max-width: 866px) {
  html {
    background-color: #fff;
    overflow-x: hidden;
  }

  body {
    overflow-x: hidden;
    position: relative;
  }

  .img-logo img {
    padding: 0;
    margin: 0;
    margin-right: 10px;
  }

  .logo-text {
    text-decoration: none;
  }
  
  .menu {
    margin-top: 20px;
  }

  .hero-img {
    margin-top: 0;
    width: 200%;
  }

  header .navbar ul li a {
    font-size: 12px;
    font-weight: bolder;
    padding: 8px;
  }

  .slideshow-container {
    background-color: #4d4d4d;
  }

  .slideshow-container .phone {
    margin-left: -100px;
    background-color: #4d4d4d;
  }

  .text {
    display: none;
  }

  .home-title {
    font-size: 25px;
    margin-top: 0px;
    line-height: 1.25;
  }

  .home-text {
    padding: 1rem;
    font-size: 0.85rem;
  }

  .gallery-page {
    margin-inline-start: 0;
    padding: 0;
  }

  .flex-container {
    flex-direction: column;
    padding: 0.5rem;
  }

  .flex-item {
    width: 100%;
  }

  .tony-bio {
    padding: 0;
    margin: 20px auto;
  }

  .about {
    background: none;
  }

  .column {
    margin: 0 auto;
  }

  .about-text {
    font-size: 0.8rem;
  }

  /* VIDEOGRAPHY COLUMNS */

  .vid-span {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    padding-bottom: 10px;
  }

  .card {
    padding: 0;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .card-title {
    text-align: center;
  }

  .card-text {
    display: none;
  }

  .text {
    font-size: 0.75rem;
  }

  .questions {
    font-size: 1.3rem;
  }

  .footer__copy {
    font-size: 12px;
  }

  .footer__list,
  .footer__social {
    padding: 0;
    margin: 0 auto;
  }

  .footer-text {
    font-size: 0.55rem;
  }

  .footer__copy {
    font-size: 0.65rem;
  }

  .footer__container {
    padding: 0.5rem;
  }

  form {
    width: 100%;
  }

  .mobile {
    display: none;
  }

  ::-webkit-scrollbar { display: none; }
}

/* APPLYING MEDIA QUERIES */
@media (max-width: 768px) {
  .menu {
    display: none;
    position: absolute;
    background-color: #fff;
    color: #000;
    right: 0;
    left: 0;
    text-align: center;
    padding: 16px 0;
  }

  .menu li:hover {
    display: inline-block;
    background-color: #e1e1e1;
    transition: 0.3s ease;
  }

  .menu li+li {
    margin-top: 12px;
  }


  input[type=checkbox]:checked~.menu {
    display: block;
  }

  .hamburger {
    display: block;
  }
    
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (max-width:991px) {
  header label {
    display: initial;
  }

  header .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid rgba(0,0,0,.1);
    display: none;
    text-align: center;
  }

  header .navbar ul li {
    width: 100%;
  }

  header .navbar ul li ul {
    position: relative;
    width: 100%;
  }

  header .navbar ul li ul li {
    background-color: #eee;
  }

  header .navbar ul li ul li ul {
    width: 100%;
    left: 0;
  }

  #menu-bar:checked ~ .navbar {
    display: initial;
  }

  .about {
    background-repeat: no-repeat;
  }

}

/* For large devices */
@media screen and (min-width: 1023px) {
  .landing-logo {
    max-width: 60%;
    padding-top: 0;
  }

  .footer__container {
    padding: 1rem 0 1rem;
  }

  .footer__social {
    column-gap: 2rem;
    padding-left: 5px;
  }

  .footer__social-link {
    font-size: 1.5rem;

  }

}

/* Extra large devices (large laptops and desktops, 2000px and up) */
@media only screen and (min-width: 2000px) {
  .landing-logo {
    max-width: 90%;
  }

  .about {
    width: 70%;
    margin: 0 auto;
    padding-top: 50px;
  }

  .contact-background {
    background-position: 25% 75%;
  }
}