::-webkit-scrollbar{
    width: 0;
}

#page{
    width: 100%;
    min-height: 100vh;
    padding-bottom: 4rem;
}

#fit-screen-center{
    width: 100%;
    min-height: 100vh;
    padding: 5%;
    display: grid;
    align-items: center;
    place-items: center;
}

.content-box{
    width: 100%;
    height: 100%;
    margin: 1rem 0;
    display: grid;
    grid-gap: 1rem;
}

img{
    width: 100%;
}
    
.pad{
    padding: 5%;
}

.margin3rem{
  margin: 3rem 0;
}


.video-container{
  max-width: 100%;
  height: 60vh;
  margin: auto;
  position: relative;
}

#video-player{
  width: fit-content;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

#thumbnail-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.tile{
  width: 100%;
  color: var(--color-black);
  background: var(--color-white);
  border: thin solid var(--color-green);
  transition: var(--transition);
}


.tile:hover{
  transform: scale(1.05);
  transition: var(--transition);
}


.right{
    margin-left: auto;
}

.flex-box{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flex-space{
    width: 100%;
    display: flex;
    align-items: center;
    grid-gap: 2rem;
}

.col3, .col3-fixed{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 2rem;
    align-items: center;
}

.col4, .col4-fixed{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    grid-gap: 1rem;
}

.col2, .col2-fixed{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    grid-gap: 5%;
}


.col6, .col6-1, .col6-fixed {
  width: 100%;
  display: grid;
  align-items: center;
  grid-template-columns: repeat(6, 1fr);
  grid-gap: 1rem;
}


.gallery-grid{
    width: 100%;
    height: fit-content;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 1rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.templates{
    width: 100%;
}

.template{
    width: 100%;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 60% 1fr;
    align-items: center;
}

.template-bg{
    height: 410px;
    padding: 1rem;
    border: thin solid var(--pur);
    border-left: thick solid var(--pur);
    border-right: none;
    border-radius: 10px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    margin-right: -1px;
    z-index: 5;
    background: var(--bg);
}

.template-sm{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1rem;
    padding: 1rem;
    border: thin solid var(--pur);
    border-right: thick solid var(--pur);
    border-radius: 10px;
}

.templates img{
    height: 100%;
}

.template-sm img{
    height: 100%;
}

.tile{
    width: 100%;
    padding: 2rem;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top: thin solid var(--pur);
    border-left: thin solid var(--pur);
    border-right: thin solid var(--pur);
    border-bottom: thick solid var(--pur);
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition);
}

.tile:hover{
    transform: scale(1.05);
    background: rgba(0,0,0,0.6);
}

.slideshow-container{
        width: 100%;
        max-width: 600px;
        height: fit-content;
        overflow: hidden;
        position: relative;
    }
    
    .slideshow{
        display: flex;
        width: 400%;
        animation: slide 30s infinite;
    }
    
    .slide{
        width: 25%;
        height: 100%;
        display: grid;
        grid-gap: 10px;
        padding: 1rem;
        justify-content: center;
        align-items: center;
    }
    
    @keyframes slide{
        0%{
            transform: translateX(0);
        }
        
        25%{
            transform: translateX(-25%);
        }
        
        50%{
            transform: translateX(-50%);
        }
        
        75%{
            transform: translateX(-75%);
        }
        
        100%{
            transform: translateX(0);
        }
    }

#footer{
    width: 100%;
    min-height: 50vh;
    padding: 5%;
    grid-gap: 2rem;
}

.permalinks{
    place-items: center;
}

.permalinks a{
    color: var(--txt);
}



#scroll-x{
  width: 100%;
  overflow-x: scroll;
}

.hide-scroll{
  min-width: fit-content;
  display: flex;
  grid-gap: 1rem;
  overflow-x: auto;
}


@media screen and (max-width: 1200px){
    
    .col3, .col4{
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 10%;
    }
}

@media screen and (max-width: 1000px){
    .col6{
        grid-template-columns: repeat(4, 1fr);
        grid-gap: 1.5rem;
    }
    
}

@media screen and (max-width: 750px){
    
    .templates{
        margin: 8rem 0;
    }
    
    .template{
        grid-template-columns: 1fr;
    }
    
    .template-bg{
        display: none;
    }
    
    .template-sm{
        border-left: thick solid var(--pur);
    }
    
    .gallery-grid{
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 3rem;
    }
    
    .content-box{
        width: 100%;
        overflow-x: scroll;
    }
    
    #fit-screen-center{
        padding: 10% 5% 5% 5%;
    }
    
    #slide-mobile{
        width: 370%;
        display: flex;
        grid-gap: 2rem;
        overflow-x: hidden;
    }
    
    .col4, .col2{
        grid-template-columns: 1fr;
    }
    
    .col6{
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 1rem;
    }
    
    .tile:hover{
        transform: none;
    }
    
    #footer{
        margin-top: 3rem;
    }
}

@media screen and (max-width: 600px){
    .col6{
        grid-template-columns: repeat(2, 1fr);
    }
}