
body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;                  /* Default to screen dimensions 100vh */
    height: 100svh !important;      /* Browser dimensions override for browsers that support svh */
    z-index: 0;
    background-color: #91d3c4;
    font-family: "Trebuchet MS", Helvetica, sans-serif;
    -webkit-transition: background;
    transition: background;
}

.main-row {
    display: flex;
    flex-flow: row nowrap;
    width: 100%;
    height: 100%;
    margin: auto;
    overflow: hidden;
}

.left-div {
    order: 1;
    flex: 0 0 auto;
    width: 10%;
    height: 20%;
    margin: auto;
    z-index: 3;
}

.main-col {
    order: 2;
    flex: 0 0 auto;
    width: 80%;
    height: 95%;
    top: -4%;
    margin: 0 auto;
}

.right-div {
    order: 3;
    flex: 0 0 auto;
    width: 10%;
    height: 20%;
    margin: auto;
    z-index: 3;
}

.row-1 {
    width: 75%;
    height: 5%;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.row-2 {
    width: 100%;
    height: 25%;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 0;
}

.row-3 {
    width: 100%;
    height: 50%;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.row-4 {
    width: 90%;
    height: 18%;
    display: block;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.row-5 {
    width: 100%;
    height: 2%;
    margin: auto auto 0;
    text-align: center;
    position: relative;
}

video {
    height: 100%;
    width: 100%;
}

.blocklink {
    display: block;
    height: 100%;
    width: inherit;
    position: absolute;
    object-fit: contain;
    margin: auto;
    transition: transform 0.5s ease;
}

#video-container {
    height: 100%;
    width: auto;
    max-width: 540px;
    display: block;
    object-fit: contain;
    margin: 6px auto;
    z-index: 2;
    background-image: url('/images/rotatorFrame_01.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

#rotator {
    height: 100%;
    width: 100%;
    max-width: 540px;
    display: block;
    object-fit: contain;
    margin: 6px auto;
}

#3-discord {
    height: 600px;
    width: 600px;
    display: block;
}

.spanDiv {
    top: 0px;
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    margin: auto;
    font-size: clamp(20px, 2vw, 80px);
    transition: transform 0.5s ease;
}

.socials {
    position: relative;
    margin: 0 px 10px 0px 10px;
    width: 18%;
    max-width: 100px;
}

.wideimage {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: auto;
}

.tallimage {
    top: 0px;
    width: inherit;
    height: 100%;
    object-fit: contain;
    position: absolute;
    display: block;
    margin: auto;
    transition: transform 0.5s ease;
}

.button {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: auto;
    cursor: pointer;
}

@media only screen and (min-width:768px) {
    /* For desktop: */
    .left-div {
        order: 1;
        flex: 0 0 auto;
        width: 30%;
        height: 20%;
        margin: auto;
    }
    
    .main-col {
        order: 2;
        flex: 0 0 auto;
        width: 40%;
        height: 95%;
        top: -4%;
        margin: 0 auto;
    }
    
    .right-div {
        order: 3;
        flex: 0 0 auto;
        width: 30%;
        height: 20%;
        margin: auto;
    }

    .row-4 {
        width: 80%;
        height: 18%;
        display: block;
        margin: 0 auto;
        text-align: center;
        position: relative;
    }

    .button {
        width: 20%;
        height: auto;
        object-fit: contain;
        display: block;
        margin: auto;
    }
}