/* HIDRATE.SE | CSS */
/* "TRYING TO LOOK BETTER" */

/* all body default style */

html,
body {
    transition: filter 0.5s ease, background-color 0.5s ease;
    font-family: "Google Sans", sans-serif;
    font-variation-settings: "GRAD" 0;
    background-color: #FFFFFF;
    font-optical-sizing: auto;
    box-sizing: border-box;
    font-style: normal;
    font-weight: 400;
    overflow: hidden;
    color: #000000;
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

input,
textarea,
select {
    font-size: 16px;
}

/* personalization and themes */

#wallpaper {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: fixed;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
}

/* header and popups */

header {
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    justify-content: space-between;
    background-color: white;
    border-radius: 100px;
    align-items: center;
    padding: 0 0 0 16px;
    position: fixed;
    display: flex;
    height: 10dvh;
    right: 2.5dvh;
    top: 2.5dvh;
    z-index: 2;
}

header h1 {
    white-space: nowrap;
    font-size: 2rem;
    margin: 0;
}

.dropdown-content,
.popupContent {
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    grid-template-columns: 3fr 1fr 1fr 1fr;
    background-color: #FFFFFF;
    justify-content: center;
    scrollbar-width: none;
    border-radius: 25px;
    align-items: center;
    overflow-y: auto;
    position: fixed;
    display: none;
    right: 2.5dvh;
    z-index: 3;
    height: 82.5dvh;
    top: 15dvh;
}

.popupContent-header {
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    height: 10dvh;
    display: flex;
    margin: auto;
    width: 90%;
}

.popupContent-header button {
    height: 5dvh;
    width: 5dvh;
    padding: 0;
}

.popupContent-header svg {
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}

.popupContent-header h2 {
    width: calc(100% - 5dvh);
    text-align: left;
    font-size: 4dvh;
    flex-shrink: 0;
    height: auto;
}

.dropdown-content input,
.dropdown-content button,
.popupContent button,
.popupContent input,
.dropdown-content a,
.popupContent a {
    font-family: "Google Sans", sans-serif;
    background: none;
    color: #000000;
    font-size: 3dvh;
    cursor: pointer;
    height: 10dvh;
    border: none;
    width: 100%;
}

#perfilCard {
    grid-template-rows: 2fr 1fr;
    background-color: #D3D3D3;
    width: calc(100% - 4dvh);
    justify-content: center;
    align-items: center;
    border-radius: 25px;
    padding-top: 2dvh;
    display: grid;
    min-height: 25dvh;
    margin: 2dvh;
    gap: 0;
}

#perfilCard img {
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    width: 15dvh;
    margin: auto;
    padding: 0;
}

#perfilCard h3 {
    font-size: 3dvh;
    margin: 0;
    padding: 0;
}

#perfilPhoto {
    margin-left: calc(50% - 12.5dvh);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    width: 25dvh;
    padding: 0;
}

#perfilName {
    text-align: center;
    font-size: 4dvh;
    padding: 0;
}

#actionButton {
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
    background-color: #FFFFFF;
    border-radius: 50%;
    position: fixed;
    border: none;
    bottom: 2.5dvh;
    height: 10dvh;
    width: 10dvh;
    right: 2.5dvh;
    z-index: 1;
}

#actionButton button {
    width: 100%;
    height: 100%;
    background: none;
    color: #000000;
    cursor: pointer;
    border: none;
    padding: 0;
}

#actionButton svg {
    height: 70%;
    width: 70%;
    margin: 15%;
    padding: 0;
}

#actionMenu {
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    background-color: #FFFFFF;
    border-radius: 5px;
    position: fixed;
    display: none;
    bottom: 15dvh;
    min-height: 55dvh;
    width: 30dvh;
    right: 2.5dvh;
    z-index: 2;
}

#actionMenu button,
#actionMenu input {
    background: none;
    cursor: pointer;
    border: none;
    height: 10dvh;
    width: 100%;
    font-size: 2.5dvh;
    color: #000000;
}

#actionMenu label {
    text-align: center;
    background: none;
    font-size: 2dvh;
    cursor: default;
    display: block;
    padding: 5px;
    width: 100%;
}

/* style depending of the screen size */

@media (orientation: portrait) {

    header,
    .dropdown-content,
    .popupContent {
        width: calc(100% - 5dvh);
    }

    .garrafa {
        height: 87.5dvh;
        width: 100vw;
        top: 12.5dvh;
    }
}

@media (orientation: landscape) {

    header,
    .dropdown-content,
    .popupContent {
        max-width: 40vw;
        width: 50vw;
    }

    .garrafa {
        min-width: 60vw;
        height: 100dvh;
        width: 50vw;
        top: 0dvh;
    }
}