/* * {border:1px solid red} */
/* The following CSS applies on all screen sizes */

/* Colors and fonts */
:root {
    /* Fonts */
    --bodyfont: 'Oxygen Mono', 'Lucida Console', Helvetica, sans-serif;
    --headerfont: 'Rubik Mono One', 'Lucida Console', Helvetica, sans-serif;

    /* Main colors */
    --background:#614c63; /* Page background */
    --color:#f9f8f9;
    --block:#1f002b; /* Background color for the grid blocks in the content */

    --link:#f9f8f9;
    --linkhover:#f04576;
    
    --nav:#f9f8f9;
    --navhover:#f04576;

    --h1:#f9f8f9;
    --h2:#f9f8f9;
    --h3:#f9f8f9;
    --h4:#f9f8f9;
    
    --copyright:#f9f8f9;
    
    --containerbg:#9c7cad;

    
    /* Menu colors */
    --menubg:#f9f8f9;
    --menucolor:#1f002b;/* fonte */
    --menubghover:#f04576;
    --menucolorhover:#f9f8f9;/* fonte */
}
/*  FONTES  */
/* Bytesized - regular */
@font-face {
    font-family: 'Bytesized';
    font-style: normal;
    src: url('./media/fontes/Bytesized/Bytesized-Regular.ttf') format('truetype'); 
}

/* Nosifer - regular */
@font-face {
    font-family: 'Nosifer';
    font-style: normal;
    src: url('./media/fontes/Nosifer/Nosifer-Regular.ttf') format('truetype'); 
}

/* Oxygen mono - regular */
@font-face {
    font-family: 'Oxygen Mono';
    font-style: normal;
    src: url('./media/fontes/Oxygen_Mono/OxygenMono-Regular.ttf') format('truetype'); 
}

/* Rubik - regular */
@font-face {
    font-family: 'Rubik';
    font-style: normal;
    src: url('./media/fontes/Rubik/Rubik-VariableFont_wght.ttf') format('truetype'); 
}

/* Rubik Glitch - regular */
@font-face {
    font-family: 'Rubik Glitch';
    font-style: normal;
    src: url('./media/fontes/Rubik_Glitch/RubikGlitch-Regular.ttf') format('truetype'); 
}

/* Rubik Mono One - regular */
@font-face {
    font-family: 'Rubik Mono One';
    font-style: normal;
    src: url('./media/fontes/Rubik_Mono_One/RubikMonoOne-Regular.ttf') format('truetype'); 
}

/* VT323 - regular */
@font-face {
    font-family: 'VT323';
    font-style: normal;
    src: url('./media/fontes/VT323/VT323-Regular.ttf') format('truetype'); 
}

.fonte-pixel{
    font-family: 'VT323';
    font-style: normal;
}

.fonte-sangue{
    font-family: 'Nosifer';
    font-style: normal;
}

.fonte-glitch{
    font-family: 'Rubik Glitch';
    font-style: normal;
}

.fonte-mono{
    font-family: 'Oxygen Mono';
    font-style: normal;
}

.fonte-pixel{
    font-family: 'VT323';
    font-style: normal;
}



* { margin:0; padding:0; }

/* Main body styling */
body {
    background-image: url("./media/bg2.png");
    background-size: auto;
    background-color:var(--background);
    background-attachment:fixed;
    font:1rem var(--bodyfont);
    color:var(--color);
}

/* Rounded corners - feel free to get rid of this or change it */

main section, #sidebar-content, #main-footer {
    border-radius:5px;
}



.icon img {
    border-radius:100%; /* This makes the icon a circle - feel free to remove or reduce for a rectangle or square */
    max-width:150px; /* This can be changed to make the icon smaller; you might have to mess with the border radius too */
}

/* Styling for the menu */

#main-menu {
    font:2.9em var(--headerfont);
    width:100%;
}

.yt-embed {
  aspect-ratio: 16 / 9;
  width: 100%;
}


#main-menu ul {
    list-style:none;
    list-style-position:inside;
    padding: 0;
    margin: 0;
}

#main-menu li a {
    padding:8px;
    margin-bottom: 10px;
    background:var(--menubg);
    color:var(--menucolor);
    text-decoration:none;
    transition:0.3s ease;
}

#main-menu li a:hover, #main-menu li a:focus {
    background: var(--menubghover);
    color:var(--menucolorhover);
    transition:0.3s ease;
}
.button {
    font:1.8em var(--headerfont);
    background:var(--menubg);
    color:var(--menucolor);
    text-decoration:none;
    padding: 6px 10px;
}

.button:hover, .button:focus {
    transform: rotate(-4deg)
}
/* Content styling */

main {
    margin-top:10px;
}

/* Styling for blocks */

main section, #main-footer {
    padding:15px;
    background:var(--block);
    margin-bottom:10px;
}

main h1 {
    font:1.8em var(--headerfont);
    color:var(--h1);
}

main h2 {
    font:1.5em var(--headerfont);
    color:var(--h2);
}

main h3 {
    font:1.3em var(--headerfont);
    color:var(--h3);
}

main h4 {
    font:1em var(--headerfont);
    font-style:italic;
    color:var(--h4);
}

p {
    line-height:1.5;
    margin:10px 0 10px 0;
}

main a {
    color:var(--link);
    transition:0.5s ease;
}

main a:hover, main a:focus {
    color:var(--linkhover);
    transition:0.1s ease;
}

main ul {
    list-style-position: inside;
    margin-left: 25px;
}

main ul li {
    line-height:1.5;
}

main img {
    max-width:100%;
}

main input, textarea, select, button { 
    background: var(--block);  
    color: var(--color);
    font: 1rem var(--bodyfont); 
    border: 1px solid; 
    padding: 8px; 
    margin: 2px;
}
#nav-top {
    max-width:950px;
    width:90%;
    margin:50px auto 0px;
    text-align:right;
    color:var(--nav);
}

#nav-top a{
    color:var(--nav);
    font-weight: 900;
    text-shadow: -1px 0 1px black, 0 1px 1px black, 1px 0 1px black, 0 -1px 1px black;
}

#nav-top a:hover{
    color:var(--navhover);
    font-weight: 900;
    text-shadow: -1px 0 1px black, 0 1px 1px black, 1px 0 1px black, 0 -1px 1px black;
}

    .container-grid {
        width:100%;
        margin:0 auto;
        display:flex;
        gap:20px;
        align-items: center;
    }

#main-footer {
    text-align:center;
}

.bordinha{
    width: 100%;
background-color: var(--containerbg);
}

.favicon{
    max-height: 32px;
    max-width: auto;
}
footer p a img {

}
footer a{
    text-decoration: none;
}

.copyright{
    width: 100%;
    text-align: center;
    color:var(--copyright);
    font-family: 'VT323';
    font-size: 22px;
    font-weight: 600;
    text-shadow: -1px 0 1px black, 0 1px 1px black, 1px 0 1px black, 0 -1px 1px black;
}
/* The following CSS ONLY applies to mobile/small screens */

/* Container styling */
#container {
    width: calc(100% - 20px);
    padding:10px;
    margin-top:10px;
    
}


#main-menu li {
        display:block;
        margin:0;
    }

    #main-menu li a {
        display:block;
    }

/* Skip to content button */

#skip a {
    position:absolute;
    display:block;
    left:0px;
    top:-1000px;
    overflow:hidden;
    transition:top 0.5s ease;
    background:var(--block);
    color:var(--link);
    z-index:1000;
    padding:5px;
}
 
#skip a:focus {
    top: 0;
    transition:top 0.5s ease;
}

/* The following CSS ONLY applies to desktop/big screens */

@media screen and (min-width: 800px) {
    #container {
        background-color: var(--containerbg);
        max-width:1000px;
        padding:8px 50px;
        width:90%;
        margin:25px auto;
        display:flex;
        gap:20px;
        clip-path: polygon(0 0, 100% 0, 96% 100%, 4% 100%);
    }

    /* Make menu links into a column */

    #main-menu li {
        display:block;
        margin:0;
        padding:0;
    }

    #main-menu li a {
        display:block;
    }

    main {
        flex: 1 1 calc(75% - 30px);
        display:flex;
        flex-wrap:wrap;
        gap:10px;
    }

    main section {
        margin:0;
    }
    
    #main-footer {
        flex: 1 1 calc(100% - 40px);
    }

    /* Defining grid blocks */

    .full { flex: 1 1 calc(100% - 40px);}
    .half { flex: 1 1 calc(50% - 40px); }
    .third { flex: 1 1 calc(33% - 40px); }
    .twothird { flex: 1 1 calc(66% - 40px); }
    .quarter { flex: 1 1 calc(25% - 40px); }
    .threequarter { flex: 1 1 calc(75% - 40px); }
    .threequarterslant { flex: 1 1 calc(75% - 40px); }
}