@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

body {
    background-color: #11151c;
    margin: 0;
    font-family: 'Kanit', sans-serif;
    color: white;
}

nav {
    background-color: #11151c;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

a {
    color: white;
    text-decoration: none;
    padding: 15px;
    margin-right: 5px;
    font-size: 20px;
    font-family: 'Ubuntu', sans-serif;
}

img {
    width: 20px;
    object-fit: contain;
}

.logo {
    width: 150px;
}

.effect:hover {
    color: #d7101d;
    transition: ease-in-out 0.3s;
}

#movie-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px;
    margin: 40px;
    margin-top: -150px;
    margin-left: 5%;
    margin-right: 5%;
}

.movie {
    background-color: #252b37;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    padding: 10px;
    margin: 10px;
    z-index: 100;
}

.movie img {
    display: block;
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-bottom: 2px solid #11151c;
    margin: 0;
    padding: 0;
}

.movie h3 {
    font-size: 20px;
    font-weight: 500;
    margin: 15px 0;
    padding: 0 10px;
    color: #fff;
    text-align: center;
    word-wrap: break-word;
}

.movie:hover {
    transform: scale(1.03);
} 

.movie p {
    font-size: 14px;
    color: #bbb;
    margin: 10px 0;
    padding: 0 10px;
}

.more-info {
    background-color: #d7101d;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
    transition: background-color 0.3s ease-in-out;
}

.more-info:hover {
    background-color: #a50e16;
}

.load-more {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #d7101d;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    font-family: 'Ubuntu', sans-serif;
    transition: ease-in-out 0.3s;
}

.load-more:hover {
    background-color: #a50e16;
}

.bouton{
    display: flex;
    justify-content: center;
    padding-top: 40px;
    margin-bottom: 40px;
}

.btn {
    color: #d7101d;
    font-family: 'Ubuntu', sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid #d7101d;
    padding: 10px 20px;
    font-size: 17px;
    cursor: pointer;
    font-weight: bold;
    background: transparent;
    position: relative;
    transition: all 1s;
    overflow: hidden;
    border-radius: 10px;
}


.btn:hover {
    color: white;
}

.btn::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 0%;
    top: 0;
    left: -40px;
    transform: skewX(45deg);
    background-color: #d7101d;
    z-index: -1;
    transition: all 1s;
}

.btn:hover::before {
    width: 160%;
}

iframe {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: 850px;
}

video {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: 850px;
}

.video-container {
    position: relative;
    width: 100%;
    height: 850px;
    overflow: hidden;
}

#teaser-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#fade-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, rgba(17, 21, 28, 0), #11151c);
    z-index: 2;
}

#movie-container {
    padding: 30px;
    background-color: #11151c;
    animation: fadeIn 1.5s ease-in-out;
}

#teaser-video-container {
    position: relative;
    width: fit-content;
}

.overlay-text {
    position: absolute;
    top: 20%;
    left: 18%;
    transform: translate(-50%, -50%);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.overlay-text img {
    width: 500px;
}

.overlay-description {
    font-family: 'Ubuntu', sans-serif;
    position: absolute;
    top: 40%;
    left: 20%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.more-info-teaser {
    background-color: #d7101d;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease-in-out;
    position: absolute;
    top: 50%;
    left: 10%;
}

.toggleSwitch {
    width: 50px;
    height: 50px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(39, 39, 39);
    border-radius: 50%;
    cursor: pointer;
    transition-duration: .3s;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.13);
    overflow: hidden;
    position: absolute;
    top: 50%;
    left:5%;
  }
  
  #checkboxInput {
    display: none;
  }
  
  .bell {
    width: 18px;
  }
  
  .bell path {
    fill: white;
  }
  
  .speaker {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition-duration: .3s;
  }
  
  .speaker svg {
    width: 18px;
  }
  
  .mute-speaker {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    z-index: 3;
    transition-duration: .3s;
  }
  
  .mute-speaker svg {
    width: 18px;
  }
  
  #checkboxInput:checked +.toggleSwitch .speaker {
    opacity: 0;
    transition-duration: .3s;
  }
  
  #checkboxInput:checked +.toggleSwitch .mute-speaker {
    opacity: 1;
    transition-duration: .3s;
  }
  
  #checkboxInput:active + .toggleSwitch {
    transform: scale(0.7);
  }
  
  #checkboxInput:hover + .toggleSwitch {
    background-color: rgb(61, 61, 61);
  }

footer {
    background-color: #121212;
    color: white;
    padding: 40px 20px;
    font-family: 'Ubuntu', sans-serif;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-container div {
    flex: 1 1 250px;
    min-width: 200px;
}

.footer-about,
.footer-links,
.footer-contact {
    margin-bottom: 20px;
}

.footer-about h3,
.footer-links h3,
.footer-contact h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.footer-about p,
.footer-contact p {
    font-size: 14px;
    line-height: 1.6;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin: 5px 0;
}

.footer-links ul li a {
    text-decoration: none;
    color: #ccc;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid #444;
    padding-top: 10px;
    font-size: 14px;
    color: #ccc;
}