/* Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background: radial-gradient(1200px 400px at 30% -20%, #261f45 0%, rgba(14, 11, 22, 0) 60%),
                radial-gradient(900px 380px at 80% -10%, #1b2548 0%, rgba(14, 11, 22, 0) 60%),
                #0e0b16;
    height: 100vh;
    max-width: 100vw;
    font-family: "Alexandria", sans-serif;
    letter-spacing: normal;
    color: #f9f9f9;
    text-align: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    scroll-behavior: smooth;
}

body {
    background: radial-gradient(1200px 400px at 30% -20%, #261f45 0%, rgba(14, 11, 22, 0) 60%),
                radial-gradient(900px 380px at 80% -10%, #1b2548 0%, rgba(14, 11, 22, 0) 60%),
                #0e0b16;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

select, input {
    font-family: "Alexandria", sans-serif;
    background-color: #110a1d;
    color: #f9f9f9;
}

.piano {
    position: relative;
    width: 360px;
    height: 162px;
    background-image: url('tools/keys/piano.png'); /* Image of 1 octave piano */
    background-size: contain;
    background-repeat: no-repeat;
    display: none;
    margin: 20px auto 10px auto;
}
.highlight {
    position: absolute;
    width: 360px;
    height: 162px;
    background-size: contain;
    background-repeat: no-repeat;
    display: none; /* Initially hidden */
}

input {
    border-color: #f9f9f9;
    border-style: solid;
    border-radius: 6px;
    padding-left: 0.3vw;
}

button {
    font-family: "Alexandria", sans-serif;
    background-color: #f9f9f9;
    color: #110a1d;
    border: none;
    border-radius: 5px;
    padding: 2.5px 9px;
}

button:hover {
    background-color: #c9b6df;
}

button:active {
    background-color: #7f76aa;
}

/* Layout */
#fakeBody {
    animation: fadeIn 1s ease-in-out;
    background: radial-gradient(720px 480px at 15% 5%, rgba(106, 78, 214, 0.38) 0%, rgba(12, 9, 18, 0) 70%),
                radial-gradient(720px 480px at 85% 10%, rgba(46, 220, 210, 0.38) 0%, rgba(12, 9, 18, 0) 70%),
                radial-gradient(620px 540px at 50% 80%, rgba(120, 120, 255, 0.24) 0%, rgba(12, 9, 18, 0) 75%),
                #08070f;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
}

.vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 100px rgba(0, 0, 0, 0.08) inset;
    pointer-events: none;
}

/* Utilities */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Hero */
#tag {
    opacity: 32%;
    font-family: "Alexandria", sans-serif;
    font-size: 0.72em;
    text-transform: uppercase;
    font-weight: 300;
}

#about {
    text-align: left;
}

#thirdSub h2 {
    margin-bottom: 0.35em;
}

#about p,
#about ul {
    font-weight: 400;
}

.contact-line {
    font-weight: 400;
}

.contact-strong {
    font-weight: 700;
}

/* Typography */
p {
    font-family: "Alexandria", sans-serif;
    font-weight: lighter;
    margin: 0;
}

ul {
    font-family: "Alexandria", sans-serif;
    font-weight: normal;
    margin: 0;
    padding-left: 1.1em;
}

#about li {
    margin: 0.45em 0;
    line-height: 1.45;
}

.bullet {
    font-family: "Alexandria", sans-serif;
    display: inline;
    margin: auto;
}

a {
    color: #f9f9f9;
    text-decoration: none;
    transition-duration: .25s;
}
a:hover {
    color: #b8860b;
}
a:active {
    color: goldenrod;
}

h1, h2, h3 {
    padding: 0;
    margin: 0;
}

#footer {
    font-family: "Alexandria", sans-serif;
    font-weight: normal;
    opacity: 0.6;
}

h6 {
    margin: 1.2em auto 0;
}

div {
    padding: 0;
    margin: 0;
}

#gallerySub {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    align-items: center;
}

#gallerySub > img {
    width: 100%;
    height: auto;
}

#gallerySub img.animate__animated {
    --animate-duration: 0.7s;
}


.break {
    content: "";
    margin: 2em;
    display: block;
    font-size: 17%;
}

/* Tables */
th {
    text-align: center;
}

table, tr {
    border-collapse: collapse;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
table {
    table-layout: fixed;
}
th:nth-child(1),
td:nth-child(1) {
    width: 12%;
}
th:nth-child(2),
td:nth-child(2) {
    width: 47%;
}
th:nth-child(3),
td:nth-child(3) {
    width: 24%;
}
th:nth-child(4),
td:nth-child(4) {
    width: 17%;
}

td {
    padding: 0.35em 0;
}
.icon:hover {
    filter: invert(51%) sepia(34%) saturate(3747%) hue-rotate(22deg) brightness(97%) contrast(91%);
    transition: .5s;
}

/* PORTRAIT ------------------------------------------------------------------------------------------------ */
@media screen and (orientation:portrait) {
    html {
        font-size: 5.7vw;
    }

    select, button, input {
        font-size: 4vw;
    }

    #logo {
        max-height: 100vw;
        max-width: 80vw;
        margin-top: 2vw;
    }
    #space {
        height: 9vw;
    }

    #firstSub {
        height: 95vh;
        width: 100vw;
        display: table-cell;
        vertical-align: middle;
        text-align: center;
        align-self: center;
    }

    #arrow {
        /* width: 15vw; */
        left: 47.5vw;
        top: 84vh;
        position: absolute;
        animation: flash 6s infinite forwards ease-in-out;
    }
    #extraMargin {
        /* height: 4.5vh; */
        width: 100vw;
        display: table-cell;
        vertical-align: top;
        text-align: center;
        align-self: center;
    }
    
    .icon {
        width: 6vw;
        margin: .6vw;
        transition: .5s;
    }
    
    #secondSub {
        height: 100vh;
        width: 100vw;
        display: table-cell;
        vertical-align: middle;
        text-align: center;
        align-self: center;
        padding-top: 4vw;
    }
    #arrow2, #arrow3, #arrow4 {
        margin-top: 6px;
        width: 15vw;
        animation: flash 2s infinite forwards ease-in-out;
    }

    #discog {
        margin-top: 21px;
    }

    #thirdSub {
        height: 89vh;
        max-width: 100vw;
        width: 100vw;
        display: table-cell;
        vertical-align: middle;
        text-align: center;
        align-self: center;
        padding: 5vw 0 8vw 0;
    }

    p {
        padding: 0 1vw 2vw 1vw;
        font-size: 3.7vw;
    }

    .contact-line {
        font-size: 3.7vw;
    }
    
    ul {
        padding: 0 6vw 2vw 6vw;
        font-size: 3.7vw;
    }

    h4 {
        padding: 0;
        margin: 0 1vw;
        font-size: 4vw;
    }

    #profile {
        border: .6vw solid #ffffff;
        rotate: 0deg;
        border-radius: 50%;
        width: 43vw;
        align-self: center;
        margin: 8px 5vw 6px 9px;
        float: right;
    }

    .ico {
        display: block;
        height: 7vw;
        padding: 0;
        margin: 3.5vw auto;
    }

    #contact {
        margin-bottom: 2.1vw;
    }

    #fourthSub {
        height: 87vh;
        width: 100vw;
        max-width: 100vw;
        display: table-cell;
        vertical-align: middle;
        padding-top: 3.3vh;
        text-align: center;
        align-self: center;
    }
    
    h1 {
        font-size: 15vw;
        margin: 0;
        padding: 0;
    }

    h2 {
        font-size: 8.1vw;
        margin: 0;
        padding: 0;
    }
    h6 {
        font-size: 2.55vw;
        opacity: 0.6;
        font-family: "Alexandria", sans-serif;
        font-weight: normal;
    }

    #bio {
        font-size: 7vw;
    }

    iframe {
        width: 69vw;
        height: 39vw;
        margin: .5vw;
        border: .69vw solid #dadada;
        border-radius: 0.1vw;
    }

    table {
        width: 100%;
        align-self: center;
        text-align: center;
        margin: 3vw auto;
        font-size: 3.3vw;
        font-weight: 500;
    }

    td {
        font-size: 3.2vw;
    }

    #footer {
        font-size: 2.4vw;
        margin-top: 12px;
        margin-bottom: 16px;
    }
}
/* LANDSCAPE -------------------------------------------------------------------------------------------------- */
@media screen and (orientation:landscape) {
    html {
        font-size: 2.1vw;
    }

    select, button, input {
        font-size: 1.5vw;
    }

    #logo {
        max-width: 44vw;
        margin-top: 1vw;
    }
    #space {
        height: 3vw;
    }

    #firstSub {
        height: 95vh;
        width: 100vw;
        display: table-cell;
        vertical-align: middle;
        text-align: center;
        align-self: center;
    }

    #extraMargin {
        /* height: 1.8vw; */
        width: 100vw;
        display: table-cell;
        vertical-align: top;
        text-align: center;
        align-self: center;
    }
    /* lower footer icons */
    .icon {
        width: 2.1vw;
        margin: .6vw;
        transition: .5s;
    }
    #secondSub {
        height: 91vh;
        width: 100vw;
        display: table-cell;
        vertical-align: middle;
        text-align: center;
        align-self: center;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    #arrow {
        /* width: 15vw; */
        left: 49vw;
        top: 93vh;
        position: absolute;
        animation: flash 6s infinite forwards ease-in-out;
    }

    #arrow2, #arrow3 {
        width: 6vw;
        margin-top: 0;
        padding-top: 0;
        animation: flash 2s infinite forwards ease-in-out;
    }

    #arrow4 {
        width: 6vw;
        margin-top: 0;

        animation: flash 2s infinite forwards ease-in-out;
    }
    #arrow2 {
        margin-bottom: 10px;
    }

    #thirdSub {
        height: 91vh;
        width: 100vw;
        max-width: 100vw;
        display: table-cell;
        vertical-align: middle;
        text-align: center;
        align-self: center;
        padding: 3vw 0 4.5vw 0;
    }

    p {
        padding: .6vw 9vw .6vw 9vw;
        font-size: 1.65vw;
    }

    .contact-line {
        font-size: 1.65vw;
    }
    
    ul {
        padding: 1.2vh 12vw 1.2vh 12vw;
        font-size: 3.05vh;
    }

    h4 {
        padding: 0;
        margin: 0 9vw;
    }
    #profile {
        border: .3vw solid #ffffff;
        rotate: 0deg;
        border-radius: 50%;
        width: 14vw;
        margin: 14px 16vw 22.2px 45px;
        float: right;
    }

    .ico {
        display: block;
        height: 3vw;
        padding: 0;
        margin: 2vw auto;
    }

    #fourthSub {
        height: 90vh;
        width: 100vw;
        max-width: 100vw;
        display: table-cell;
        vertical-align: middle;
        text-align: center;
        align-self: center;
        padding: 3vw 0 3vw 0;
        margin: 0;
    }
    
    h1 {
        font-size: 11vw;
        margin: 0;
        padding: 0;
    }   

    h2 {
        font-size: 4.5vw;
        margin: 0;
        padding: 0;
    }
    h6 {
        font-size: 1.5vw;
        opacity: 0.6;
        font-family: "Alexandria", sans-serif;
        font-weight: normal;
    }

    #bio {
        font-size: 4vw;
    }

    iframe {
        width: 27vw;
        height: 15.5vw;
        margin: .5vw;
        border: .3vw solid #dadada;
        border-radius: 0.05vw;
    }

    table {
        width: 86%;
        align-self: center;
        text-align: center;
        margin: 1vw auto;
        font-size: 1.85vw;
        font-weight: 500;
    }

    td {
        font-size: 1.78vw;
    }

    #footer {
        font-size: 2vh;
        margin-bottom: 16px;
    }
}

/* EXTRAS --------------------------------------------------------------------------------------------------------- */

@font-face {
    font-family: "Alexandria";
    src: url("font/Alexandria-VariableFont_wght.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}

@keyframes zoomInRotating {
    from {
        transform: scale(0.6) rotate(300deg);
    }
    to {
        transform: scale(1) rotate(360deg);
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.6);
    }
    to {
        transform: scale(1);
    }
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes flash {
    0% { opacity: 0.9; }
    50% { opacity: 0; }
    100% { opacity: 0.9; }
}
