body {
    margin: 0;
    background-color: gainsboro;
    overflow: hidden;
    font-family: sans-serif;
}

button:hover {
    cursor: pointer;
    -webkit-transition: all ease-in-out .2s;
    -o-transition: all ease-in-out .2s;
    transition: all ease-in-out .2s;
}

#slider {
    -webkit-writing-mode: vertical-lr;
    -ms-writing-mode: bt-lr;
    writing-mode: vertical-lr;
    direction: rtl;
    -webkit-appearance: slider-vertical;
    -moz-appearance: slider-vertical;
    appearance: slider-vertical;

    position: fixed;
    right: 10px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 999;
}

#slider:hover {
    cursor: pointer;
}

.object {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;
    width: 100vw;
    height: calc(100vh - 140px);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;

    display: -webkit-box;

    display: -ms-flexbox;

    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.object div {
    padding: 0.5rem;
    gap: 10px;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    position: absolute;
    width: 100vw;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    top: 0;
}

.object>div>span {
    font-size: 4rem;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    max-width: 700px;
    font-weight: 900;
    color: white;
    -webkit-text-stroke: 2px black;

    /* text-transform: capitalize; */
}

.object>div>span:nth-child(2) {
    text-align: end;
}

.object a {
    color: white;
    text-decoration: none;
    z-index: 999;
    position: relative;
}

.object img {
    height: 100%;
    max-width: 100%;
    -o-object-fit: contain;
    object-fit: contain;
    z-index: 80;
    -webkit-transform: translateX(100%);
    -ms-transform: translateX(100%);
    transform: translateX(100%);
    opacity: 1 !important;
    -webkit-transition: all ease-in-out .2s;
    -o-transition: all ease-in-out .2s;
    transition: all ease-in-out .2s;

    user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.imageMove {
    -webkit-transform: translateX(0) !important;
    -ms-transform: translateX(0) !important;
    transform: translateX(0) !important;
    opacity: 1 !important;
    -webkit-transition: all ease-in-out .2s;
    -o-transition: all ease-in-out .2s;
    transition: all ease-in-out .2s;
}

.imageGo {
    -webkit-transform: translateX(-100%) !important;
    -ms-transform: translateX(-100%) !important;
    transform: translateX(-100%) !important;
    opacity: 0;
    -webkit-transition: all ease-in-out .2s;
    -o-transition: all ease-in-out .2s;
    transition: all ease-in-out .2s;
}

.hidden {
    display: none;
}


.nav {
    position: fixed;
    bottom: 0rem;
    left: 0;
    z-index: 3;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100vw;
    padding: 0.5rem;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    gap: 10px;
}

.arrow {
    /*! display: flex; */
    /*! justify-content: space-between; */
    /*! align-items: center; */
    /*! height: 70px; */
    /*! gap: 100px; */
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.arrow span {
    font-size: 3rem;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    font-weight: 900;
    color: white;
    -webkit-text-stroke: 1.8px black;
    text-transform: capitalize;
    margin: 0;
    width: 100%;
    text-align: center;
}

.arrow button {
    font-size: 4rem;
    color: white;
    -webkit-text-stroke: 2px black;
    background-color: transparent;
    border: none;
    height: 70px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-radius: 4px;
    text-decoration: none;
}

.arrow button:active {
    background-color: rgba(128, 128, 128, 0.681);
}

.active {
    background-color: rgba(128, 128, 128, 0.681) !important;
}

.button {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.nav a,
button {
    padding: 12px 10px 10px 10px;
    border-radius: 4px;
    color: inherit;
    text-decoration: none;
    font-size: 1rem;
    border: 1px solid grey;
    -webkit-transition: all ease-in-out .2s;
    -o-transition: all ease-in-out .2s;
    transition: all ease-in-out .2s;
    text-align: center;

    display: -webkit-box;

    display: -ms-flexbox;

    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.button a:nth-child(2) {
    background-color: yellow;
}

.button a:nth-child(2):hover {
    background-color: rgb(217, 217, 4);
}


video {
    position: fixed;
    z-index: 2;
    height: 100vh;
    width: 100vw;
    top: 0;
    background-color: red;
    -o-object-fit: cover;
    object-fit: cover;
}

.bg {
    position: fixed;
    z-index: 1;
    height: 100vh;
    width: 100vw;
    top: 0;
    /* background-color: blue; */
    -o-object-fit: cover;
    object-fit: cover;

    /* background-image: url(media/bg-sol.JPG); */
    background-size: cover;
    background-position: center;
}

.backgrounds {
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 12px;
    z-index: 200;
    position: fixed;
    padding: 12px;
    right: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.backgrounds div {
    height: 20px;
    width: 20px;
    background-color: white;
    border: 2px solid black;
    border-radius: 999px;
}

.bgSelected {
    background-color: black !important;
    border-color: white !important;
}


@media (max-width: 768px) {
    .object>div>span {
        font-size: 2.5rem;
        -webkit-text-stroke: 1.5px black;
    }

    .arrow span {
        font-size: 2.5rem !important;
        -webkit-text-stroke: 1.5px black;
    }

    .arrow button {
        -webkit-text-stroke: 1.5px black;
    }

    a,
    button {
        padding: 6px;
    }

}