/* style.css 1.1.1 – music → music.css, old unused gallery rules removed */
:root {
    --menucontainer-transition: all ease 1.8s;
    --default-transition: all ease .25s;
    --color-blue: #111d2e;
    --color-lightblue: rgb(55, 93, 151);
    --color-lightgray: #e2e1e1;
    --color-orange: #ce9614;
}
body {
    position: relative;
    background: var(--color-blue);
    font-family: Verdana, Helvetica, sans-serif;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    width: 100vw;
    overflow: hidden;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    letter-spacing: .08em;
}

.d-line {
    height: 2px;
    position: absolute;
}
#d-line-1 {
    left: 0;
    top: 0;
    transform-origin: top left;
    background-image: linear-gradient(to right, var(--color-blue), white);
}
#d-line-2 {
    right: 0;
    top: 0;
    background-image: linear-gradient(to left, var(--color-blue), white);
    transform-origin: top right;
}
#d-line-3 {
    left: 0;
    bottom: 0;
    background-image: linear-gradient(to right, var(--color-blue), white);
    transform-origin: bottom left;
}
#d-line-4 {
    background-image: linear-gradient(to left, var(--color-blue), white);
    right: 0;
    bottom: 0;
    transform-origin: bottom right;
}
#dev-header {
    position: absolute;
    top: calc(50vh - 160px);
    color: white;
}
.container {
    /*position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;*/
    padding: 15px 25px;
}

#main-container {
    position: absolute;
    color: var(--color-blue);
    border: 2px solid white;
    background: var(--color-orange);
    text-align: center;
}
#main-container p {
    line-height: 1.3rem;
}
#main-container >div:not(#zero) a {
    z-index: 10;
    width: 100%;
    color: var(--color-lightblue);
    background: #ffffff;
    font-weight: bold;
    text-decoration: none;
    padding: 4px 0;
    margin: 2px 0;
}   
#main-container >div:not(#zero) a:hover {
    opacity: .8;
    transition: var(--default-transition);
}
#main-container.loaded {
    z-index: 51;
}

.button-menu {
    all: unset;
    display: none;
    position: absolute;
    z-index: 100;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    cursor: pointer
}
.button-menu.show {
    display: inline-block;
}
.button-home {
    all: unset;
    position: absolute;
    cursor: pointer;
    z-index: 100;
    left: -14px;
    top: -14px;
    height: 18px;
    width: 18px;
    border-radius: 100%;
    border: 10px solid #f4f4f4;
    background: var(--color-orange);
    box-sizing: content-box;
    opacity: 0;
    transition: var(--default-transition);
}
.button-home.show {
    opacity: 1;
}
.button-home.show:hover {
    opacity: .8;
}

.show-menu-rotate {
    transition: var(--menucontainer-transition) !important;
    transform: rotate3d(1, 1, 1, 360deg);
}

#container-info * {
    opacity: 0;
}
#container-webpages {
    align-items: center;
    box-sizing: border-box;
    color: var(--color-blue);
    display: flex;
    flex-direction: column;
    height: 100%;
    left: 0;
    max-height: 100%;
    opacity: 0;
    overflow: auto;
    padding: 2px 0;
    position: absolute;
    text-decoration: none;
    top: 0;
    transition: var(--menucontainer-transition);
    width: 100%;
}
#container-webpages.show {
    opacity: 1;
}

/*DRAWINGS*/
#container-drawings {
    display: flex;
    z-index: 0;
    transition: background ease 1.5s, opacity ease 1.5s;
    opacity: 0;
    background: radial-gradient(ellipse at 87%, #381d3c 4%, #292020 19%, #181f29 56%, #000 76%);
    top: 0;
    left: 0;
    height: 100%;
    padding: 0;
    justify-content: center;
    align-items: center;
    position: fixed;
    height: calc(var(--vh, 1vh) * 100);
    width: 100vw;
    overflow: auto;
}
#container-drawings.active {
    z-index: 100;
}

.gallery {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
}

#zero {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 1;
    transition: all ease 1.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#zero.inactive {
    opacity: .3;
}
#zero.allCircle * {
    color: var(--color-lightblue);
}


.textNormal {
    position: absolute;
    opacity: 0;
}
.char {
    position: relative; 
    display: inline-block;
    color: var(--color-blue);
    transition: all ease; 
}
a .char { 
    text-decoration: none; 
    color: var(--color-blue); 
}

#button-toggle_drawings.inactive {
	display: none;
}
#button-toggle_drawings {
    background: transparent;
    border: 0;
    color: white;
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
    left: 0;
    opacity: .8;
    padding: 8px 12px 4px;
    position: absolute;
    top: 0;
    z-index: 1000;
}

#button-git {          /* same look as "show gallery" / "show music" */
    background: transparent;
    border: 0;
    color: white;
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
    left: 50%;
    opacity: .8;
    padding: 8px 12px 4px;
    position: fixed;
    top: 0;
    transform: translateX(-50%);
    white-space: nowrap;
    z-index: 1;
}

#container-math {
    position: fixed;
    right: 0;
    top: 50%;
	z-index: 2;
}
#container-math #rank-container {
    display: grid;
    grid-template-columns: 40px 1fr 1fr;
    justify-content: center;
    text-align: right;
    width: 100%;
}
#container-math #rank-container > div {
    height: auto;
	color: black;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.08rem;
    width: 100%;
    padding: 8px 6px 3px;
    box-sizing: border-box;
}
#container-math input {
	color: black;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.08rem;
    width: 54px;
    padding: 8px 6px 3px;
}
#container-math form {
	align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}
#container-math #rank-container .false {
    color: var(--color-orange);
}
#container-math #rank-container .true {
    color: green;
}
#container-math #calculation {
	display: inline-block;
    color: white;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.4rem;
}

#dev-footer {
	position: fixed;
    bottom: 10px;
    color: white;
    font-size: 12px;
    text-align: center;
}
#dev-footer p {
	margin-bottom: 0;
    line-height: 0;
}

#Ball-bounce {
	position: fixed;
	top: 0;
	left: 50vw;
    margin-left: -50%;
	z-index: 1000000;
}
#Ball {
	height: 25px;
	width: 25px;
	border-radius: 50%;
	display: inline-block;
    border: 2px solid black
}
