.bt-youtube{
  position: relative;
  display: inline-block;
  font-size: clamp(1em, 5vw, 1.4em);
  color: var(--bg);
  text-align: center;
  padding: 8px 100px;
  z-index: 0;
  overflow: visible;
}
.bt-youtube::before{
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--a1);
  clip-path: polygon(6% 0, 100% 0, 94% 100%, 0% 100%);
  transition: transform 0.3s ease;
  z-index: -1;
  transform-origin: center center;
}
.bt-youtube:hover::before{
  transform: scale(1.12);
}

::-webkit-scrollbar{
    width: 12px;
}
::-webkit-scrollbar-track{
    background: #030303;
}
::-webkit-scrollbar-thumb{
    background-color: #444;
}

.container.slider{
    position: relative;
    padding-bottom: var(--x4);
    display: flex;
    height: auto;
    width: 100%;
    justify-content: center;
}
.container.slider .box{
    position: relative;
    display: flex;
    justify-content: center;
}
.container.slider h5{
    position: absolute;
    color: var(--c3);
    bottom: 30%;
    right: 30%;
}
.container.slider .box .image img{
    height: 700px;
    width: auto;
    mask-image: linear-gradient(to top, 
        rgba(3, 3, 3, 0) 0%, 
        rgba(3, 3, 3, 0.03) 5%, 
        rgba(3, 3, 3, 0.07) 15%, 
        rgba(3, 3, 3, 0.15) 25%, 
        rgba(3, 3, 3, 0.4) 35%, 
        rgba(3, 3, 3, 0.65) 40%, 
        rgba(3, 3, 3, 0.85) 50%);
    transition: 0.6s all ease;
}
.container.slider .buttons{
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    z-index: 1;
    transform: translateY(-50%);
    padding: 0 10px;
}
.container.slider .buttons button{
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: color 0.3s ease;
}
.container.slider .buttons svg{
    color: var(--c1);
    width: 50px;
    height: 50px;
    transition: color 0.3s ease;
}
.container.slider .buttons button:hover svg{
    color: var(--a1);
}

.container.gallery{
    padding: var(--x4) 0 0 0;
}
.container.gallery .grid{
    display: grid;
    grid-template-areas: 
        "img1 img1 img2 img3 img4"
        "img5 img6 img2 img7 img7";
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}
.container.gallery .grid img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.container.gallery .grid .img1{
    grid-area: img1;
}
.container.gallery .grid .img2{
    grid-area: img2;
}
.container.gallery .grid .img3{
    grid-area: img3;
}
.container.gallery .grid .img4{
    grid-area: img4;
}
.container.gallery .grid .img5{
    grid-area: img5;
}
.container.gallery .grid .img6{
    grid-area: img6;
}
.container.gallery .grid .img7{
    grid-area: img7;
}

.video{
    position: absolute;
    overflow: hidden;
    width: 100%;
    height: 80vh;
    mask-image: linear-gradient(to top, 
    rgba(3, 3, 3, 0) 0%, 
    rgba(3, 3, 3, 0.03) 10%, 
    rgba(3, 3, 3, 0.07) 30%, 
    rgba(3, 3, 3, 0.15) 50%, 
    rgba(3, 3, 3, 0.4) 70%,
    rgba(3, 3, 3, 0.65) 80%,
    rgba(3, 3, 3, 0.85) 100%);
    z-index: -4;
}
.video video, 
.video img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}
.video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 1;
    animation: fadeOut 4s forwards;
    z-index: 1;
}
@keyframes fadeOut{
    0%{
        opacity: 1;
    }
    100%{
        opacity: 0;
    }
}

header nav a svg{
    width: 20px;
    height: 20px;
    color: var(--c1);
    transition: color 0.3s ease;
}
header nav a svg:hover{
    color: var(--a1);
}

.past {
  opacity: 0.4;
}
.past .calendar .day,
.past .calendar .week,
.past .info-place .place,
.past .info-description .description{
  text-decoration: line-through;
}


.container.contacte h2{
    text-align: center;
    font-weight: 300;
    max-width: 950px;
    text-wrap: pretty;
    color: var(--c1);
    transition: color 0.3s;
}
.container.contacte img.isotype{
    width: 100%;
    max-width: 600px;
    margin-bottom: var(--x3);
}
.container.contacte .phones{
    margin-top: var(--x3);
    display: flex;
    gap: var(--x4);
}
.container.contacte .phones .phone{
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}
.container.contacte .phones .phone .user{
    color: var(--c1);
    font-size: 36px;
    rotate: 0deg;
}
.container.contacte .phones .phone .number{
    color: var(--a1);
    font-size: 24px;
    font-weight: 500;
    text-decoration: underline;
}

.container.agenda h1{
    margin-bottom: var(--x4);
}

@media (max-width: 900px){
    .bt-youtube{
        font-size: 18px;
        padding: 4px 30px;
    }
    .bt-youtube:hover::before{
        transform: scale(1.12);
    }
    .container.gallery .grid{
        grid-template-areas: 
            "img1 img1"
            "img2 img3"
            "img4 img4"
            "img5 img6";
        grid-template-columns: repeat(2, 1fr);
    }
    .container.gallery .grid .img7{
        display: none;
    }
    .container.gallery .grid img{
        width: 100%;
        height: 300px;
    }
    .container.slider .box .image img{
        height: 600px;
    }
    .container.slider h5{
        right: 20%;
    }
}
@media (max-width: 700px){
    .container.slider .box .image img{
        height: 500px;
    }
    .container.slider h5{
        right: 15%;
    }
    .container.gallery .grid img{
        width: 100%;
        height: 275px;
        transition: all 0.5s ease;
    }
}
@media (max-width: 450px){
    .container.slider .box .image img{
        width: 100%;
        height: auto;
    }
    .container.slider h5{
        right: 40px;
    }
    .container.gallery .grid img{
        width: 100%;
        height: 225px;
        transition: all 0.5s ease;
    }
    .container.contacte .phones{
        flex-direction: column;
    }
}

