:root {
    --color-base: #fff;
    --fondo: #161616;
}

.light-mode {
    --color-base: #161616;
    --fondo: #d3d3d3;
    transition: 1s;
}

@font-face {
    font-family: "digital geometric";
    src: local("Digital_geometric_bold"), url("/assets/fonts/Digital_geometric_bold.ttf") format("truetype");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
}

body {
    background-color: var(--fondo);
    font-family: 'Courier New', Courier, monospace;
}

#tema-switch {
    height: 40px;
    width: 40px;
    position: absolute;
    padding: 0;
    border-radius: 50%;
    background-color: var(--fondo);
    display: flex;
    justify-content: center;
    align-items: center;
    top: 20px;
    right: 20px;
}

#tema-switch svg {
    fill: var(--color-base);
}

#tema-switch svg:last-child {
    display: none;
}

.light-mode #tema-switch svg:first-child {
    display: none;
}

.light-mode #tema-switch svg:last-child {
    display: block;
}

.titulo {
    margin-top: 5rem;
    font-size: 10em;
    color: var(--color-base);
    overflow: hidden;
    margin-left: 115px;
    font-family: "digital geometric";
    font-weight: bold;
}

.titulo .letra {
    display: inline-block;
    line-height: 2em;
    opacity: 0;
}

.letra:nth-child(1) {
    text-transform: capitalize;
}

.subtitulo {
    position: relative;
    font-size: 10em;
    color: var(--color-base);
    overflow: hidden;
    margin-left: 609px;
    margin-top: -185px;
    font-family: "digital geometric";
    font-weight: bold;
    letter-spacing: -7px;
}

.figura {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 28px solid transparent;
    border-right: 28px solid transparent;
    border-bottom: 70px solid aqua;
    margin-left: 160px;
    margin-top: -265px;
}

.menu {
    position: absolute;
    bottom: 40%;
    padding: 0 10px;
    right: -160px;
    transform: rotate(-90deg);
}

.menu ul li {
    display: inline-block;
    padding: 10px 25px;
    color: var(--color-base);
    cursor: pointer;
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 300;
}

.menu a {
    text-decoration: none;
    color: var(--color-base);
}

.menu a:hover {
   color: gray;
}

.footer {
    font-size: 12px;
    letter-spacing: 3px;
    position: absolute;
    color: var(--color-base);
    bottom: 40px;
    left: 80px;
    transform: rotate(-90deg);
}

.footer::before {
    content: "";
    border: 2px solid var(--color-base);
    width: 50px;
    margin: 0 20px 0 0;
    transform: translateY(-2px);
    opacity: .5;
    display: inline-block;
}