/* 
==========
CSS Document.
==========
*/

@charset "utf-8";

/* 
==========
Custom properties.
==========
*/

:root{
    --yellow-color: rgb(255,222,5);
    --yellow-color-transparent: rgba(255,222,5, .5);
    --lightyellow-color: rgb(247, 222, 61);
    --darkblue-color: rgb(36,44,66);
    --darkblue-color-transparent: rgba(36,44,66,.5);
    --lightdarkblue-color: rgb(73,87,95);
    --aliceblue-color: rgb(240,248,255);
    --lightblue-color: rgb(0,123,255);
    --lightblue-color-transparent: rgba(0,123,255,.5);
    --white-color:rgb(255, 255, 255);
    --white-color-transparent:rgba(255, 255, 255,.3);
    --grey-color:rgb(117, 117, 117);
    --grey-color-transparent:rgba(117, 117, 117,.3);
    --purple-color:rgb(190, 2, 175);
    --purple-color-transparent:rgba(190, 2, 175,.3);
    --silver-color:rgb(237, 237, 237);
    --silver-color-transparent:rgba(237, 237, 237,.5);
    --black-color:rgb(10, 10, 10);
    --black-color-transparent:rgba(10, 10, 10,.3);
    --green-color:rgb(15, 185, 0);
    --lightgreen-color:rgb(74, 212, 62);
    --greenlettuce-color:rgb(192, 255, 186);
    --red-color:rgb(243, 0, 0);
    --lightred-color:rgb(255, 45, 45);
    --red-color-transparent:rgba(243, 0, 0, .5);
    --pink-color:rgb(252, 203, 203);
}

/* 
==========
Style for scroll.
==========
*/

html{
    scroll-behavior: smooth;
}

/*
==========
Style for the scrollbar in Firefox.
==========
*/

scrollbar {
    width: 10px;  /* Scrollbar width */
    height: 10px; /* Scrollbar height */
}

/*
==========
Stiles for hidden elements.
==========
*/

.hidden{
    display: none;
}

/* 
==========
Styles for messages .
==========
*/

.container__message{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    background-color: var(--darkblue-color-transparent);
    z-index: 1000;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    transition: all ease .3s;
}

.container__message .message{
    min-width: 300px;
    width: max-content;
    max-width: max-content;
    height: auto;
    padding: 1em;
    border-radius: 5px;
    background-color: var(--white-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1em;
}

.container__message .message .message__content{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 1em;
    justify-content: center;
    align-items: center;
}

.container__message .message .message__content .message__title{
    font-size: 1.5em;
    color: var(--lightdarkblue-color);
    width: 100%;
    height: auto;
    text-align: center;
}

.container__message .message .message__content .message__text{
    color: var(--grey-color);
    width: 100%;
    height: auto;
    text-align: center;
}

.container__message .message .message__content .icon{
    display: block;
    width: 70px;
    height: 70px;
}

.container__message .message .message__content .icon__warning svg{
    width: 100%;
    height: 100%;
    fill: var(--yellow-color);
}

.container__message .message .message__content .icon__information svg{
    width: 100%;
    height: 100%;
    fill: var(--lightblue-color);
}

.container__message .message .message__content .icon__error svg{
    width: 100%;
    height: 100%;
    fill: var(--red-color);
}

/* 
==========
Styles for buttons.
==========
*/

.button__white__line{
    border: 2px solid var(--white-color);
    border-radius: 5px;
    background: none;
    color: var(--white-color);
    padding: .5em;
    transition: all ease .3s;
}

.button__white__line:hover{
    border: 2px solid var(--white-color);
    border-radius: 5px;
    background: none;
    color: var(--white-color);
    transition: all ease .3s;
    cursor: pointer;
}

.button__red{
    border: 1px solid var(--red-color);
    border-radius: 5px;
    background-color: var(--red-color);
    color: var(--white-color);
    padding: .5em;
    transition: all ease .3s;
}

.button__red:hover{
    border: 1px solid var(--lightred-color);
    border-radius: 5px;
    background-color: var(--lightred-color);
    color: var(--white-color);
    transition: all ease .3s;
    cursor: pointer;
}

.button__purple{
    border: 1px solid var(--purple-color);
    border-radius: 5px;
    background-color: var(--purple-color);
    color: var(--white-color);
    padding: .5em;
    transition: all ease .3s;
}

.button__purple:hover{
    border: 1px solid var(--purple-color-transparent);
    border-radius: 5px;
    background-color: var(--purple-color-transparent);
    color: var(--white-color);
    transition: all ease .3s;
    cursor: pointer;
}

.button__darkblue{
    border: 1px solid var(--darkblue-color);
    border-radius: 5px;
    background-color: var(--darkblue-color);
    color: var(--white-color);
    padding: .5em;
    transition: all ease .3s;
}

.button__darkblue:hover{
    border: 1px solid var(--lightdarkblue-color);
    border-radius: 5px;
    background-color: var(--lightdarkblue-color);
    color: var(--white-color);
    transition: all ease .3s;
    cursor: pointer;
}

.button__lightblue{
    border: none;
    border-radius: 5px;
    background-color: var(--lightblue-color);
    color: var(--white-color);
    padding: .5em;
    transition: all ease .3s;
}

.button__lightblue:hover{
    border: none;
    border-radius: 5px;
    background-color: var(--lightblue-color-transparent);
    color: var(--white-color);
    transition: all ease .3s;
    cursor: pointer;
}

.button__autosize__lightblue--active{
    border: none;
    border-radius: 5px;
    background-color: var(--lightblue-color);
    color: var(--white-color);
    padding: .5em;
    transition: all ease .3s;
}

.button__autosize__lightblue--active:hover{
    border: none;
    border-radius: 5px;
    background-color: var(--lightblue-color-transparent);
    color: var(--white-color);
    transition: all ease .3s;
    cursor: pointer;
}

.button__autosize__lightblue{
    border: 1px solid var(--lightblue-color);
    border-radius: 5px;
    background-color: var(--white-color);
    color: var(--lightblue-color);
    padding: .5em;
    transition: all ease .3s;
}

.button__autosize__lightblue:hover{
    border: 1px solid var(--lightblue-color);
    border-radius: 5px;
    background-color: var(--lightblue-color);
    color: var(--white-color);
    transition: all ease .3s;
    cursor: pointer;
}

.button__yellow{
    border: none;
    border-radius: 5px;
    background-color: var(--yellow-color);
    color: var(--white-color);
    padding: .5em;
    transition: all ease .3s;
}

.button__yellow:hover{
    border: none;
    border-radius: 5px;
    background-color: var(--lightyellow-color);
    color: var(--white-color);
    transition: all ease .3s;
    cursor: pointer;
}

.button__green{
    border: none;
    border-radius: 5px;
    background-color: var(--green-color);
    color: var(--white-color);
    padding: .5em;
    transition: all ease .3s;
}

.button__green:hover{
    border: none;
    border-radius: 5px;
    background-color: var(--lightgreen-color);
    color: var(--white-color);
    transition: all ease .3s;
    cursor: pointer;
}

.button__grey{
    border: none;
    border-radius: 5px;
    background-color: var(--grey-color);
    color: var(--white-color);
    padding: .5em;
    transition: all ease .3s;
}

.button__grey:hover{
    border: none;
    border-radius: 5px;
    background-color: var(--grey-color-transparent);
    color: var(--white-color);
    transition: all ease .3s;
    cursor: pointer;
}

/* 
==========
Styles for forms.
==========
*/

.container__form__dashboard{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    background-color: var(--darkblue-color-transparent);
    z-index: 1000;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    transition: all ease .3s;
}

.container__form__dashboard .form{
    min-width: 300px;
    width: 400px;
    max-width: max-content;
    height: auto;
    max-height: calc(100% - 2em);
    padding: 1em;
    border-radius: 5px;
    background-color: var(--white-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1em;
    position: relative;
    overflow: auto;
}

.container__form__dashboard .form .form__title{
    color: var(--lightdarkblue-color);
    width: 100%;
    height: auto;
    text-align: center;
    padding-top: 1.7em;
}

.container__form__dashboard .form .form__description{
    color: var(--grey-color);
    width: 100%;
    height: auto;
    text-align: center;
}

.container__form__dashboard .form .icon__close{
    position: absolute;
    top: 1em;
    right: 1em;
    display: block;
    width: 20px;
    height: 20px;
}

.container__form__dashboard .form .icon__close svg{
    width: 100%;
    height: 100%;
    fill: var(--grey-color);
}

.container__form__dashboard .form .icon__close:hover svg{
    width: 100%;
    height: 100%;
    fill: var(--grey-color-transparent);
    cursor: pointer;
}

/* 
==========
Styles for modals.
==========
*/

.container__modal__dashboard{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1em;
    width: 100%;
    height: 100vh;
    background-color: var(--darkblue-color-transparent);
    z-index: 1000;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    transition: all ease .3s;
}

.container__modal__dashboard .modal{
    min-width: 300px;
    width: 400px;
    max-width: max-content;
    height: auto;
    padding: 1em;
    border-radius: 5px;
    background-color: var(--white-color);
    display: flex;
    flex-direction: column;
    overflow: auto;
    align-items: center;
    justify-content: center;
    gap: 1em;
    position: relative;
    max-height: calc(100% - 1em);
}

.container__modal__dashboard .modal .modal__title{
    color: var(--lightdarkblue-color);
    width: 100%;
    height: auto;
    text-align: center;
    padding-top: 1.7em;
}

.container__modal__dashboard .modal .modal__description{
    color: var(--grey-color);
    width: 100%;
    height: auto;
    text-align: center;
}

.container__modal__dashboard .modal .icon__close{
    position: absolute;
    top: 1em;
    right: 1em;
    display: block;
    width: 20px;
    height: 20px;
}

.container__modal__dashboard .modal .icon__close svg{
    width: 100%;
    height: 100%;
    fill: var(--grey-color);
}

.container__modal__dashboard .modal .icon__close:hover svg{
    width: 100%;
    height: 100%;
    fill: var(--grey-color-transparent);
    cursor: pointer;
}

/*
==========
Styles for inputs of the forms.
==========
*/

.input__search__select{
    width: 300px;
    height: 30px;
    background-color: var(--white-color);
    color: var(--darkblue-color);
    border: 1px solid var(--silver-color);
    border-radius: 5px;
    padding-left: .5em;
    padding-right: .5em;
}

.container__input{
    width: 300px;
    height: 40px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 0 15px;
    background-color: var(--white-color);
    border: 1px solid var(--silver-color);
    border-radius: 5px;
    color: var(--darkblue-color);
}

.container__text__area{
    width: 300px;
    height: 70px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 0 15px;
    background-color: var(--white-color);
    border: 1px solid var(--silver-color);
    border-radius: 5px;
    color: var(--darkblue-color);
}

.container__text__area textarea{
    border: none;
    outline: none;
    width: calc(100% - 30px);
    height: calc(100% - 10px);
    max-width: calc(100% - 30px);
    max-height: calc(100% - 10px);
    min-width: calc(100% - 30px);
    min-height: calc(100% - 10px);
    background: none;
    color: var(--darkblue-color);
    padding: 5px;
}

.container__text__area .icon{
    width: 20px;
    height: 20px;
}

.container__text__area .icon svg{
    width: 100%;
    height: 100%;
    fill: var(--grey-color);
}

.container__radio__buttons{
    width: 300px;
    height: 40px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 0 15px;
    background-color: var(--white-color);
    border: 1px solid var(--silver-color);
    border-radius: 5px;
    color: var(--darkblue-color);
}

.input__radio_buttons{
    width: 50%;
    height: 100%;
    background: none;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: .5em;
}

.container__input .icon{
    width: 20px;
    height: 20px;
}

.container__input .icon svg{
    width: 100%;
    height: 100%;
    fill: var(--grey-color);
}

.container__input .input__text, .container__input .input__email, .container__input .input__password{
    border: none;
    outline: none;
    width: 100%;
    height: 100%;
    background: none;
    color: var(--darkblue-color);
}

.container__input--error{
    width: 300px;
    height: 40px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 0 15px;
    background-color: var(--white-color);
    border: 1px solid var(--red-color);
    border-radius: 5px;
    color: var(--darkblue-color);
}

.container__input--error .icon{
    width: 20px;
    height: 20px;
}

.container__input--error .icon svg{
    width: 100%;
    height: 100%;
    fill: var(--grey-color);
}

.container__input--error .input__text, .container__input--error .input__email, .container__input--error .input__password{
    border: none;
    outline: none;
    width: 100%;
    height: 100%;
    background: none;
    color: var(--darkblue-color);
}

/*
==========
Styles for titles.
==========
*/

.title__one{
    font-size: 3em;
}

.title__two{
    font-size: 2.3em;
}

.title__three{
    font-size: 2em;
}

.title__four{
    font-size: 1.3em;
}

.title__five{
    font-size: 1.1em;
}

/*
==========
Styles for body page.
==========
*/

body {
    min-width: 300px;
    background-color: var(--white-color);
    max-width: 3000px;
    margin: auto;
}