/* 
==========
CSS Document.
==========
*/

@charset "utf-8";

/* 
==========
Styles for fonts.
==========
*/

/* 
==========
Custom properties.
==========
*/

:root{
    --yellow-color: rgb(240, 178, 19);
    --lightyellow-color: rgb(248, 191, 48);
    --black-color: rgb(11, 11, 11);
    --skyblue-color: rgb(8, 79, 150);
    --lightskyblue-color: rgb(80, 163, 247);
    --lightskyblue-color-transparent: rgba(80, 163, 247, .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);
    --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(14, 156, 1);
    --lightgreen-color:rgb(21, 192, 6);
    --green-color-transparent:rgba(14, 156, 1, .5);
    --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);
    --pink-color-transparent:rgba(252, 203, 203, .5);

    --main-font: "bison"
}

/* 
==========
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(--dark-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(--redwine-color);
    width: 100%;
    height: auto;
    text-align: center;
}

.container__message .message .message__content .message__text{
    color: var(--dark-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(--yellowIndustrialLine-color);
}

.container__message .message .message__content .icon__information svg{
    width: 100%;
    height: 100%;
    fill: var(--redwine-color);
}

.container__message .message .message__content .icon__error svg{
    width: 100%;
    height: 100%;
    fill: var(--red-color);
}

/* 
==========
Styles for buttons.
==========
*/

.button__green{
    border: 1px solid var(--green-color);
    border-radius: 5px;
    background-color: var(--green-color);
    color: var(--white-color);
    padding: .3em;
    transition: all ease .3s;
}

.button__green:hover{
    border: 1px solid var(--lightgreen-color);
    border-radius: 5px;
    background-color: var(--lightgreen-color);
    color: var(--white-color);
    transition: all ease .3s;
    cursor: pointer;
}

.button__yellow{
    border: 1px solid var(--yellow-color);
    border-radius: 5px;
    background-color: var(--yellow-color);
    color: var(--white-color);
    padding: .3em;
    transition: all ease .3s;
}

.button__yellow:hover{
    border: 1px solid var(--lightyellow-color);
    border-radius: 5px;
    background-color: var(--lightyellow-color);
    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: .3em;
    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__skyblue{
    border: 1px solid var(--skyblue-color);
    border-radius: 5px;
    background-color: var(--skyblue-color);
    color: var(--white-color);
    padding: .3em;
    transition: all ease .3s;
}

.button__skyblue:hover{
    border: 1px solid var(--lightskyblue-color);
    border-radius: 5px;
    background-color: var(--lightskyblue-color);
    color: var(--white-color);
    transition: all ease .3s;
    cursor: pointer;
}

.button__lightskyblue{
    border: 1px solid var(--lightskyblue-color);
    border-radius: 5px;
    background-color: var(--lightskyblue-color);
    color: var(--white-color);
    padding: .3em;
    transition: all ease .3s;
}

.button__lightskyblue:hover{
    border: 1px solid var(--lightskyblue-color-transparent);
    border-radius: 5px;
    background-color: var(--lightskyblue-color-transparent);
    color: var(--white-color);
    transition: all ease .3s;
    cursor: pointer;
}

.button__white{
    border: none;
    border-radius: 5px;
    background-color: var(--white-color);
    color: var(--redwine-color);
    padding: .3em;
    transition: all ease .3s;
}

.button__white:hover{
    border-radius: 5px;
    background-color: var(--white-color-transparent);
    color: var(--white-color);
    transition: all ease .3s;
    cursor: pointer;
}

.button__grey{
    border: 1px solid var(--grey-color);
    border-radius: 5px;
    background-color: var(--grey-color);
    color: var(--white-color);
    padding: .3em;
    transition: all ease .3s;
}

.button__grey:hover{
    border: 1px solid var(--grey-color-transparent);
    border-radius: 5px;
    background-color: var(--grey-color-transparent);
    color: var(--white-color);
    transition: all ease .3s;
    cursor: pointer;
}

/*
==========
Styles for inputs of the forms.
==========
*/

.container__input{
    width: 100%;
    height: 40px;
    min-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(--lowgrey-color);
    border-radius: 5px;
    color: var(--dark-color);
}

.container__radio__buttons{
    width: 100%;
    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(--redwine-color-transparent);
    border-radius: 5px;
    color: var(--dark-color);
}

.container__input .icon{
    display: block;
    width: 20px;
    height: 20px;
}

.container__input .icon svg{
    width: 100%;
    height: 100%;
    fill: var(--redwine-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(--dark-color);
    text-align: start;
}

.container__input .input__text::placeholder, .container__input .input__email::placeholder, .container__input .input__password::placeholder{
    color: var(--dark-color-transparent);
}

.container__input.text__area{
    height: 100px;
    min-height: 100px;
    overflow: auto;
}

.container__input.text__area textarea{
    border: none;
    outline: none;
    width: 100%;
    height: 100%;
    padding: 15px 0;
    background: none;
    color: var(--dark-color);
    text-align: start;
    max-height: 100px;
    min-height: 100px;
}


.container__input--error{
    width: 100%;
    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(--dark-color);
}

.container__input--error .icon{
    width: 20px;
    height: 20px;
}

.container__input--error .icon svg{
    width: 100%;
    height: 100%;
    fill: var(--lowgray-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(--dark-color);
}

/*
==========
Styles for titles.
==========
*/

.title__one{
    font-size: 3em;
    font-family: "Bison";
}

.title__two{
    font-size: 2.3em;
    font-family: Arial, sans-serif;
}

.title__three{
    font-size: 1.1em;
    font-family: Arial, sans-serif;
}

.normal{
    font-size: 1em;
    line-height: 25px;
    font-family: Arial, sans-serif;
}

.bolder{
    line-height: 25px;
    font-family: Arial, sans-serif;
    font-size: 1.1em;
}

.upper{
    text-transform: uppercase;
}

/*
==========
Styles for body page.
==========
*/

body {
    min-width: 300px;
    background-color: var(--lowgrey-color);
    max-width: 1900px;
    margin: auto;
}

/*
==========
Styles for text align center.
==========
*/

.text__center{
    text-align: center;
}