@font-face {
    font-family: Pervitina-Dex;
    src: url('../fonts/Pervitina-Dex-FFP.ttf') format('truetype');
}

:root {
    --fontNyGYM: Pervitina-Dex, sans-serif;
}

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

#erro-width {
    display: none;
}

#presentation {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;

    min-height: 100vh;
    background: 
        url('../images/gym-background-index.png')
        no-repeat
        left bottom / cover
    ;
}

#presentation > article {
    padding: 10px;
    color: white;
    text-shadow: 0px 0px 3px rgb(0, 0, 0);
}

#presentation > article > h2 {
    font-size: 3em;
    padding: 10px 5px;
    text-align: center;
    font-weight: lighter;
    font-family: var(--fontNyGYM);
}

#presentation > article > p {
    font-size: 1.2em;
    padding: 10px 5px;
    text-align: center;
    font-weight: bolder;
}

@media (min-width: 750px) {
    header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;

        padding: 10px;
        background-color: #0094ff;
    }

    header > div > a {
        color: white;
        text-decoration: none;
        font-family: var(--fontNyGYM);
    }
    
    header > div > a > h1 {
        font-weight: lighter;
        font-family: var(--fontNyGYM);
        text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.514);
    }

    #menu {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    .bnt-nav > a {
        color: white;
        text-decoration: none;
    }

    .bnt-nav > a > p {
        padding: 10px;
        border-radius: 7px;
        font-weight: bolder;
        border: 1px solid #b4b4b400;
        transition-duration: .3s;
    }
    
    .bnt-nav > a > p:hover {
        cursor: pointer;
        border: 1px solid #0084ff;
        background-color: #0084ff;
        transition-duration: .3s;
    }

    #menu-info {
        display: none;
    }

    #bnt-div-menu {
        display: none;
    }

    #about {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        min-height: 100vh;
        background-color: white;
    }

    #about > article {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
    }

    #about > article > div > picture > img {
        max-width: 300px;
    }

    #about > article > div {
        padding: 10px;
    }

    #about > article > div > h2, #about > article > div > ul, #about > article > div > ul > li {
        padding: 5px;
    }

    #about > article > div > ul {
        list-style-position: inside;
    }

    #about > article > div > ul > li {
        text-align: justify;
    }

    #social-media {
        display: flex;
        align-items: center;
        flex-direction: row;
        justify-content: center;

        padding: 10px;
        min-height: 100vh;
        background-color: rgb(223, 223, 223);
    }

    #social-media > article {
        display: flex;
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
        gap: 10px;
    }

    #social-media > article > div > picture > img {
        width: 100%;
    }

    #social-media-text {
        width: 400px;
    }

    #social-media-img {
        width: 300px;
    }

    #social-media > article > div {
        text-align: justify;
    }

    #social-media > article > div > h2,
    #social-media > article > div > p,
    #social-media > article > div > h2{
        padding: 5px;
    }

    #social-media > article > div > div {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 20px 5px;
    }

    #social-media > article > div > div > a {
        color: white;
        font-weight: bolder;
        text-decoration: none;
    }

    #social-media > article > div > div > a > p {
        padding: 10px;
        border-radius: 7px;
        background-color: #00A1FF;
        border: 1px solid #006eff;
        transition-duration: .3s;
    }

    #social-media > article > div > div > a > p:hover {
        cursor: pointer;
        background-color: #006eff;
        transition-duration: .3s;
    }

    #login-or-register {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;


        padding: 10px;
        min-height: 100vh;
    }

    #login-or-register > article {
        width: 700px;
    }

    #login-or-register > article > h2 {
        padding: 10px 5px;
        font-size: 2em;
        text-align: center;
    }

    #login-or-register > article > p {
        padding: 10px 5px;
        text-align: center;
    }

    #login-or-register > article > div {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 20px;

        padding: 10px 5px;
    }

    #login-or-register > article > div > a {
        color: white;
        font-weight: bolder;
        text-decoration: none;
    }

    #login > p {
        width: 150px;
        padding: 10px;
        text-align: center;
        border-radius: 7px;
        background-color: #00A1FF;
        border: 1px solid #006eff;
        transition-duration: .3s;
    }

    #login > p:hover {
        cursor: pointer;
        background-color: #006eff;
        transition-duration: .3s;
    }

    #register > p {
        width: 150px;
        padding: 10px;
        text-align: center;
        border-radius: 7px;
        background-color: #00ff62;
        border: 1px solid #02b41f;
        transition-duration: .3s;
    }

    #register > p:hover {
        cursor: pointer;
        background-color: #02b41f;
        transition-duration: .3s;
    }

    footer {
        display: flex;
        align-items: center;
        flex-direction: row;
        justify-content: center;

        border: 1px solid rgb(192, 192, 192);
        background-color: rgb(224, 224, 224);
    }

    footer > div {
        min-width: 300px;
        padding: 10px;
    }

    footer > div > h3 {
        padding: 5px;
        font-size: 2em;
        font-weight: normal;
        font-family: var(--fontNyGYM);
    }

    footer > div > h4 {
        padding: 5px;
        font-size: 1em;
        font-weight: bolder;
    }

    footer > div > p {
        padding: 5px;
        font-size: 13px;
        text-align: justify;
    }

    footer > div > p > a {
        color: black;
        text-align: left;
        text-decoration: none;
        transition-duration: 0.3s;
    }

    footer > div > p > a:hover {
        color: rgb(83, 83, 83);
        text-decoration: underline;
        transition-duration: 0.3s;
    }
}

@media (max-width: 749px) {
    body {
        position: relative;
    }

    header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;

        padding: 10px;
        background-color: #0094ff;
    }

    header > div > a {
        color: white;
        text-decoration: none;
        font-family: var(--fontNyGYM);
    }
    
    header > div > a > h1 {
        font-weight: lighter;
        font-family: var(--fontNyGYM);
        text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.514);
    }

    #menu {
        display: none;
    }

    #menu-info {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;

        margin: 10px;
        padding: 10px 2px;
        font-weight: bolder;
        border-bottom: 1px solid rgb(202, 202, 202);
    }

    #menu-info > i {
        padding: 5px;
        border-radius: 10px;
        transition-duration: .3s;
    }

    #menu-info > i:hover {
        cursor: pointer;
        color: white;
        background-color: red;
        transition-duration: .3s;
    }

    header > nav {
        position: fixed;
        top: 0%;
        right: 0%;

        width: 100%;
        min-height: 100vh;
        background-color: white;
    }

    .bnt-nav > a {
        color: black;
        font-weight: bolder;
        text-decoration: none;
    }

    .bnt-nav > a > p {
        margin: 10px;
        padding: 7px;
        border-radius: 7px;
        background-color: white;
        border: 1px solid rgb(200, 200, 200);
        transition-duration: .3s;
    }

    .bnt-nav > a > p:hover {
        cursor: pointer;
        background-color: rgb(200, 200, 200);
        transition-duration: .3s;
    }

    #bnt-menu {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 10px;

        padding: 10px;
        color: white;
        font-weight: bolder;
        border-radius: 10px;
        text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.562);
        border: 1px solid #b4b4b400;
        transition-duration: .3s;
    }

    #bnt-menu:hover {
        cursor: pointer;
        border: 1px solid rgb(180, 180, 180);
        background-color: rgb(200, 200, 200);
        transition-duration: .3s;
    }

    #about {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        min-height: 100vh;
        background-color: white;
    }

    #about > article {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
    }

    #about > article > div > picture > img {
        max-width: 300px;
    }

    #about > article > div {
        padding: 10px;
    }

    #about > article > div > h2, #about > article > div > ul, #about > article > div > ul > li {
        padding: 5px;
    }

    #about > article > div > ul {
        list-style-position: inside;
    }

    #about > article > div > ul > li {
        text-align: justify;
    }

    #social-media {
        display: flex;
        align-items: center;
        flex-direction: row;
        justify-content: center;

        padding: 10px;
        min-height: 100vh;
        background-color: rgb(223, 223, 223);
    }

    #social-media > article {
        display: flex;
        align-items: center;
        flex-direction: column-reverse;
        justify-content: space-between;
        gap: 10px;
    }

    #social-media > article > div > picture > img {
        width: 100%;
    }

    #social-media-img {
        width: 300px;
    }

    #social-media > article > div {
        text-align: center;
    }

    #social-media > article > div > h2,
    #social-media > article > div > p,
    #social-media > article > div > h2{
        padding: 5px;
    }

    #social-media > article > div > div {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 20px 5px;
    }

    #social-media > article > div > div > a {
        color: white;
        font-weight: bolder;
        text-decoration: none;
    }

    #social-media > article > div > div > a > p {
        padding: 10px;
        border-radius: 7px;
        background-color: #00A1FF;
        border: 1px solid #006eff;
        transition-duration: .3s;
    }

    #social-media > article > div > div > a > p:hover {
        cursor: pointer;
        background-color: #006eff;
        transition-duration: .3s;
    }

    #login-or-register {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;


        padding: 10px;
        min-height: 100vh;
    }

    #login-or-register > article {
        width: 100%;
    }

    #login-or-register > article > h2 {
        padding: 10px 5px;
        font-size: 2em;
        text-align: center;
    }

    #login-or-register > article > p {
        padding: 10px 5px;
        text-align: center;
    }

    #login-or-register > article > div {
        padding: 10px 5px;
    }

    #login-or-register > article > div > a {
        color: white;
        font-weight: bolder;
        text-decoration: none;
    }

    #login > p {
        width: 100%;
        padding: 10px;
        margin: 5px 0px;
        text-align: center;
        border-radius: 7px;
        background-color: #00A1FF;
        border: 1px solid #006eff;
        transition-duration: .3s;
    }

    #login > p:hover {
        cursor: pointer;
        background-color: #006eff;
        transition-duration: .3s;
    }

    #register > p {
        width: 100%;
        padding: 10px;
        margin: 5px 0px;
        text-align: center;
        border-radius: 7px;
        background-color: #00ff62;
        border: 1px solid #02b41f;
        transition-duration: .3s;
    }

    #register > p:hover {
        cursor: pointer;
        background-color: #02b41f;
        transition-duration: .3s;
    }

}

@media (max-width: 899px) {
    footer {
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;

        margin-bottom: 50px;
        border: 1px solid rgb(192, 192, 192);
        background-color: rgb(224, 224, 224);
    }

    footer > div {
        width: 100%;
        padding: 10px;
    }

    footer > div > h3 {
        padding: 5px;
        font-size: 2em;
        font-weight: normal;
        font-family: var(--fontNyGYM);
    }

    footer > div > h4 {
        padding: 5px;
        font-size: 1em;
        font-weight: bolder;
    }

    footer > div > p {
        padding: 5px;
        font-size: 13px;
        text-align: justify;
    }

    footer > div > p > a {
        color: black;
        text-align: left;
        text-decoration: none;
        transition-duration: 0.3s;
    }

    footer > div > p > a:hover {
        color: rgb(83, 83, 83);
        text-decoration: underline;
        transition-duration: 0.3s;
    }
}

@media (max-width: 319px) {
    body {
        background:
        url('../images/gym-background-sad.png')
        no-repeat
        bottom right / cover;
    }

    header {
        display: none;
    }

    main {
        display: none;
    }

    footer {
        display: none;
    }

    #erro-width {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        height: 100vh;
        text-align: center;
    }

    #erro-width > div {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 15px;

        padding: 10px;
        margin: 10px 10px;
        font-weight: bolder;
        border-radius: 10px;
        background-color: white;
        border: 1px solid rgb(199, 199, 199);
        box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.486);
    }

    #erro-width > div > div {
        padding: 10px;
        color: white;
        font-size: 2em;
        border-radius: 50%;
        background-color: red;
    }

    #erro-width > div > h1 {
        text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.479);
    }

    #erro-width > div > p {
        font-size: 14px;
        text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.479);
    }
}