/* fontes */
@font-face {
    font-family: "Mom's Typewriter";
    src: url("../fonts/MomsTypewriter.ttf");
}

@font-face {
    font-family: "Help Me";
    src: url("../fonts/HelpMe.ttf");
}

/* selecionar texto */
::selection {
    text-shadow: 0 0 2px #987654;
    color: #987654;
}
  
::-moz-selection {
    text-shadow: 0 0 2px #987654;
    color:#987654;
}

/* scrollbar */
@supports (-moz-appearance: none) {
    * {
        scrollbar-color: #98765450 #000000;
        scrollbar-width: thin;
        scrollbar-gutter: stable;
    }
}

::-webkit-scrollbar {
    width: 5px;
    height: 10px;
    background: #000000;
}
  
::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #98765450;  
}

::-webkit-scrollbar-thumb:hover {
    background: #98765450;  
}

/* * */
* {
    margin: 0px;
    padding: 0px;
    cursor: url("https://cur.cursors-4u.net/others/oth-5/oth466.cur"), auto;
}

body {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url("../img/figure/bg/7-dias-em-sepia-3.jpg");
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    animation: opacity 2s linear;
}

a {
    color: white;
}

.wrapper {
    min-height: 100vh;
    height: auto;
    max-height: 1500px;
    display: flex;
    flex-flow: row nowrap;
}

/* aside */
aside {
    width: 10vw;
    margin: 15px;
    padding: 15px;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    box-shadow: 0 0 20px black;
    background-color: rgba(0, 0, 0, 0.45);
}

header img {
    width: 125px;
    transition: 0.25s;
}

header img:hover {
    transform: scale(1.15);
}

.portas {
    width: 50px;
    margin-top: 15px;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.portas a {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    gap: 2.75px;
    text-decoration: none;
}

.portas a img {
    width: 34px;
    height: 60px;
}

.portas a p {
    font-size: 0.75rem;
    text-decoration: none;
}

.portas a:hover img {
    transform: scale(1.075);
    transition: all 0.2s ease-in-out;
}

.portas a:hover p {
    letter-spacing: 2px;
}

.portas .fechada {
    pointer-events: none;
    cursor: default;
}

.portas .fechada img {
    filter: grayscale(100%);
}

.portas .fechada p {
    opacity: 0.5;
}

/* main */
main {
    width: 90vw;
    margin: 15px 20px 15px 15px;
    display: flex;
    flex-flow: column nowrap;
}

main h1 {
    max-height: 35px;
    padding: 20px;
    display: flex;
    justify-content: center;
    color: white;
    font-family: "Mom's Typewriter";
    text-shadow: 0 0 5px black;
}

main iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.75);
}

.iframe-close {
    top: 83px;
    right: 16px;
    position: absolute;
    display: none;
    font-size: 25px;
    font-weight: bold;
    text-decoration: none;
    color: rgb(255, 0, 0, 0.5);
}

/* viewports */
@media (max-width: 768px) {
    .wrapper {
        flex-flow: column nowrap;
        align-items: center;
    }

    aside {
        width: 90vw;
    }

    .portas {
        width: auto;
        flex-flow: row wrap;
    }

    main h1 {
        padding: 0px 0px 15px 0px;
    }

    main iframe {
        height: 100dvh;
    }

    .iframe-close {
        top: 268px;
        right: 16px;
    }
}