:root{
    --color-primary: #191d2b;
    --box-shadow-1: 0 3px 15px rgba(0,0,0,.3)

}

.contenitore {
    position: relative;
    overflow: hidden;
  }

.immagine {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease-in-out;
  }


#preloader{
    background-color: black; 
    width: 100vw; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    height: 100vh; 
    position: fixed; 
    z-index: 100; 
    top:0; 
    left: 0;
    
}

#logoanimation{
    height: 20vw;
    width: auto;
    position: fixed;
    z-index: 101;
    transition: all .2s ease-in-out;
}

body{
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: black;
    
}
img{
    width: 100%;
    height: 100%;
}
.to-zoom{
    width: 100%;
    height: 100%;
    transition: scale 0.5s;
}
h1, h2, h3{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

p{
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.3em;
    letter-spacing: 0.1em;
}
#header-img{
    width: 100%;
}

#header{
    width: 100%;
    overflow: hidden;
}
a{
    display: inline-block;
    text-decoration: none;
    color: rgb(255, 182, 85);
    font-family: inherit;
}

/*------------------------sections-START--------------------------*/

section{
    width: 100%;
    
}
.section{
    transform: translateY(-100%) scale(0);
    transition: all .4s ease-in-out;
}
.sec1{
    display: none;
    transform: translateY(0) scale(1);
}
.sec2{
    display: none;
    transform: translateY(0) scale(1);
    color: white;
}
.sec3{
    display: none;
    transform: translateY(0) scale(1);
    
}
/*------------------------sections-END--------------------------*/

/*---------------------Miguel Styles START---------------------*/
#pop-up{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.801);
}

.copertina{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-family: Tahoma;
    overflow: hidden;
}
.to-zoom:hover{
    scale: 1.05;
    transition: scale 0.5s;
}

#close{
    position: absolute;
    width: 50px;
    height: 50px;
    top: 50px;
    right: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#showreel-copertina{
    width: 80%;
    margin: 0 auto;
}
#close span{
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: white;
}
#close span[n="1"]{
    transform: rotateZ(45deg);
}
#close span[n="2"]{
    transform: rotateZ(-45deg);
}
/*---------------------Miguel Styles END---------------------*/

/*-----------------------Navbar START------------------------*/
.controlls{
    margin-bottom: 0px;
    margin-top: -5px;
    padding: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    z-index: 3;
    background-color: black;


}
.active{
    display: block;
}
.active-btn{
    border-color: white;
    border-width: 2px;
    border-style:double;
    transition: all .4s ease-in-out;
    z-index: 5;
}
.a-titles{
    display: none;
}
.nav-titles{
    color: rgb(255, 182, 85);
    margin: 0;
}
.control{
    cursor: pointer;
    background-color: black;
    border-radius: 5px;
    margin: 0px;
    padding: 5px 10vw;
    
}
.controlls :hover{
    scale: 1.05;
    transition: all .2s ease-in-out;
}
/*-----------------------Navbar END------------------------*/

/*---------------------- About Me START ---------------------*/
#showreel-copertina :hover{
    scale: 1.03;
    border-radius: 10px;
    transition: all .1s ease-in-out;
    position: relative;
}

#aboutme{
    margin-top: 0px;
    margin-bottom: 5px;
    font-family: Tahoma;
    font-size: 2vw;
}
#logo-about {
    display: flex;
    justify-content: center;
    align-items: center;

}
#logo-about .container{
    width: 90%;
    padding: 20px 0px;
}


#img-showreel{
    width: 100% ;
    height: auto;
    object-fit: contain;
}

#wrapper{
    padding: 20px;
    z-index: 1;
}


#biography{
    max-width: 500px;
    text-align: left;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.3em;
    letter-spacing: 0.1em;
    
}
.steps{
    height: 90%;
    width: 90%;
    margin: 0px auto 50px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-row-gap: 30px;
    
}



.sa{
    height: 23vw;
    width: 95%;
    margin: 30px auto 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-row-gap: 30px;
}
.step-title{
    color: rgb(255, 182, 85);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.step-text{
    text-align: left;
}
.step-div{

    border-radius: 20px;
    padding: 20px;
    margin:0;
    padding-top: 0;
    justify-content: center;
}
.step-imagev{
    
    display: none !important;
    
}
.round-corners{
    border-radius: 20px;
    margin: 10px;
    width: 98%;
}

.phone-image{
    
    display: none !important;
    
}

.pre-produzione{
    grid-column-start: 1;
    grid-column-end: 2;
}
.PP{
    grid-column-start: 2;
    grid-column-end: 4;
    height: auto;
    margin: auto;
   
}
.SHOOT{
    grid-column-start: 1;
    grid-column-end: 3;
    height: auto;
    margin: auto;
}
.shooting{
    grid-column-start: 3;
    grid-column-end: 4;
}
.editing{
    grid-column-start: 1;
    grid-column-end: 2;
}
.EDIT{
    grid-column-start: 2;
    grid-column-end: 4;
    height: auto;
    margin: auto;
}
.COLOR{
    grid-column-start: 1;
    grid-column-end: 3;
    height: auto;
    margin: auto;
}
.color-grading{
    grid-column-start: 3;
    grid-column-end: 4;
}

.sound-design{
    grid-column-start: 1;
    grid-column-end: 2;
}
.SOUND{
    grid-column-start: 2;
    grid-column-end: 4;
    height: auto;
    margin: auto;
}

.EXP{
    grid-column-start: 1;
    grid-column-end: 3;
    height: auto;
    margin: auto;
}
.export{
    grid-column-start: 3;
    grid-column-end: 4;
}
/*---------------------- About Me END ---------------------*/

/*----------------------Projects START----------------------*/
#div-projects{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-row-gap: 0px;
    width: 100%;
    margin-bottom: 30px;
}

.content{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
}
.copertina{
    position: relative;
    cursor: pointer;
}
.copertina .title-box{
    z-index: -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: rgb(0, 0, 0);
    color: rgb(255, 182, 85);
    position: absolute;
    bottom: 0;
    text-align: center;
    height: 0;
    transition: height 0.3s;
    font-size: 17px;
}

.copertina:hover .title-box{
    z-index: 1;
    height: 35px;
}

/*----------------------Projects END----------------------*/

/*---------------------- Contacts START ---------------------*/
.contact-form{
    width: 60%;
    height: 360px;
    padding: 10px;
    background-color: #000000;
    color: #f5f6f7;
    font-family: Tahoma;
    font-size: 14px;
    margin: 0 auto;
    border-left-width: 2px;
    border-left-color: white;
    border-left-style: double;
    border-right-width: 2px;
    border-right-color: white;
    border-right-style: double;
    

}
#contact-title{
    font-size: 30px;
    font-weight:bold;
    font-family: Helvetica;
    margin-top: 10px;
}
  
  h1, p {
    text-align: center;
  }
  
  form {
    width: 60vw;
    max-width: 500px;
    margin: 0 auto;
    padding-bottom: 2em;
  }
  .radio-button{
    margin: 3px;
    padding: 0;
    max-width: 20px;
  }
  #budget-title{
    margin-bottom: 5px;
  }
  .radio-text{
    margin-left: 10px;
  }
  .budget{
    display: flex;
    flex-direction: row;
  }
  
  fieldset {
    border: none;
    border-bottom: 3px solid #3b3b4f;
  }
  
  fieldset:last-of-type {
    border-bottom: none;
  }
  
  label {
    display: block;
  }
  
  input,
  select {
    margin: 10px 0 0 0;
    width: 50%;
    min-height: 2em;
  }
  textarea{
    margin: 10px 0 0 0;
    width: 100%;
    min-height: 2em;
  }
  
  input, textarea, .op{
    background-color: #0a0a23;
    border: 1px solid #0a0a23;
    color: #ffffff;
  }
  
  .inline {
    width: unset;
    margin: 0 0.5em 0 0;
    vertical-align: middle;
  }
  
  input[type="submit"] {
    display: block;
    width: 60%;
    margin: 1em auto;
    height: 2em;
    font-size: 1.1rem;
    background-color: #3b3b4f;
    border-color: white;
    min-width: 300px;
  }
  
  #tell-me{
    margin-top: 5px;
    width: 60%;
  }
  #submit{
    margin-top: 5px;
    background-color: rgb(255, 182, 85);
    color: black;
    height: 30px;
    width: 30%;
    margin-left: 34%;
    font-family: 'Segoe UI';
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;

  }
  #mail-sent-div{
    background-color:#0a0a23;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    margin: auto;
    top: 1px;
    transition: all .2s ease-in-out;
    
  }
  #mail-sent {
    color:rgb(255, 182, 85);
    font-size: 20px;
    font-weight: 400;
  }
  /*---------------------- Contacts END ---------------------*/

  /*---------------------- Footer START ---------------------*/
#footer{
    background-color: rgb(30,30,30);
    color: white;
    position: fixed;
    bottom: 0px;
    height: 30px;
    width: 100%;
    
}
#sede{
    position: relative;
    left: 0;
    margin-top: 5px;

}

/*---------------------- Footer END ---------------------*/

/*---------------------- Media Query START ---------------------*/

@media (max-width: 920px){
    #logoanimation{
        height: 30vw;
        
    }
    #header-img{
        scale: 1.5;
    
    }
    .controlls{
    
        font-size: 15px;
    }
    .control{
        padding: 5px 6vw;
    }
    #div-projects{
        grid-template-columns: 1fr 1fr;
    }

    #showreel-copertina{
        align-items: center;
        width: 80%;
    }

    #aboutme{
        font-size: 3vw;
    }

    #biography{
        width: 90%;
        font-size: 13px;
        max-width: 1200px;
    }
    .steps{
        height: 90%;
        width: 95%;
        margin: 30px auto 50px;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-row-gap: 30px;
        font-size: 13px;
    }
    .step-image{
        display: none !important;
    }
    .step-imagev{
        display: flex !important;
    }
    .copertina .title-box{
        font-size: 14px;
    }
    .copertina .title{
        margin-top: 5px;
    }
    .copertina:hover .title-box{
        height: 30px;
    }
    #footer{
        font-size: 14px;
    }
   
}

@media (max-width: 540px){
    #logoanimation{
        height: 50vw;
        
    }
    #showreel-copertina :hover{
        scale: 1.03;
        border-radius: 10px;
        transition: all .1s ease-in-out;
        position: relative;
    }
    
    #aboutme{
        margin: 10px auto;

    }
    #logo-about {
        display:flex;
        flex-direction: column;
        align-items: center;;
        width: 100%;
        margin: auto;
        margin-top: 20px;
        margin-bottom: 0px;
    
    }

    #logo-about .container{
        width: 90%;
    }
    
    
   #aboutme{
    font-size: 5vw;
   }
    #img-showreel{
        width: 100%;
        height: auto;
        z-index: 20;
        margin-right: 10px;
        display: none;
    }
    
    #wrapper{
        padding: 0px;
        border-width: 0;
        display:flex;
        flex-direction: column;
        
    }
    #biography{
        width: 90%;
        font-size: 14px;
        text-align: center;
    }
    .biography{
        border-color: white;
        border-style: double;
        border-width: 0;
        width: 90%;
        margin: 0 auto;
    }

    #header{
        height: 100px;
        overflow-x: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    #animazione{
        height: 100px;
        width: auto;
    }
    .controlls{
        margin-top: 0px;
        font-size: 14px;
    }
    .active-btn{
        border-color: white;
        border-width: 2px;
        border-style:double;
        transition: all .4s ease-in-out;
        scale: 1.5;
        z-index: 10;
    }

    #showreel-copertina{
        align-items: center;
        width: 70%;
    }

    .active-btn .nav-titles{
        display: flex;
        font-size: 13px;
    }
    .active-btn .a-titles{
        display: none;
    }
    .a-titles{
        color: rgb(255, 182, 85);
        display: flex;
        margin: 0 20px;
    }
    .nav-titles{
        display: none;
    }
   
    .control{
        padding: 5px 6vw;
    }
    

    #div-projects{
        display: grid;
        grid-template-columns: 1fr;
        grid-row-gap: 0px;
        width: 100%;
    }

    .copertina .title-box{
        display: none;
    }
    .copertina:hover .title-box{
        display: none;
    }

   
    .steps{
        height: 90%;
        width: 95%;
        display:flex;
        flex-direction: column;
    }
    
    .phone-image{
        display: flex !important;
        margin-top: 20px;
    }
    .step-imagev{
        display: none !important;
    }
    .contact-form{
        width: 60%;
        height: 360px;
        padding: 10px;
        background-color: #000000;
        color: #f5f6f7;
        font-family: Tahoma;
        font-size: 12px;
        margin: 0 auto;
        
    
    }
    #contact-title{
        font-size: 20px;
        font-weight:bold;
        font-family: Helvetica;
        margin-top: 10px;
    }
    input,
  select {
    margin: 10px 0 0 0;
    width: 50%;
    min-height: 1em;
  }
    #footer{
        font-size: 13px;
        height: 50px;
        bottom: 0;
    }
    
    
}

@media (max-width: 920px) and (min-height: 900px){
    form {
        width: 60vw;
        max-width: 400px;
        margin: 0 auto;
        padding-bottom: 2em;
        scale: 1.3;
      }
      #logoanimation{
        height: 30vw;
        
    }
      .sec3{
        transform: translateY(0) scale(1);
        margin-top: 20%;
        
    }
 
    textarea{
        min-height: 12vh;
    }
    .contact-form{
        width: 60%;
        height: 500px;
        padding: 10px;
        border-left-width: 2px;
        border-left-color: white;
        border-left-style: double;
        border-right-width: 2px;
        border-right-color: white;
        border-right-style: double;
    }
}
/*---------------------- Media Query END ---------------------*/
