@font-face {
    font-family: 'Times Now';
    src: url(fonts/Times\ Now\ Light.otf);
    font-weight: 100;
}
@font-face {
    font-family: 'Times Now';
    src: url(fonts/Times\ Now\ Light\ Italic.otf);
    font-weight: 100;
    font-style: italic;
}
@font-face {
    font-family: 'Times Now';
    src: url(fonts/Times\ Now\ Light.otf);
    font-weight: 200;
}
@font-face {
    font-family: 'Times Now';
    src: url(fonts/Times\ Now\ Light\ Italic.otf);
    font-weight: 200;
    font-style: italic;
}
@font-face {
    font-family: 'Times Now';
    src: url(fonts/Times\ Now\ SemiBold.otf);
    font-weight: 550;
}
@font-face {
    font-family: 'Times Now';
    src: url(fonts/Times\ Now\ SemiBold\ Italic.otf);
    font-weight: 550;
    font-style: italic;
}

body, html, div, p, a {
    font-family: 'Times Now';
    font-weight: 200;
    margin: 0;
    padding: 0;
    font-size: 20px;
    letter-spacing: -0.05em;
    line-height: 18px;
    cursor: help !important;
}

div.grid {
    width: calc(100vw-10px);
    height: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 18px auto;
    grid-column-gap: 5px;
    grid-row-gap: 5px;
    padding: 5px;
}


.top-1 { grid-area: 1 / 1 / 2 / 2; }
.top-2 { grid-area: 1 / 2 / 2 / 3; }
.top-3 { grid-area: 1 / 3 / 2 / 5; }
.btm-1 { grid-area: 2 / 1 / 3 / 2; }
.btm-2 { grid-area: 2 / 2 / 3 / 3; }
.btm-3 { grid-area: 2 / 3 / 3 / 4; }
.btm-4 { grid-area: 2 / 4 / 3 / 5; }

.top-1 > a > p:hover::before {
    content: "←";
}

.top-1 > a > p, .top-1 > a {
    color: black;
    text-decoration: none;
    font-weight: 550;
}



sup {
    font-weight: 100;
    font-style: italic;
    vertical-align: top;
    font-size: 14px;
    position: relative;
    top: -5px;
}

a, a:visited {
    color: black;
    text-decoration: none;
}

a:hover {
    animation: rainbow 10s linear 0s infinite;
}

/* div.top-3 > a:nth-child(6):hover::before {
    content: '✉✎✉✎✉✎✉✎✉✎✉✎✉✎';
    visibility: visible;
}
div.top-3 > a:nth-child(6):hover {
    visibility: hidden;
} */

@keyframes rainbow {
    5% {
        color: blue;
    }
    10% {
        color: rgb(0, 255, 0);
    }
    15% {
        color: yellow;
    }
    25% { 
        color: orange;
    }
    30% {
        color: red;
    }
    35% {
        color: rgb(255, 0, 255);
    }
    42.5% {
        color: rgb(179, 0, 255);
    }
    45% {
        color: blue;
    }
    55% {
        color: rgb(0, 255, 0);
    }
    60% {
        color: yellow;
    }
    70% { 
        color: orange;
    }
    75% {
        color: red;
    }
    80% {
        color: rgb(255, 0, 255);
    }
    87.5% {
        color: rgb(179, 0, 255);
    }
    95% {
        color: blue;
    }
}



@media screen and (orientation: portrait) {

body, html, div, p, a {
    font-family: 'Times Now';
    margin: 0;
    padding: 0;
    font-size: 80px;
    letter-spacing: -0.07em;
    line-height: 80px;
}

sup {
    font-size: 50px;
    top: -15px;
}

.top-1 {
    grid-area: 1 / 1 / 2 / 2;
}
.top-3 {
    grid-area: 2 / 1 / 3 / 2;
    position: fixed;
    bottom: 0;
}
.top-2 {
    display: none;
}

}