:root {
  --orange:rgb(251, 131, 3);
  --beige: rgb(241, 235, 231);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family:Arial, Helvetica, sans-serif;
}

/* animated xs  from my templates of navbar and toggle button*/
.toggle {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: all .5s ease-in-out;
  border: 3px solid rgb(7, 7, 7);
  margin-right: 20px;
}

.toggle__burger{
  width: 30px;
  height: 3px;
  background: rgb(7, 7, 7);
  border-radius: 5px;
  transition: all .5s ease-in-out;
}

.toggle__burger::before,
.toggle__burger::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 3px;
  background: rgb(7, 7, 7);
  border-radius: 5px;
  transition: all .5s ease-in-out;
}

.toggle__burger::before {
  transform: translateY(-10px);
}

.toggle__burger::after {
  transform: translateY(10px);
}

/* ANIMATION */
.toggle.active .toggle__burger {
  transform: translateX(-50px);
  background: transparent;
  box-shadow: none;
}
.toggle.active .toggle__burger::before {
  transform: rotate(45deg) translate(35px, -35px);
}
.toggle.active .toggle__burger::after {
  transform: rotate(-45deg) translate(35px, 35px);
}

/* Code for top navigation bar */

.topnav {
  overflow:auto;
  background-color: rgb(133, 108, 77);
  width: 100%;
}
  
.navbar {
  background-color: var(--orange);
  align-items: center;
  padding: 10px 0;
  }

.top-navbar {
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  }
    
.navbar-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  display: none;
}
  
.navbar-list.active {
  display: flex;
}
  
.navbar-list a {
  color: #464343;
  text-transform: uppercase;
  padding: 10px 30px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700px;
  }
    
.navbar-list  a:hover {
  color: black;
  /* font-size: large; */
}

/* The first page of the site based on the request from the site owner tbe simple basic with his logo. */
.section-top {
  width: 100%;
  height: 90vh;
  overflow: hidden;
  background-color: var(--beige);
  display: flex;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.content {
  text-align: center; 
}

.content h2 {
  color: black;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-top: 10px;
  /* margin-top: -20px; */
 }

.logo {
  height: 120px;
}
  
.logo:hover {
  cursor: pointer;
}

.section-film, .section-producer {
  display: flex;
  /* height: 100vh; */
  background-color: white;
}

.section-film {
  flex-direction: column;
  width: 80%;
}

.film-poster {
  flex-direction: row;
  margin: 4rem auto;
}

.fawesome {
  display: block;
  width: 90%;
  margin: 0 auto;
  padding-bottom: 50px;
}

.poster {
  height: 400px;
  margin: 7px;
  border-radius: 10px;
}

.photo-title {
  font-size: 1.5rem;
  width: 120px;
  text-align: center;
  font-weight: 700;
  color: #fff;
  text-shadow: 2px 2px 5px black;
  transform: translate(0, -120px);
}

.photo-title:hover {
  cursor: pointer;
  text-shadow: 4px 4px 10px black;
}

.photo-category {
  cursor: pointer;
  transition: 0.5s ease-in-out;
}

.edp {
  transition: 0.5s ease-in-out;
}

.edp.active {
  opacity: 50%;
}

.pre-pro {
  font-weight: 700;
  position: absolute;
  font-size: 1.4rem;
  width: 150px;
  text-align: center;
  transform: translate(0 , -8rem);
  display: none;
  transition: 0.5 ease-in-out;
}

.pre-pro.active {
  display: block;
}

.title-reel {
  font-size: 1.5rem;
  text-align: center;
  text-transform: uppercase;
  font-weight: 300;
  padding: 2rem 0;
}

iframe {
  height: 220px;
  width: 320px;
}


.section-photography {
  background-color: var(--beige);
  /* height: 100vh; */
}

.section-photography{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 30px 0;
}

.last-content {
  width: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
  flex-direction: column;
}

.space {
  padding: 40px 0;
}

.title {
  font-size: 2.25rem;
  text-transform: uppercase;
  font-weight: 700;
  padding-top: 60px;
}

.title:nth-child(1) {
  padding-bottom:30px;
}

.small-logo {
  width: 150px;
  margin: 20px auto 10px;
  align-items: center;
}

.info {
  display: flex;
  flex-direction: column;
}

.genre {
  display: flex;
  flex-direction: column;
}

.genre-item {
  text-transform:uppercase;
  padding: 0 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: 0.5s ease-in-out;
}

.genre-item:hover {
  opacity: 50%;
}


/* Code for gallery */

a{cursor:pointer;}

/*Gallery Container*/
.image-gallery{
  position:relative;  
  margin:0 auto;
  width:360px;
  height: 525px; 
  border-radius:20px;    
}

/*Sets Big Image style*/
.image-gallery .big-image{
  max-width:360px;
  height:400px;   
  margin:0 auto;  
  position:relative;
  display: flex;
}

.image-gallery .big-image img{
  opacity:0;position:absolute;left:0px;top:0px; width:360px;
  margin:0 auto;
  transition: opacity 350ms;
  /* box-shadow:0 1px 20px 1px rgba(0,0,0,0.7); */
  max-height: 400px;
  max-width: 600px;
  /* display: flex;
  align-items:flex-start; */
  object-fit:contain;
}

/*Selected image display*/
.image-gallery .big-image img:target{opacity:1;}
/*on select image display none the default image*/
.image-gallery .big-image img:target ~ img#default{opacity:0;}

/*Show Default Image in first load*/
.image-gallery .big-image img#default{opacity:1;}


/***Button***/
.image-gallery .button{
  font-weight:bold;
  font-size:28px;
  display:inline-block;
  transform:scale(1,2);
  background-color: var(--beige);
  border: 2px solid var(--orange);
  color:var(--orange);
  padding:5px 10px;   
  border-radius: 5px;
  margin-top: 70px;
  z-index: 100;
}

.image-gallery .prev{
  position:absolute; 
  left:15px; 
  top:378px;
}

.image-gallery .next{
  position:absolute; 
  right:15px; 
  top:378px;
}

/***move thumbs on click on buttons***/
.image-gallery .prev:active ~ .thumbs  ul{
  transform:translateX(0%);
  transition:3s all;
}

.image-gallery  .next:active ~ .thumbs  ul{
  transform:translateX(-90%);
  transition:3s all;  
}
  
/***thumbs***/
.image-gallery .thumbs{
  overflow:hidden; white-space:nowrap; margin:10px 30px; 
 
}
.image-gallery .thumbs ul{
  float:left; transition:999999s all; transform:translateX(0);
}
.image-gallery .thumbs li{display:inline-block; margin-right:3px;}
.image-gallery .thumbs li a:hover{opacity:1;}
.image-gallery .thumbs li a{opacity:0.85;}
.image-gallery .thumbs li a:focus{opacity:1;}
.image-gallery .thumbs li img{max-width:128px; max-height: 85px; align-items: flex-start;}

/* Code for modals */

.btn {
  padding: 0.1rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  outline: none;
}

.btn:active {
  transform: scale(0.9);
}

.close-modal {
  background: none;
  border: none;
  font-size: 1.5rem;
}

.modal {
  max-width: 100%;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: 200ms ease-in-out;
  border: 1px solid #ccc;
  border-radius: 10px;
  z-index: 10;
  background-color: #fff;
}

.modal.active {
  transform: translate(-50%, -50%) scale(1);
}

.modal .header {
  display: flex;
  justify-content:flex-end;
  align-items: center;
  /* border-bottom: 1px solid #ccc;
  padding: 0.5rem; */
  /* background-color: rgba(0, 0, 0, 0.05); */
} 

.modal .body {
  padding: 0.25rem;
}

#overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}

#overlay.active {
  display: block;
}

/* Code for gallery */

.gal-imgs {
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide {
  /* display: flex;
  justify-content: center; */
  max-width: 360px;
  max-height: 500px;
}

.social {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 5px;
  margin: 1rem;
}

.social img {
  width: 40px;
  height: 40px;
  display: flex;
  transition: 0.5s;
}

/* following code is for the button */
#myBtn {
  display: none;
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: var(--orange);
  color: white;
  cursor: pointer;
  padding: 10px;
  border-radius: 4px;
  transition: 0.2s ease-in-out
}

#myBtn:hover {
  background-color: #555;
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.labels {
font-weight: 600;
}

.contact-form p {
  padding-bottom: 20px;
}

#form input {
  display: flex;
  height: 32px;
  margin: 8px 0 15px;
  width: 60%;
  padding-left: 20px;
  border-radius: 8px;
  border: 2px solid grey;
}

.text-message-area {
  display: flex;
  flex-direction: column;
}

#message {
  width: 100%;
  margin: 15px 0;
  border-radius: 8px;
  padding: 20px;
}

.submit {
  background-color: var(--orange);
  height: 50px;
  border: none;
  border-radius: 10px;
  width: 75%;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}

.submit:hover {
  background-color: #555;
}

.esage {
  color: rgb(1, 46, 21);
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: 0.3s ease-in-out;
}

.esage:hover {
  color: rgb(37, 155, 90);
}

.award-sect{
  padding: 10px;
}

h1 {
  font-size: 1.4em;
  margin-bottom: 20px;
}

.grid-container {
  grid-template-columns: 1fr; /* Stack columns vertically */
  gap: 15px;
  display: grid;
}

.column {
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 12px;
  border-radius: 8px;
}

.column h2 {
  font-size: 1.1em;
  padding-bottom: 3px;
  margin-bottom: 10px;
  color: #2c3e50;
  border-bottom: 2px solid #ccc;
}

.festival {
  font-size: 0.95em;
  margin-bottom: 12px;
}

.festival b {
  font-size: 1em;
}

.award {
  color: #d35400;
  font-style: italic;
  font-size: 0.9em;
}


@media (min-width:800px){
  .toggle {
  display: none;
  }
      
  .container {
    flex-direction: row;
    margin: 0 auto;
    width: 80%;
    }
              
  .navbar {
    display: flex;
    margin: 0 auto;
    width: 100%;
    justify-content: space-between;
  }
        
  .navbar-list {
    display: flex;
    flex-direction: row;
    text-align: center;
  }
            
  .container, .topnav {
  margin: 0 auto;
  width: 70%;
  }
        
  .topnav {
  overflow: hidden;
  background-color: #333;
  text-align: center;
  }

  .logo {
    height: 270px;
  }

  .content h2 {
    font-size: 32px;
    padding: 25px 0 ;
    letter-spacing: 3px;
  }

  .title {
    font-size: 2.5rem;
    padding-top: 100px;
  }

  .poster {
    height: 400px;
    padding: 1px;
    border-radius: 25px;
  }

  .film-poster {
    padding-top: 25px;
    padding-bottom: 100px;
  }

  .fawesome {
    padding-top: 50px;
    width: 50%;
  }
 
  .photo-title {
    font-size: 1.8rem;
    width: 180px;
    transform: translate(0, -170px);
  }

  .pre-pro {
    width: 300px;
    font-size: 2.4rem;
    transform: translate(-0.2rem, -16rem);
  }

  .section-film {
    flex-direction: column;
    width: 73%;
    padding-top: 50px;
  }

  .genre {
    flex-direction: row;
  }

  .section-photography {
    padding: 80px 0;
  }

.slide {
  max-width: 800px;
  height: 500px;
}

.image-gallery {
  width: 600px;
}

.image-gallery .big-image{
  max-width: 800px;
}

.image-gallery .big-image img{
  width: 600px;
}

.modal.active {
  transform: translate(-50%, -50%) scale(1.4);
}
.contact-form {
  width:100%;
}

#form input {
  width: 35%;
}

#message  {
  width: 50%;
}

.submit {
  width: 35%;
}

.small-logo {
  align-items: flex-start;
  margin: 20px 0;
}

.social {
  justify-content: flex-start;
  margin: 1rem 0 3rem;
}

iframe {
  height: 540px;
  width: 960px;
  margin: 2rem auto 3rem;
}

.award-sect {
  font-family: Arial, sans-serif;
  background-color: #f7f7f7;
  color: #333;
  padding: 20px;
}

h1 {
  text-align: center;
  margin-bottom: 40px;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.column {
  background-color: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.column h2 {
  font-size: 1.2em;
  margin-bottom: 15px;
  color: #2c3e50;
  border-bottom: 2px solid #ccc;
  padding-bottom: 5px;
}

.festival {
  margin-bottom: 15px;
}

.festival b {
  display: block;
  font-size: 1.05em;
  margin-bottom: 5px;
}

.award {
  font-size: 0.95em;
}

}
