@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400&family=Cormorant+Garamond:ital,wght@0,300;1,300&display=swap');

/* background img */
.bg {
  position: fixed; 
  top: 0; 
  left: 0; 
	
  /* Preserve aspet ratio */
  min-width: 100%;
  min-height: 100%;
}

/* video background */
#background-video {
    height: 100vh;
    width: 100vw;
    object-fit: cover;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;
}
.slider {
      position: relative;
      width: 100%;
      height: 100vh;
      overflow: hidden;
      display: flex;
      flex-wrap: wrap;
}

.slide {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
    transition: opacity 500ms ease-in-out;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center; /* Ensure internal text is centered */
      padding: 20px; /* Add some padding for mobile safety */
      box-sizing: border-box;
    }

.slide.logo-slide {
        transition: opacity 1000ms ease-in-out;
}

.slide h1, .slide p {
    margin: 0; /* Remove default margins that can cause offsets */
}

.slide h1 {
    width: auto;
    max-width: 100%;
}

.slide p {
    width: 100%;
}
.slide a {
  color: #fff;
  font-size: 40pt;
  text-decoration: none;
  position: relative;
  z-index: 1;
  pointer-events: auto; /* make the link clickable */
}


.slide.active {
    opacity: 1;
}

/* text style */

body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    font-family: 'Cinzel', serif;
    font-size: 35pt;
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 0.5px rgba(200, 210, 225, 0.75);
    text-shadow: 0 1px 0 rgba(0,0,0,0.4), 0 -1px 0 rgba(255,255,255,0.1);
}

.logo {
    width: 50%;
    height: auto;
}

.highed {
    font-family: 'Cinzel', serif;
    font-size: 40pt;
    font-weight: 400;
    letter-spacing: 0.06em;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 0.5px rgba(234, 240, 246, 0.65);
    text-shadow: 0 1px 0 rgba(0,0,0,0.4), 0 -1px 0 rgba(255,255,255,0.1);
}

.higtext {
    font-family: 'Cinzel', serif;
    font-size: 42pt;
    font-weight: 400;
    letter-spacing: 0.06em;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 0.5px rgba(255, 204, 0, 0.85);
    text-shadow: 
        /*
        -1px -1px 0 rgba(255, 204, 0, 0.5),
         0   -1px 0 rgba(255, 204, 0, 0.5),
         1px -1px 0 rgba(255, 204, 0, 0.5),
         1px  0   0 rgba(255, 204, 0, 0.5),
         1px  1px 0 rgba(255, 204, 0, 0.5),
         0    1px 0 rgba(255, 204, 0, 0.5),
        -1px  1px 0 rgba(255, 204, 0, 0.5),
        -1px  0   0 rgba(255, 204, 0, 0.5);
        */
}

.bodycontent {
    font-family: 'Cinzel', serif;
    font-size: 10vh;
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: 1.5;
    color: transparent;
    -webkit-text-stroke: 0.5px rgba(234, 240, 246, 0.55);
    text-shadow: 0 1px 0 rgba(0,0,0,0.4), 0 -1px 0 rgba(255,255,255,0.1);
}

.conte {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 40pt;
    font-weight: 300;
    letter-spacing: 0.04em;
    text-align: center;
    color: rgba(255, 204, 0, 0.85);
    text-shadow: 0 1px 0 rgba(0,0,0,0.4), 0 -1px 0 rgba(255,255,255,0.1);
}
.ctc {
}

.conte2 {
    font-family: 'Cormorant Garamond', serif;
    font-style: normal;
    font-size: 32pt;
    font-weight: 300;
    letter-spacing: 0.04em;
    text-align: center;
    color: rgba(255, 204, 0, 0.85);
    text-shadow: 0 1px 0 rgba(0,0,0,0.4), 0 -1px 0 rgba(255,255,255,0.1);
}
@media only screen and (max-width: 840px) {
    .logo {
        width: 80%;
        height: auto;
    }
    body {
        font-size: 27pt;
    }
    
    .slide a {
        font-size: 25pt;
        font-weight: bold;
        text-align: center;
    }

    .higtext {
        font-size: clamp(20px, 4.8vw, 34px);
        letter-spacing: 0.012em;
    }
    
    .highed {
	font-size: clamp(20px, 4.6vw, 32px);
        letter-spacing: 0.01em;
    }

    .highed h1,
    .higtext h1 {
        max-width: 96vw;
        white-space: normal;
        overflow-wrap: normal;
        word-break: normal;
        line-height: 1.08;
        text-align: center;
    }

    .bodycontent {
        font-size: 10vw;
    }

    .conte {
        font-size: 30pt;
        font-weight: bold;
        text-align: center;
    }
    .conte2 {
        font-size: 25pt;
        font-weight: bold;
        text-align: center;
    }
}


@media only screen and (max-width: 480px) {
    .logo {
        width: 80%;
        height: auto;
    }
    body {
        font-size: 25pt;
    }
    
    .slide a {
        font-size: 20pt;
        font-weight: bold;
        text-align: center;
    }

    .higtext {
        font-size: clamp(16px, 6.2vw, 24px);
        letter-spacing: 0.008em;
    }
    
    .highed {
	   	font-size: clamp(15px, 5.8vw, 22px);
        letter-spacing: 0.006em;
    }

    .highed h1,
    .higtext h1 {
        max-width: 96vw;
        white-space: normal;
        overflow-wrap: normal;
        word-break: normal;
        line-height: 1.08;
        text-align: center;
    }

    .bodycontent {
        font-size: 14pt;
    }

    .conte {
        font-size: 30pt;
        font-weight: bold;
        text-align: center;
    }
    .conte2 {
        font-size: 20pt;
        font-weight: bold;
        text-align: center;
    }
}