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

/*Font sizes 200, 500
font-family: 'Montserrat', sans-serif;
light 300, regular 400, medium 500*/

@import url(https://fonts.googleapis.com/css?family=Josefin+Sans:300,400);
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap');

body, html{
    margin: 0;
    font-family: 'Raleway', sans-serif;
    width: 100%;
    height: 100%;
  }

  #threed-page{
    background-color: lightblue;
  }
  
  #home{
    height: 100vh;
  }

 h1{
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    letter-spacing: 1px;
    font-size: 4.5em;
  }

 .home_text{
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 3em;
    color: white;
  }

  .hero-image{
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.2)), url(IMG/hero1.jpg);
   background-position: center;
   background-repeat: no-repeat;
   background-size: cover;
   position: relative;
   height: 100%;
 }
 
 .hello{
   color: #e0adbd;
 }

 .hero-text {
   text-align: center;
   position: absolute;
   top: 52%;
   left: 50%;
   transform: translate(-50%, -50%);
   color: white;
   width: 100%;
 }
 
 
 
 button {
   background: none;
   border: 0;
   box-sizing: border-box;
   margin: 1em;
   padding: 1em 2em;
   box-shadow: inset 0 0 0 2px white;
   color: white;
   font-size: inherit;
   font-weight: 700;
   letter-spacing: 1px;
   position: relative;
   vertical-align: middle;
   cursor: pointer;
 }
 button::before, button::after {
   box-sizing: inherit;
   content: '';
   position: absolute;
   width: 100%;
   height: 100%;
 }
 .draw {
   transition: color 0.25s;
 }
 .draw::before, .draw::after {
   border: 2px solid transparent;
   width: 0;
   height: 0;
 }
 .draw::before {
   top: 0;
   left: 0;
 }
 .draw::after {
   bottom: 0;
   right: 0;
 }
 .draw:hover {
   color: #e0adbd;
 }
 .draw:hover::before, .draw:hover::after {
   width: 100%;
   height: 100%;
 }
 .draw:hover::before {
   border-top-color: #e0adbd;
   border-right-color: #e0adbd;
   transition: width 0.25s ease-out, height 0.25s ease-out 0.25s;
 }
 .draw:hover::after {
   border-bottom-color: #e0adbd;
   border-left-color: #e0adbd;
   transition: border-color 0s ease-out 0.5s, width 0.25s ease-out 0.5s, height 0.25s ease-out 0.75s;
 }
 .meet:hover {
   color: #e0adbd;
 }
 .meet::after {
   top: 0;
   left: 0;
 }
 .meet:hover::before {
   border-top-color: #e0adbd;
   border-right-color: #e0adbd;
 }
 .meet:hover::after {
   border-bottom-color: #e0adbd;
   border-left-color: #e0adbd;
   transition: height 0.25s ease-out, width 0.25s ease-out 0.25s;
 }

  /*NAV*/

  .logo{
      width: 300px;
  }

  .menu a{
    color: white;
    }
  
  .header{
    background-color: rgb(37, 37, 37);
    box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
    position: fixed;
    width: 100%;
    z-index:3; /*keeps header above page content*/
  }
  
  .header ul{
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    background-color: rgb(37, 37, 37);
  }
  
  .header ul a{
    display: block;
    margin-top: 15px;
    padding: 20px;
     text-decoration: none;
  }
  
 
  .menu a:hover{
      color: #e0adbd;
  }
  
  
  .header .logo{
    float: left;
    display: block;
    font-size: 2em;
    padding: 10px 20px;
  }
  
  .header .menu{
    clear:both;
    max-height: 0;
    transition: max-height .2s ease-out;
  }
  
  .header .menu-icon{
    padding: 28px 20px;
    position: relative;
    float: right;
    cursor: pointer;
  }
  
  .header .menu-icon .nav-icon{
    background: white;
    display: block;
    height: 2px;
    width: 18px;
    position: relative;
    transition: background .2s ease-out;
  }
  
  .header .menu-icon .nav-icon:before{
    background: white;
    content:"";
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    transition: all .2s ease-out;
    top: 5px;
   }
  
  .header .menu-icon .nav-icon:after{
    background:white;
    content:"";
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    transition: all .2s ease-out;
    top: -5px;
   }
  
  .header .menu-btn{
    display: none;
  }
  
  .header .menu-btn:checked ~ .menu{
    max-height: 350px;
  }
  
  .header .menu-btn:checked ~ .menu-icon .nav-icon{
    background: transparent;
    
  }
  
  .header .menu-btn:checked ~ .menu-icon .nav-icon:before{
    transform: rotate(-45deg);
    top:0;
    
  }
  
  .header .menu-btn:checked ~ .menu-icon .nav-icon:after{
     transform: rotate(45deg);
    top:0;
    }
  


/*HOME PAGE*/

.main-container{
  padding-top: 125px;
  position: fixed;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
 }

.main1{
  flex: 1;
  height: 100%;
  
}
.main1 img{
  width: 100%;
 }
  
.main2{
  flex: 1;
  text-align: center;
  }

.main2 h1{
  text-align: center;
  margin-top: 30%;
}

.button{
  display: inline-block;
  padding: 10px;
  text-decoration: none;
  color: #111;
  text-align: center;
  text-shadow: 0 0 2px rgba(189, 195, 199, 1);
  background-color: #ccc;
  border-radius: 10px;
  margin-top: 30px;
  background-clip: padding-box;
  border-color: #202020 #1a1a1a #111;
  background-image: linear-gradient(to bottom, #efefef, #777);
  box-shadow: inset 0 1px rgba(255, 255, 255, .09), 0 1px 1px rgba(0,0,0,.2);
  transition: transform .5s;
}

.button:hover{
  background-color: #aaa;
  background-image: linear-gradient(to bottom, #ccc, #555);
  transform: scale(1.2);
}

.button:active, .button.active{
  background-color: #b42f32;
  border-color: #1c1c1c #202020 #222;
  box-shadow: inset 0 2px 4px rgba(0,0,0,.3), 0 1px rgba(255, 255,255,.09);

  }



  /*ABOUT PAGE*/

  .about-me{
    padding-top: 150px;
    padding-bottom: 15px;
       text-align: center;
    background-color: rgb(216, 212, 212);
  }

  .brands{
    padding-top: 50px;
    margin-bottom: 30px;
    text-align: center;
  }
.bio{
  width: 100%;
  height: auto;
  background-color: rgb(216, 212, 212);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

  .bio-photo{
    height: 320px;
    margin: 100px 50px;
  }

  .bio-text{
    width: 50%;
    margin: auto 0;
    padding: 20px 0;
    line-height: 2;
  }

.logos{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  align-items: center;
  
}

.logos img{
  width: 200px;
  height: 100%;
  padding: 20px;
}


/*GALLERY WORK PAGE*/
#work-page{
  background: lightgray;
}


.container{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 525px 525px;
  grid-gap: 10px;
  padding: 100px 0px 20px 0px;
  margin: auto 10px;
  
}

.gallery-item{
  width: 100%;
  height: 100%;
  position: relative;


}

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

.gallery-item .image img{
  width: 100%;
  height: 100%;
  object-fit: cover;  /*can change to contain*/
  object-position: 50% 50%;
  cursor: pointer;
  transition: .5s ease-in-out;
}

.gallery-item:hover .image img{
  transform: scale(1.5);
  filter: grayscale(100%);
}

.gallery-item .text{
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  color: #fff;
  /*opacity: 0;*/
  position: absolute;
  top: 50%;
  left: 50%;
  text-align: center;
  font-weight: bold;
  
  transform: translate(-50%,-50%);
  text-transform: uppercase;
  font-size: 25px;
  pointer-events: none;
  /*z-index: 4;*/
  z-index: 1;
  transition: .3s ease-in-out;
}


/*.gallery-item:hover .text{
  opacity: 1;
  animation: move-down .3s linear;
  padding: 1em;
  width: 50%;*/
 /* -webkit-backdrop-filter: blur(5px) saturate(1.8);
  backdrop-filter: blur(5px) saturate(1.8);*/



/*ALL WORK PAGES*/

.column-container{
  display: flex;
  flex-direction: column;
  padding-top: 100px;
  align-items: center;
  justify-content: center;
 
}

.column-item{
  width: 80%;
  height: auto;

}

.column-item img{
  width: 100%;
  height: auto;
  
}

.back-to-gallery{
  height: 50px;
  background-color: rgb(37, 37, 37);
 
  
}
.gallery-link{
  color: white;
  text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 15px;
    cursor: pointer;

}

.gallery-link:hover{
  color: #e0adbd;

}


/*3d Work Page*/

.content3d{
  display: flex;
  flex-direction: row;
  padding-top: 100px;
  flex-wrap: wrap;
  }

.content3d img{
  width: 33%;
  object-fit: cover;
}

@media (max-width: 800px) {
  .content3d {
    flex-direction: column;  
  }
  
  .content3d img{
    width: 100%;
    margin: auto;
  }
}



/*Contact Page*/

#contact-page{
  overflow: hidden;
}

.section-contact {
  
  min-height: 100vh;
  padding-top: 100px;
  padding-bottom: 100px;
  background-image: linear-gradient(175deg, white 50%, pink 50%, purple);
}

.contact-container {
  
  max-width: 1200px;
  margin: 0 auto;
  padding-right: 32px;
  padding-left: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-title{
  padding-top: 150px;
  height: 200px;
  margin-bottom: 4px;
}

h3{
  color: #666;
  font-size: 1em;
  text-align: center;
}


form {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 10px;
  padding: 32px;
  background-color: lightgray;
  border-radius: 8px;
  box-shadow: 0px 6px 12px rgba(0, 0, 0.2);
  width: 600px;

}

.form-element {
  appearance: none;
  outline: none;
  border: none;
  display: block;
  border-radius: 5px;
  background-color: white;
}

.textrow{
  height: 25px;
}
#firstname,
#lastname,
#email {
  height: 25px;
}


textarea {
  resize: none;
  min-height: 100px;
}

.submitgroup {
  text-align: auto;
  font-family: 'Montserrat', sans-serif;
}

input[type='submit'] {
  appearance: none;
  border: none;
  outline: none;
  background: none;
  padding: 12px;
  background-color: pink;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.4s;
}

input[type='submit']:hover {
  background-color: purple;
}

@media (min-width: 768px) {
  .contact-container {
    padding-left: 64px;
    padding-right: 64px;
  }
}




/*ALL MEDIA QUERY*/
@media (max-width: 480px) {
  .container {
   display: flex;
   flex-direction: column;
  }

   .gallery-container{
    height: 500px;
   }
 
  }

  

  @media (min-width:48em) {
    
    .header li{
      float: left;
    }
    .header li a{
      padding: 20px 30px;
    }
    .header .menu{
      clear: none;
      float: right;
      max-height: none;
    }
    
    .header .menu-icon{
      display: none;
    }
    
  }
  


   @media (max-width:480px){
    .main-container{
      flex-direction: column;
      height: 100%;
      position: static;
    }

    .main2 h1{
      margin-top: 10px;
    }

   }