h2 {
    text-align: left;
    z-index: 1;
}

h4 {
    text-align: center !important;
    z-index: 1;
}

#mainContainer {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 6.83% auto 6.83%;
    grid-template-columns: 6.83% auto 6.83%;
    height: 100vh;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    text-align: center;
}

.grid-two-columns {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    gap: 0.1%;
}

img {
    width: 100%;
    border-radius: 0px;
}

.image-container {
    width: 100%;
    height: auto;
}

.image-container img {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    margin-bottom: 20px;
}

#carousel {
    scroll-behavior: smooth;
    overflow-x: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    display: flex;
    overflow: hidden;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    height: 80vh;
    margin: 20px 0;
    z-index: 1;
}

#content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-transition: -webkit-transform 0.5s ease;
    transition: -webkit-transform 0.5s ease;
    -o-transition: transform 0.5s ease;
    transition: transform 0.5s ease;
    transition: transform 0.5s ease, -webkit-transform 0.5s ease;
}

#carousel .item {
    width: 30%;
    height: auto;
    -o-object-fit: contain;
    object-fit: contain;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 30%;
    flex: 0 0 30%;
    margin: 0 10px;
    border-radius: 8px;
}

.vertical-container {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 20px 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 22%;
    z-index: 1;
}

.vertical-container video {
    width: 81%;
    height: auto;
}


.vertical-container img {
    width: 100%;
    height: auto;

}

video {
    width: 100%;
    height: auto;
}

.video-container {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 2% 1fr;
    grid-template-columns: repeat(2, 1fr);
    gap: 2%;
    z-index: 1;

}

button {
    position: absolute;
    top: calc(140vh + 20px);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    color: white;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 4;
}


.lastElement {
    margin-bottom: 5%;
}

.worksLink a {
    font-family: "ironstrike";
    font-size: 1.75vh;
    font-weight: 300;
    top: 8.25vh;
    letter-spacing: 0.3vh;
    line-height: 1.5;
    position: fixed;
    background-color: black;
    color: rgb(252, 244, 234);
    padding: 0.5vh 1vh;
    border-radius: 5px;
}

.full-width {
    grid-column: span 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.full-width img {
    max-width: 70%; /* Adjust this value to make the image smaller or larger */
    height: auto;
}