@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400..800&display=swap');


html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
.grid-container {
    background-color: #272c40;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    height: 96vh;
    padding: 10px;
    box-sizing: border-box;
}
.grid-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    margin: 1rem;
    border-radius: 1rem;
    filter: brightness(0.8);
    cursor: pointer;
}
.grid-item .content {
    transition: all 0.8s;
    position: absolute;
    bottom: 0;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(15px);
    background-color: rgba(110, 114, 115, 0.2);
    padding: 1.25rem 0;
    text-align: center;
    min-height: 15%;
    justify-content: center;
}

.content h3 {
    font-family: "Syne", sans-serif;
    font-size: 30px;
    color: #dffd11;
    opacity: 1;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    margin: 0;
}

.content p {
    font-family: "Syne", sans-serif;
    color: white;
    margin: 0;
}

.grid-item:hover  {
    filter: brightness(1);
    transition: all 0.8s;
}

.intro {
    text-align: center;
    padding: 25px;
    background: #111;
    color: #ddd;
}

h1 {
    font-size: 48px;
    font-weight: 300;
    padding: 15px 0;
}

.intro p {
    opacity: 0.5;
    font-size: 12px;
}

.intro p a {
    color: #FA8CD3;
}




/* ---- Create Accordion --- */

h1 {
    text-align: center;
    color: #FFF;
}

/* ---- Create Accordion --- */

.accordion {
    /* max-width: 1080px; */
    height: 50vh;
    display: flex;
    overflow: hidden;
    margin: 50px auto;
    place-content: center;
}

.tab {
    position: relative;
    width: 20%;
    height: inherit;
    /* padding: 20px; */
    background: #000;
    color: #FFF;
    cursor: pointer;
    transition: width .5s ease;
}

.accordion .tab:first-child,
.accordion .tab:first-child img,
.accordion .tab:first-child h2{
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
}

.accordion .tab:last-child,
.accordion .tab:last-child img,
.accordion .tab:last-child h2 {
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
}


.tab img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* filter: brightness(.7); */
    transition: all .5s ease;
}

.caption {
    position: absolute;
    z-index: 2;
    white-space: nowrap;
    bottom: 0;
    opacity: 1;
    width: -webkit-fill-available;
    transition: all .5s ease;

}

.caption h2 {
    margin-bottom: 2px;
    text-overflow: clip;
    font-size: 44px;
    text-transform: uppercase;
    padding: 1rem;
    color: white;
    font-weight: 600;
    backdrop-filter: blur(5px);
    overflow: hidden;
    white-space: nowrap;
}

.caption p {
    opacity: 0;
    margin: 0;
    font-family: 'Open Sans';
    font-size: .9rem;
}


.tab:hover img {
    filter: brightness(1);
}

.tab:hover {
    width: 80%;
}

.tab:hover .caption p {
    transition: all .5s ease;
    opacity: 1;
}



.modal {
    text-align: center;
    padding: 0 !important;
}

.modal:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -4px;
}

.modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}

.modal-content {
    background: transparent;
    border: 0px !important;
}

.modal-backdrop.in {
    opacity: 0.5;
}

.header{
    display: none;
}
