/* 
==========
CSS Document.
==========
*/

@charset "utf-8";

/* 
==========
Styles for fonts.
==========
*/

@font-face {
    font-family: 'Bison';
    src: url('../resources/fonts/bison/Bison-Bold.woff2') format('woff2'),
         url('../resources/fonts/bison/Bison-Bold.woff') format('woff'),
         url('../resources/fonts/bison/Bison-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Nexa';
    src: url('../resources/fonts/nexa/Nexa-ExtraLight.woff2') format('woff2'),
         url('../resources/fonts/nexa/Nexa-ExtraLight.woff') format('woff'),
         url('../resources/fonts/nexa/Nexa-ExtraLight.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* 
==========
Custom properties.
==========
*/

:root{
    /*Main line*/

    --lowgrey-color: rgb(235, 235, 235);
    --redwine-color: #87162c;
    --redwine-color-transparent: rgb(130, 20, 30, .5);
    --lightredwine-color-transparent: rgb(168, 26, 38);
    --dark-color: rgb(35, 35, 35);
    --dark-color-transparent: rgba(35, 35, 35,.5);

    /*Secondary line*/

    --yellowIndustrialLine-color: rgb(240, 178, 19);
    --lightyellowIndustrialLine-color: rgb(248, 191, 48);
    --blackIndustrialLine-color: rgb(11, 11, 11);
    --greenMilitarLine-color: rgb(29, 76, 35);
    --skyblueSchoolLine-color: rgb(8, 79, 150);
    --lightskyblueSchoolLine-color: rgb(20, 115, 209);
    --redwineSchoolLine-color: rgb(130, 22, 41);

    /*More colors*/

    --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);
    --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: .5em;
    transition: all ease .3s;
}

.button__green:hover{
    border: 1px solid var(--green-color-transparent);
    border-radius: 5px;
    background-color: var(--green-color-transparent);
    color: var(--white-color);
    transition: all ease .3s;
    cursor: pointer;
}

.button__yellowIndustrialLine{
    border: 1px solid var(--yellowIndustrialLine-color);
    border-radius: 5px;
    background-color: var(--yellowIndustrialLine-color);
    color: var(--white-color);
    padding: .5em;
    transition: all ease .3s;
}

.button__yellowIndustrialLine:hover{
    border: 1px solid var(--lightyellowIndustrialLine-color);
    border-radius: 5px;
    background-color: var(--lightyellowIndustrialLine-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: .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__skyblue{
    border: 1px solid var(--skyblueSchoolLine-color);
    border-radius: 5px;
    background-color: var(--skyblueSchoolLine-color);
    color: var(--white-color);
    padding: .5em;
    transition: all ease .3s;
}

.button__skyblue:hover{
    border: 1px solid var(--lightskyblueSchoolLine-color);
    border-radius: 5px;
    background-color: var(--lightskyblueSchoolLine-color);
    color: var(--white-color);
    transition: all ease .3s;
    cursor: pointer;
}

.button__redwine--line{
    border: 1px solid var(--redwine-color);
    border-radius: 5px;
    background: none;
    color: var(--redwine-color);
    padding: .5em;
    transition: all ease .3s;
}

.button__redwine--line:hover{
    border: 1px solid var(--redwine-color);
    border-radius: 5px;
    background-color: var(--redwine-color);
    color: var(--white-color);
    transition: all ease .3s;
    cursor: pointer;
}

.button__redwine{
    border: 1px solid var(--redwine-color);
    border-radius: 5px;
    background-color: var(--redwine-color);
    color: var(--white-color);
    padding: .5em;
    transition: all ease .3s;
}

.button__redwine:hover{
    border: 1px solid var(--lightredwine-color-transparent);
    border-radius: 5px;
    background-color: var(--lightredwine-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: .5em;
    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: .5em;
    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: "Bison";
}

.title__three{
    font-size: 1.1em;
    font-family: "Bison";
}

.normal{
    font-size: 1em;
    line-height: 25px;
    font-family: "Nexa";
}

.bolder{
    line-height: 25px;
    font-family: "Bison";
    font-size: 1.1em;
}

/*
==========
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;
}