:root {
    --base-bg-1: #f26a2e;
    --base-bg-2: white;
    --base-bg-laranjacansaolho: hsl(18, 88%, 70%);
    
    --base-color-0: rgb(255, 255, 255);
    --base-color-1: rgb(242, 160, 46);
    --base-color-1-shade: rgb(242, 160, 46, 0.245);
}

* {
    overflow-x: hidden;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    transition: color 0.3s;
}

body {
    background-color: var(--base-bg-2);
    font-family: 'Tilt Neon';
    overflow-x: hidden;
    color: black;
    text-align: center;
    margin-bottom: 70px;
    transition: background-color 0.3s;
}

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    place-items: center;
}

h1 {font-size: 4rem;}
a {color: unset; text-decoration: none;}
a:hover {color: var(--base-color-1);}
p {font-family: 'Reem Kufi Fun', sans-serif;}
h3 {font-size: 1.2rem; margin-top: 20px;}

#content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    vertical-align: middle;
    text-align: center;
}

.bar {
    font-size: 1.2rem;
    line-height: 1.5rem;
    display: flex;
    gap: 10px;
    border: 2px solid var(--base-color-1);
    padding: 10px;
    background-color: var(--base-color-1-shade);
    border-radius: 1rem;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: auto;
}

.bar img {
    display: block;
    margin: 0;
}

.bar p {overflow-y: hidden;}

nav {
    font-size: 1.2rem;
    display: flex;
    gap: 10px;
    border: 2px solid rgb(255, 238, 0);
    padding: 10px;
    background-color: rgba(255, 196, 0, 0.245);
    border-radius: 1rem;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: auto;
    margin-top: 10px;
}

h2.copyright {
    font-size: 1.1rem;
    text-shadow: none;
    color: white;
    font-style: italic;
    font-family: 'Roboto Mono', monospace;
}

footer {
    position: fixed;
    bottom: 0;
    padding-top: 20px;
    padding-bottom: 20px;
    width: 100%;
    background-color: hsla(0, 0%, 0%, 0.34);
    margin-top: 30px;
    overflow: auto;
    vertical-align: middle;
}

header {
    width: 100%;
    background-color: var(--base-bg-1);
    box-shadow: 0px 20px 5px rgba(0, 0, 0, 0.3);
    padding-bottom: 10px;
    color: white;
    text-shadow: 0px 2px 0px black;
}

#brand {font-family: 'Dancing Script', cursive;}

/* Background elements */
.bgelement {
    pointer-events: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    overflow: hidden;
    margin: auto;
}

.turmabg {
    background-image: url(assets/turmas/AeB.png);
    height: 100%;
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0.5;
}

.orangefade {
    position: absolute;
    height: 100%;
    top: 0;
    background-image: url(assets/arte/orange-fade.svg);
    width: 100%;
    aspect-ratio: 900 / 100;
}

/* Acessibilidade */
#lang {
    padding-top: 20px;
}
#lang button {
    cursor: pointer;
    margin: 5px;
    padding: 0 5px 0 5px;
    border: transparent;
    outline: transparent;
    border-radius: 5px;
    background-color: rgba(255, 145, 0, 0.47);
    transition: background-color 0.3s ease-in;
}
#lang button:hover {background-color: rgba(255, 145, 0, 0.8);}
#lang img {width: 40px;}

@media only screen and (max-width: 600px) {
    h1 {font-size: 3.7rem}
    .bar {font-size: 1.4rem; line-height: 2rem; display: grid;}
    nav {font-size: 1.3rem; line-height: 2rem; display: grid;}
}

/* Browser Fixes */
#wot-new-assistant-container {overflow: hidden;}
#warning-container {overflow: hidden;}