#divDay {
  width: 50%;
  overflow: hidden;
  height: 100vh;
}

#divIntro {
  width: 100%;
  overflow: hidden;
  position: relative;
/*  padding-top: 68.23%;  16:9 Aspect Ratio */
  background-image: url("https://www.imadsaghaza.ro/wp-content/uploads/2025/09/ND25_hatter.2_minimized-scaled.jpg") !important;
}
/*
@media only screen and (min-width: 1100px) {
  #divIntro {
    background-image: url("https://www.imadsaghaza.ro/wp-content/uploads/2023/09/plakat_hatter_1MB_landscape.png") !important;
  }
}
*/

#divFirstPageWrapper {
      background: linear-gradient(to bottom, #FC7152, #051D40);
}

.g-bg-position--start--center {
  background-position: center top !important;
  height: 100vh;
}

#divNight {
  width: 50%;
  overflow: hidden;
  float: right;
  height: 100vh;
}

#divMotto {
  position: absolute;
  top: 38%;
  left: -22%;
  right: 0;
  -webkit-transform: translate3d(0, -50%, 0);
  transform: translate3d(0, -50%, 0);
  z-index: 999;
}

.mottoImg {
  display: block;
/*  width: 50%;
  max-width: 600px; */
  margin: auto;
}


#divOthers {
  position: absolute;
  top: 70%;
  left: 47%;
  right: 0;
  -webkit-transform: translate3d(0, -50%, 0);
  transform: translate3d(0, -50%, 0);
  z-index: 999;
}

.othersImg {
  display: block;
  width: 50%;
  max-width: 650px;
  margin: auto;
}

#divInfo {
      position: absolute;
    top: 70%;
    left: 0%;
    right: -40%;
    -webkit-transform: translate3d(0, -50%, 0);
    transform: translate3d(0, -50%, 0);
    z-index: 999;
}

.infoImg {
  display: block;
  width: 30%;
  max-width: 650px;
  margin: auto;
}



#divLogo {
  position: absolute;
  top: 1%;
  height: 6vh;
  left: 0%;
  right: 0;
  z-index: 999;
}

.logoImg {
  display: block;
  height: 100%;
  margin: auto;
  left: 15%;
  position: relative;
}

#divDate{
    position: absolute;
    top: 84% !important;
    left: 0%;
    max-width: 150px;
    font-size: 47px;
}

#dateTitle{
    color: white;
    font-family: 'Futura Std';
    font-style: italic;
    text-align: center;
    line-height: 0.85;
    font-size: 20px !important;
}

#divLocation{
    position: absolute;
    top: 89% !important;
    left: 0%;
    max-width: 150px;
    font-size: 47px;
}

#locationTitle{
    color: #6A8DBF;
    font-family: 'Futura Std';
    font-style: italic;
    text-align: center;
    line-height:1;
    font-size: 20px !important;
}


@media only screen and (min-width: 1800px) {
    #divMotto {
        top: 38%;
        left: -9%;
    }

/*  .mottoImg {
    max-width: 600px !important;
  }*/

  #divLogo {
    position: absolute;
  }

  .logoImg {
    max-width: 684px !important;
      left: 10%;
  }

  #divOthers {
    position: absolute;
    top: 70%;
    left: 0;
    right: 0;
    -webkit-transform: translate3d(0, -50%, 0);
    transform: translate3d(0, -50%, 0);
    z-index: 999;
  }

  .othersImg{
    max-width: 300px !important;
  }

  #divInfo {
    position: absolute;
    right: -15%;
    -webkit-transform: translate3d(0, -50%, 0);
    transform: translate3d(0, -50%, 0);
    z-index: 999;
  }

  .infoImg{
    max-width: 650px !important;
  }
  
  #divDate {
        position: absolute;
        top: 78%!important;
        left: -18%;
        right: 0%;
    }
    
    #dateTitle {
        text-align:left;
        font-size: 30px !important;
    }
    
    #divLocation{
        top: 89% !important;
        max-width: 80vw;
    }
}

@media only screen and (min-width: 1300px) and (max-width: 1800px) {
  
  #divMotto {
      top: 38%;
      left: -16%;
  }
  
  #divInfo{
      right: -22%;
  }
  
  #divDate {
        position: absolute;
        top: 78%!important;
        left: -32%;
        right: 0%;
    }
    
    #dateTitle {
        text-align:left;
        font-size: 30px !important;
    }
    
    #divLocation{
        top: 89% !important;
        max-width: 80vw;
    }
    
}

@media only screen and (min-width: 1000px) and (max-width: 1300px) {

  .logoImg {
      left: 20%;
  }
  
  #divMotto {
      top: 38%;
      left: -18%;
  }
  
  #divInfo{
      right: -32%;
  }
  
  #divDate {
        position: absolute;
        top: 78%!important;
        left: -43%;
        right: 0%;
    }
    
    #dateTitle {
        text-align:left;
        font-size: 30px !important;
    }
    
    #divLocation{
        top: 89% !important;
        max-width: 80vw;
    }
}

@media only screen and (min-width: 850px) and (max-width: 1000px) {

  .logoImg {
      left: 25%;
  }
  
  #divDate {
        position: absolute;
        top: 78%!important;
        left: -43%;
        right: 0%;
    }
    
    #dateTitle {
        text-align:left;
        font-size: 30px !important;
    }
    
    #divLocation{
        top: 89% !important;
        max-width: 80vw;
    }
  
}

@media only screen and (min-width: 700px) and (max-width: 850px) {
  #divMotto {
    top: 38%;
    left: 0%;
  }

  .mottoImg {
    max-width: 450px !important;
    font-size: 50px !important;
  }
  
  #divLogo {
      
  }
  
  .logoImg {
      left: 0%;
  }
  
  #divInfo {
        position: absolute;
        top: 78%;
        left: 35%;
        right: 0%;
    }
    
    
    #divDate {
        position: absolute;
        top: 78%!important;
        left: -43%;
        right: 0%;
    }
    
    #dateTitle {
        text-align:left;
        font-size: 30px !important;
    }
    
    #divLocation{
        top: 91% !important;
        max-width: 80vw;
    }
}


@media only screen and (min-width: 525px) and (max-width: 700px) {
  #divMotto {
    top: 35%;
    left: 0%;
  }

  .mottoImg {
    max-width: 350px !important;
    font-size: 50px !important;
  }
  
  #divDate {
      font-size: 32px !important;
      max-width: 70vw;
  }
  
  #divLocation {
      font-size: 32px !important;
      max-width: 80vw;
  }

  #divLogo {
    position: absolute;
  }

  .logoImg {
    max-width: 450px !important;
    left:0%;
  }

  #divOthers {
    position: absolute;
    top: 70%;
    left: 0;
    right: 0;
    -webkit-transform: translate3d(0, -50%, 0);
    transform: translate3d(0, -50%, 0);
    z-index: 999;
  }

  .othersImg{
    max-width: 300px !important;
  }

  #divInfo {
    position: absolute;
    top: 71%;
    left: 0;
    right: 0;
    -webkit-transform: translate3d(0, -50%, 0);
    transform: translate3d(0, -50%, 0);
    z-index: 999;
  }

  .infoImg{
    max-width: 500px !important;
  }
}

@media only screen and (min-width: 425px) and (max-width: 525px) {
  #divMotto {
    top: 35%;
    left: 0%;
  }

  .mottoImg {
    max-width: 300px !important;
    font-size: 50px !important;
  }
  
  #divDate {
      font-size: 32px !important;
      max-width: 50vw;
  }
  
  #divLocation {
      font-size: 32px !important;
      max-width: 90vw;
  }

  #divLogo {
    position: absolute;
  }

  .logoImg {
    max-width: 450px !important;
    left:0%;
  }

  #divOthers {
    position: absolute;
    top: 70%;
    left: 0;
    right: 0;
    -webkit-transform: translate3d(0, -50%, 0);
    transform: translate3d(0, -50%, 0);
    z-index: 999;
  }

  .othersImg{
    max-width: 300px !important;
  }

  #divInfo {
    position: absolute;
    top: 68%;
    left: 0;
    right: 0;
    -webkit-transform: translate3d(0, -50%, 0);
    transform: translate3d(0, -50%, 0);
    z-index: 999;
  }

  .infoImg{
    max-width: 400px !important;
  }
}

@media only screen and (max-width: 425px) {
  #divMotto {
    top: 30%;
    left: 0%;
  }

  .mottoImg {
    max-width: 300px !important;
    font-size: 40px!important;
  }
  
  #divDate {
      font-size: 32px !important;
      top: 80% !important;
  }
  
  #divLocation {
      font-size: 32px !important;
      top: 80% !important;
  }

  #divLogo {
    position: absolute;
  }

  .logoImg {
    left:0%;
    max-width: 300px !important;
  }

  #divOthers {
    position: absolute;
    top: 70%;
    left: 0;
    right: 0;
    -webkit-transform: translate3d(0, -50%, 0);
    transform: translate3d(0, -50%, 0);
    z-index: 999;
  }

  .othersImg{
    max-width: 300px !important;
  }

  #divInfo {
    position: absolute;
    top: 62%;
    left: 0;
    right: 0;
    -webkit-transform: translate3d(0, -50%, 0);
    transform: translate3d(0, -50%, 0);
    z-index: 999;
  }

  .infoImg{
    max-width: 260px !important;
    margin-bottom: 10px;
  }
}

@media only screen and (min-height: 700px) and (max-height: 900px) {
    .mottoImg {
        font-size: 32px!important;
        max-width: 65vw!important;
    }
    
    .infoImg{
        width: 50%!important;
    }
    
    #divDate {
        top: 75% !important;
        min-width: 80vw !important;
    }
    
    #divLocation {
        top: 83% !important;
        min-width: 80vw !important;
    }
    
}

@media only screen and (min-height: 300px) and (max-height: 700px) {
  #divMotto {
    top: 20%;
    left: 0%;
  }

  .mottoImg {
    max-width: 65vw !important;
    font-size: 36px!important;
  }

  #divLogo {
    position: absolute;
  }

 /* .logoImg {
    max-width: 350px !important;
  }

  #divOthers {
    position: absolute;
    top: 70%;
    left: 0;
    right: 0;
    -webkit-transform: translate3d(0, -50%, 0);
    transform: translate3d(0, -50%, 0);
    z-index: 999;
  }

  .othersImg{
    max-width: 300px !important;
  }*/

  #divInfo {
    position: absolute;
    top: 80%;
    left: 0;
    right: 0;
    -webkit-transform: translate3d(0, -50%, 0);
    transform: translate3d(0, -50%, 0);
    z-index: 999;
  }

  .infoImg{
    width: 60vw!important;
  }
}

@media only screen and (max-height: 768px) {
  #divMotto {
    top: 30%;
    left: 0%;
  }

  .mottoImg {
    max-width: 65vw !important;
  }

  #divLogo {
    position: absolute;
  }

 /* .logoImg {
    max-width: 350px !important;
  }

  #divOthers {
    position: absolute;
    top: 70%;
    left: 0;
    right: 0;
    -webkit-transform: translate3d(0, -50%, 0);
    transform: translate3d(0, -50%, 0);
    z-index: 999;
  }

  .othersImg{
    max-width: 300px !important;
  }*/

  #divInfo {
    position: absolute;
    top: 62%;
    left: 0;
    right: 0;
    -webkit-transform: translate3d(0, -50%, 0);
    transform: translate3d(0, -50%, 0);
    z-index: 999;
  }
  
  #divDate {
        font-size: 32px !important;
        top: 74% !important;
        max-width: 90vw !important;
    }
    
    #divLocation {
        font-size: 32px !important;
        top: 81% !important;
        max-width: 90vw !important;
    }
    
    

/*  .infoImg{
    max-width: 400px !important;
  }*/
}

#regButton {
  margin-bottom: 3em;
}

span.bolded {
  font-weight: 600;
}

h1,
h2 {
  text-transform: none !important;
}

.main-header {
  margin: 20%;
}

.form-check {
  height: 25px !important;
  width: 25px;
  margin-left: 0.5em !important;
}

.div-form-check {
  display: flex;
}

.div-form-check label {
  margin-left: 0.5em;
  font-size: 1.1em;
  color: #656565;
  font-weight: 300;
}

.form-p {
  margin-left: 0.5em !important;
  font-size: 1.1em;
  color: #656565;
  font-weight: 300;
}

label.error {
  color: red;
  margin-left: 0.5em;
  font-size: 1.1em;
  font-weight: 300;
}

li.opciok {
  font-size: 0.9375rem;
  font-weight: 300;
  color: #656565;
  line-height: 1.6;
}

th {
  font-weight: 400;
}

td {
  font-weight: 300;
}

ul.opciok {
  margin-top: 10px;
}

.js__parallax-window {
  /*background-size: cover !important; */
}

@media only screen and (min-width: 320px) and (max-width: 1024px) {
  .js__parallax-window {
    background-attachment: unset !important;
    background-position: center top !important;
    background-size: cover !important;
  }

  .g-font-size-28--xs {
    font-size: 1.6rem !important;
  }
}
@media only screen and (max-width: 480px) and (min-height: 820px) {
  .g-margin-b-30--xs_Customized {
    margin: 2rem !important;
    padding: 2rem !important;
  }

  .MyCustomizedFontsizeBig {
    margin-bottom: 1rem !important;
  }
  .MyCustomizedFontsize {
    margin-bottom: 1rem !important;
  }
}

@media only screen and (max-width: 580px) {
  .g-margin-b-30--xs_Customized {
    margin: 2rem !important;
    padding: 2rem !important;
  }
}

@media only screen and (max-width: 320px) {
  .logoImg {
    max-width: 150px;
  }
}

/*Customizing Font size based on the height of the browser window 
 *when min-width: 1200px
 *START
 */
@media only screen and (min-width: 1200px) and (min-height: 820px) {
  .MyCustomizedFontsizeBig {
    font-size: 3rem !important;
    margin-bottom: 2rem !important;
  }
  .MyCustomizedFontsize {
    font-size: 2rem !important;
    margin-bottom: 2rem !important;
  }
  .g-ver-center--xs {
    top: 56% !important;
  }
}

@media only screen and (min-width: 1200px) and (min-height: 620px) and (max-height: 820px) {
  .MyCustomizedFontsizeBig {
    font-size: 2rem !important;
    margin-bottom: 2rem !important;
  }
  .MyCustomizedFontsize {
    font-size: 1.4rem !important;
    margin-bottom: 2rem !important;
  }
  .g-ver-center--xs {
    top: 56% !important;
  }
}

@media only screen and (min-width: 1200px) and (min-height: 420px) and (max-height: 620px) {
  .MyCustomizedFontsizeBig {
    font-size: 1.5rem !important;
    margin-bottom: 2rem !important;
  }
  .MyCustomizedFontsize {
    font-size: 0.9rem !important;
    margin-bottom: 2rem !important;
  }
  .g-ver-center--xs {
    top: 56% !important;
  }
  .logoImg {
    max-width: 150px;
  }
}
/*Customizing Font size based on the height of the browser window 
 *when min-width: 1200px
 *END
 */

/*Customizing Font size based on the height of the browser window 
 *when min-width: 1000px
 *START
 */
@media only screen and (min-width: 1000px) and (min-height: 820px) {
  .MyCustomizedFontsizeBig {
    font-size: 3rem !important;
    margin-bottom: 2rem !important;
  }
  .MyCustomizedFontsize {
    font-size: 2rem !important;
    margin-bottom: 2rem !important;
  }
  .g-ver-center--xs {
    top: 56% !important;
  }
}

@media only screen and (min-width: 1000px) and (min-height: 620px) and (max-height: 820px) {
  .MyCustomizedFontsizeBig {
    font-size: 2rem !important;
    margin-bottom: 2rem !important;
  }
  .MyCustomizedFontsize {
    font-size: 1.4rem !important;
    margin-bottom: 2rem !important;
  }
  .g-ver-center--xs {
    top: 56% !important;
  }
}

@media only screen and (min-width: 1000px) and (min-height: 520px) and (max-height: 620px) {
  .MyCustomizedFontsizeBig {
    font-size: 1.8rem !important;
    margin-bottom: 2rem !important;
  }
  .MyCustomizedFontsize {
    font-size: 1.1rem !important;
    margin-bottom: 2rem !important;
  }
  .g-ver-center--xs {
    top: 56% !important;
  }
  .logoImg {
    max-width: 150px;
  }
}

@media only screen and (min-width: 1000px) and (min-height: 320px) and (max-height: 520px) {
  .MyCustomizedFontsizeBig {
    font-size: 1.1rem !important;
    margin-bottom: 2rem !important;
  }
  .MyCustomizedFontsize {
    font-size: 0.6rem !important;
    margin-bottom: 2rem !important;
  }
  .g-ver-center--xs {
    top: 58% !important;
  }
  .logoImg {
    max-width: 150px;
  }
}
/*Customizing Font size based on the height of the browser window 
 *when min-width: 1000px
 *END
 */

/*Customizing Font size based on the height of the browser window 
 *when min-width: 800px
 *START
 */
@media only screen and (min-width: 800px) and (min-height: 820px) {
  .MyCustomizedFontsizeBig {
    font-size: 2.8rem !important;
    margin-bottom: 2rem !important;
  }
  .MyCustomizedFontsize {
    font-size: 1.6rem !important;
    margin-bottom: 2rem !important;
  }
  .g-ver-center--xs {
    top: 56% !important;
  }
}

@media only screen and (min-width: 800px) and (min-height: 620px) and (max-height: 820px) {
  .MyCustomizedFontsizeBig {
    font-size: 2rem !important;
    margin-bottom: 2rem !important;
  }
  .MyCustomizedFontsize {
    font-size: 1.2rem !important;
    margin-bottom: 2rem !important;
  }
  .g-ver-center--xs {
    top: 56% !important;
  }
}

@media only screen and (min-width: 800px) and (min-height: 520px) and (max-height: 620px) {
  .MyCustomizedFontsizeBig {
    font-size: 1.8rem !important;
    margin-bottom: 2rem !important;
  }
  .MyCustomizedFontsize {
    font-size: 1.1rem !important;
    margin-bottom: 2rem !important;
  }
  .g-ver-center--xs {
    top: 56% !important;
  }
  .logoImg {
    max-width: 150px;
  }
}

@media only screen and (min-width: 800px) and (min-height: 320px) and (max-height: 520px) {
  .MyCustomizedFontsizeBig {
    font-size: 1.1rem !important;
    margin-bottom: 2rem !important;
  }
  .MyCustomizedFontsize {
    font-size: 0.6rem !important;
    margin-bottom: 2rem !important;
  }
  .g-ver-center--xs {
    top: 58% !important;
  }
  .logoImg {
    max-width: 150px;
  }
}
/*Customizing Font size based on the height of the browser window 
 *when min-width: 800px
 *END
 */

/*Customizing Font size based on the height of the browser window 
 *when min-width: 600px
 *START
 */
@media only screen and (min-width: 600px) and (min-height: 820px) {
  .MyCustomizedFontsizeBig {
    font-size: 2rem !important;
    margin-bottom: 2rem !important;
  }
  .MyCustomizedFontsize {
    font-size: 1.4rem !important;
    margin-bottom: 2rem !important;
  }
  .g-ver-center--xs {
    top: 53% !important;
  }
}

@media only screen and (min-width: 600px) and (min-height: 620px) and (max-height: 820px) {
  .MyCustomizedFontsizeBig {
    font-size: 2rem !important;
    margin-bottom: 2rem !important;
  }
  .MyCustomizedFontsize {
    font-size: 1.2rem !important;
    margin-bottom: 2rem !important;
  }
  .g-ver-center--xs {
    top: 54% !important;
  }
}

@media only screen and (min-width: 600px) and (min-height: 520px) and (max-height: 620px) {
  .MyCustomizedFontsizeBig {
    font-size: 1.8rem !important;
    margin-bottom: 2rem !important;
  }
  .MyCustomizedFontsize {
    font-size: 1.1rem !important;
    margin-bottom: 2rem !important;
  }
  .g-ver-center--xs {
    top: 56% !important;
  }
  .logoImg {
    max-width: 150px;
  }
}

@media only screen and (min-width: 600px) and (min-height: 320px) and (max-height: 520px) {
  .MyCustomizedFontsizeBig {
    font-size: 1.1rem !important;
    margin-bottom: 2rem !important;
  }
  .MyCustomizedFontsize {
    font-size: 0.6rem !important;
    margin-bottom: 2rem !important;
  }
  .g-ver-center--xs {
    top: 58% !important;
  }
  .logoImg {
    max-width: 150px;
  }
}
/*Customizing Font size based on the height of the browser window 
 *when min-width: 600px
 *END
 */

/*Customizing Font size based on the height of the browser window 
 *when min-width: 400px
 *START
 */
@media only screen and (min-width: 400px) and (min-height: 320px) and (max-height: 450px) {
  .MyCustomizedFontsizeBig {
    font-size: 1.1rem !important;
    margin-bottom: 2rem !important;
  }
  .MyCustomizedFontsize {
    font-size: 0.6rem !important;
    margin-bottom: 2rem !important;
  }
  .g-ver-center--xs {
    top: 55% !important;
  }
  .logoImg {
    max-width: 150px;
  }
}

@media only screen and (min-width: 400px) and (min-height: 220px) and (max-height: 320px) {
  .MyCustomizedFontsizeBig {
    font-size: 0.6rem !important;
    margin-bottom: 2rem !important;
  }
  .MyCustomizedFontsize {
    font-size: 0.4rem !important;
    margin: 0rem !important;
  }
  .g-ver-center--xs {
    top: 55% !important;
  }
  .logoImg {
    max-width: 150px;
    display: none;
  }
}
/*Customizing Font size based on the height of the browser window 
 *when min-width: 400px
 *END
 */

/*
@media only screen and (min-height: 820px) {
  .MyCustomizedFontsizeBig {
    font-size: 3rem !important;
    margin-bottom: 2rem !important;
  }
  .MyCustomizedFontsize {
    font-size: 2rem !important;
    margin-bottom: 2rem !important;
  }
  .g-margin-b-30--xs_Customized {
    margin: 10rem !important;
    padding: 10rem !important;
  }
  .g-ver-center--xs {
    top: 56% !important;
  }
}*/

.MyCustomizedFontsizeBig {
  font-size: 3.5vw;
  margin-bottom: 1rem !important;
}
.MyCustomizedFontsize {
  font-size: 3vh!important;
  margin-bottom: 1rem !important;
}

.g-margin-b-30--xs_Customized {
  margin: 3rem;
  padding: 3rem;
}

.center-box {
  width: 50%;
  min-width: 300px;
  margin: auto;
}

#divSuccess {
  display: none;
}

.s-header__container {
  padding-top: 0px;
  padding-bottom: 0px;
}

.s-header__shrink {
  background-color: rgba(255,255,255,0.9)!important;
}

.s-header__idezet {
  position: absolute;
  right: 0;
  z-index: 9999;
  width: 100%;
  height: auto;
}
.idezet-kep {
  position: absolute;
  right: 5%;
  padding: 2.1rem 0rem;
  width: 40%;
}

.logo-img {
  width: 180px;
}

/* Keyframes for the fade-in */
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-moz-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  opacity: 0;
  opacity: 1 \9; /*just in case ie*/
  -webkit-animation: fadeIn ease-in 1;
  -moz-animation: fadeIn ease-in 1;
  animation: fadeIn ease-in 1;

  -webkit-animation-fill-mode: forwards;
  -moz-animation-fill-mode: forwards;
  animation-fill-mode: forwards;

  -webkit-animation-duration: 1s;
  -moz-animation-duration: 1s;
  animation-duration: 1s;
}

.fade-in.first {
  -webkit-animation-delay: 1s;
  -moz-animation-delay: 1s;
  animation-delay: 1s;
}

.fade-in.one {
  -webkit-animation-delay: 1s;
  -moz-animation-delay: 1s;
  animation-delay: 1s;
  
  -webkit-animation-duration: 1s;
  -moz-animation-duration: 1s;
  animation-duration: 1s;
}

.fade-in.two {
  -webkit-animation-delay: 2s;
  -moz-animation-delay: 2s;
  animation-delay: 2s;

  -webkit-animation-duration: 1s;
  -moz-animation-duration: 1s;
  animation-duration: 1s;
}

.fade-in.three {
  -webkit-animation-delay: 3s;
  -moz-animation-delay: 3s;
  animation-delay: 3s;

  -webkit-animation-duration: 1s;
  -moz-animation-duration: 1s;
  animation-duration: 1s;
}
.fade-in.four {
  -webkit-animation-delay: 4s;
  -moz-animation-delay: 4s;
  animation-delay: 4s;
  
  -webkit-animation-duration: 1s;
  -moz-animation-duration: 1s;
  animation-duration: 1s;
}

.fade-in.five {
  -webkit-animation-delay: 5s;
  -moz-animation-delay: 5s;
  animation-delay: 5s;
  
  -webkit-animation-duration: 1s;
  -moz-animation-duration: 1s;
  animation-duration: 1s;
}

.fade-in.six {
  -webkit-animation-delay: 6s;
  -moz-animation-delay: 6s;
  animation-delay: 6s;
}


/* =====================================================================
   NIGHT & DAY 2026 - VERSION 2
   Bounded hero frame. The hero and every child are constrained to 100svh.
   ===================================================================== */
html, body { max-width: 100%; }

.nd26v2 {
  position: relative !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: 100vh !important;       /* fallback */
  height: 100svh !important;      /* viewport-height check */
  min-height: 0 !important;
  max-height: 100svh !important;  /* hard upper bound */
  overflow: hidden !important;    /* overflow check */
  contain: layout paint;
  display: grid;
  place-items: center;
  padding: clamp(54px, 7svh, 76px) clamp(14px, 3vw, 42px) clamp(44px, 6svh, 62px);
  background: #000 url("../img/nightandday26/creation_ih26_min.jpg") center / cover no-repeat !important;
  isolation: isolate;
}

.nd26v2 *, .nd26v2 *::before, .nd26v2 *::after { box-sizing: border-box !important; }

.nd26v2__overlay {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.12), transparent 52%, rgba(0,0,0,.70));
  pointer-events: none;
}

/* The frame is bounded by BOTH viewport width and available viewport height. */
.nd26v2__frame {
  position: relative;
  z-index: 1;
  width: min(76vw, 900px);
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(0,.55fr) minmax(0,2.35fr) minmax(0,.62fr) minmax(0,1.2fr) minmax(0,.62fr) minmax(0,.82fr);
  align-items: center;
  justify-items: center;
  gap: clamp(3px, .65svh, 8px);
}

/* Defeat legacy/global image rules and natural-size rendering. */
.nd26v2__frame > img {
  display: block !important;
  position: static !important;
  inset: auto !important;
  transform: none !important;
  margin: 0 !important;
  height: auto !important;
  max-height: 100% !important;
  max-width: 100% !important;
  object-fit: contain !important;
  pointer-events: none;
}

.nd26v2__logo {
  width: 24% !important;
  min-width: 0 !important;
  justify-self: center;
  margin-left: 0;
}
.nd26v2__melto { width: 78% !important; }
.nd26v2__conference { width: 72% !important; }
.nd26v2__nightday { width: 42% !important; }
.nd26v2__date { width: 72% !important; }

.nd26v2__topics {
  width: 74%;
  max-width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: clamp(6px, 1vw, 16px);
}
.nd26v2__topics span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: clamp(6px, .8svh, 10px) clamp(10px, 1.25vw, 20px);
  border: clamp(2px, .2vw, 4px) solid #f2b35f;
  color: #f2b35f;
  background: rgba(0,0,0,.9);
  font-family: 'Now','Montserrat',sans-serif;
  font-size: clamp(13px, 1.25vw, 22px);
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.nd26v2__more {
  position: absolute; z-index: 3; left: 50%; bottom: max(7px,env(safe-area-inset-bottom));
  transform: translateX(-50%); display: grid; justify-items: center; gap: 2px;
  color: #fff; font-size: 11px; line-height: 1.2; letter-spacing: 2px;
  text-transform: uppercase; text-decoration: none; white-space: nowrap; text-shadow: 0 1px 7px #000;
}
.nd26v2__more:hover,.nd26v2__more:focus { color:#fff; text-decoration:none; }

/* MOBILE: same bounded frame, adjusted widths only. */
@media (max-width: 767px) {
  .nd26v2 {
    padding: max(46px,env(safe-area-inset-top)) 8px max(40px,env(safe-area-inset-bottom));
    background-position: 54% center !important;
  }
  .nd26v2__frame {
    width: 100%;
    grid-template-rows: minmax(0,.5fr) minmax(0,2.35fr) minmax(0,.62fr) minmax(0,1.15fr) minmax(0,.62fr) minmax(0,.82fr);
    gap: clamp(2px,.5svh,5px);
  }
  .nd26v2__logo { width: 28% !important; justify-self: center; margin-left: 0 !important; }
  .nd26v2__melto { width: 88% !important; }
  .nd26v2__conference { width: 86% !important; }
  .nd26v2__nightday { width: 54% !important; }
  .nd26v2__topics { width: 94%; gap: 5px; }
  .nd26v2__topics span {
    padding: clamp(6px,.75svh,9px) clamp(4px,1.6vw,8px);
    border-width: 2px;
    font-size: clamp(10px,3vw,14px);
  }
  .nd26v2__date { width: 90% !important; }
}

/* SHORT VIEWPORT CHECK: reduce chrome and artwork together, never increase hero height. */
@media (max-height: 620px) {
  .nd26v2 { padding-top: 38px; padding-bottom: 34px; }
  .nd26v2__frame { gap: 2px; }
  .nd26v2__logo { width: 20% !important; }
  .nd26v2__melto { width: 68% !important; }
  .nd26v2__conference { width: 64% !important; }
  .nd26v2__nightday { width: 36% !important; }
  .nd26v2__topics { width: 66%; }
  .nd26v2__topics span { padding: 4px 7px; font-size: clamp(9px,1.1vw,13px); border-width: 2px; }
  .nd26v2__date { width: 64% !important; }
}

/* Feature fallback: browsers without svh still stay inside 100vh. */
@supports not (height: 100svh) {
  .nd26v2 { height:100vh !important; max-height:100vh !important; }
}

@media (prefers-reduced-motion: reduce) {
  .nd26v2 .fade-in { opacity:1 !important; animation:none !important; }
}
