/*
CSS RESET
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-weight: normal;
    font-size: 100%;
}
  
ol,
ul {
    list-style: none;
}
  
img,
video {
    width: 100%;
}
  
a {
    color: black;
    text-decoration: none;
}

/*
STYLES
*/
/*hubpage button*/
.hubpage {
    display: inline-block;
    font-family: "BradfordMono"; 
    text-align: center;
    font-size: 15px;
    color: rgb(124, 99, 99);
    background-color: transparent;

    border: solid rgb(124, 99, 99);
    border-width: 2px;
    border-radius: 5px;
    padding: 5px;

    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 15;
}
/**/
* {
    background-color: rgb(255, 255, 255);
    box-sizing: border-box;
}

:root {
    font-size: 14px;
}

.info {
    font-family: "BradfordMono";
    font-size: 1rem;
    color: rgb(124, 99, 99);
    padding: 5px;
    border: 2px solid rgb(124, 99, 99);
    border-radius: 5px;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1;
}

img {
    background-color: transparent;
    height: 100vmin;
    width: auto;
    position: absolute;
    top: 50vh;
    left: 50vw;
    transform: translate(-50%, -50%);
    z-index: 2;
}

/*animation*/
#toggle-animation {
    position: fixed;
    display: none;
}

#pause-button {
    display: inline-block;
    width: 50vmin;
    height: 70vmin;
    padding: 10px 20px;
    background-color: transparent;

    position: fixed;
    top: 60vh;
    left: 50vw;
    transform: translate(-50%, -50%);

    cursor: pointer;
    user-select: none;
    z-index: 999;
}

.animation {
    position: fixed;
    top:0;
    width: 100vw; 
    height: 100vh;
    overflow: hidden;
}

.frame {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: animate 1.5s infinite;
}

.frame:nth-child(1) {
    animation-delay: 0s;
}

.frame:nth-child(2) {
    animation-delay: 0.5s;
}

.frame:nth-child(3) {
    animation-delay: 1s;
}

#toggle-animation:checked ~ .animation .frame {
    animation-play-state: paused;
}

@keyframes animate {
    0% {
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    21%, 100% {
        opacity: 0;
    }
}

@media only screen and ( max-width:1350px ) {
    * {
        background-color: rgb(236, 222, 222);
    }
}

@media only screen and ( max-width:1300px ) {
    * {
        background-color: rgb(221, 199, 199);
    }
}

@media only screen and ( max-width:1250px ) {
    * {
        background-color: rgb(199, 176, 176);
    }
}

@media only screen and ( max-width:1200px ) {
    * {
        background-color: rgb(174, 148, 148);
    }
}

@media only screen and ( max-width:1150px ) {
    * {
        background-color: rgb(148, 125, 125);
    }
}

@media only screen and ( max-width:1100px ) {
    * {
        background-color: rgb(121, 96, 96);
    }

    img {
        filter: invert(70%);  
    }
}

@media only screen and ( max-width:1050px ) {
    * {
        background-color: rgb(89, 65, 65);
    }
}

@media only screen and ( max-width:1000px ) {
    * {
        background-color: rgb(79, 58, 58);
    }
}

@media only screen and ( max-width:950px ) {
    * {
        background-color: rgb(59, 38, 38);
    }
}

@media only screen and ( max-width:400px ) {
    :root {
        font-size: 12px;
    }
}

/*imac*/
@media only screen and ( min-width:2000px ) {
    .hubpage {
        font-size: 18px;
        border-width: 2.5px;
    }

    :root {
        font-size: 18px;
        border-width: 2.5px;
    }
}

