/* 
Auteur  : Filipe Serra
Date    : 07/02/2022
Version : 1.0
*/

body {
    background-color: #414141;
    font-family: Arial, Helvetica, sans-serif, sans-serif;
}

header {
    margin-top: -7px;
    margin-left: -10px;
    margin-right: -7px;
    background-image: linear-gradient( to bottom right, rgb(129, 20, 255), rgb(102, 176, 245));
    flex-wrap: nowrap;
    margin-bottom: 50px;
}

label {
    color: white;
}


/*Header*/

.buttons_header {
    float: right;
    margin-top: 5px;
    padding: 45px;
    margin-left: 50px;
    display: flex;
}

.button_header_register {
    text-decoration: none;
    font-size: 16px;
    margin-right: 30px;
    background-color: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 20px;
    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;
    transition: 0.5s all ease;
}

.button_header_register:hover {
    background-color: rgb(98, 80, 255);
    color: white;
}

.button_header_login {
    text-decoration: none;
    font-size: 16px;
    background-color: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 20px;
    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;
    transition: 0.5s all ease;
}

.button_header_login:hover {
    background-color: rgb(98, 80, 255);
    color: white;
}

.logo {
    padding: 15px;
    width: 90px;
    height: 90px;
}

.username_header {
    font-size: 26px;
    text-align: center;
    align-items: center;
    margin: auto;
    margin-right: 10px;
}

.a_button {
    margin: auto;
    margin-right: 15px;
}

.button_image {
    height: 30px;
    width: 30px;
}

.button_image:hover {
    transform: scale(1.1);
    transition: 0.3s all ease;
}

.button_disconnect {
    margin: auto;
    font-size: 20px;
    margin-right: 10px;
    margin-left: 10px;
    background-color: goldenrod;
    border-radius: 10px;
    color: white;
    padding: 10px;
}

.button_disconnect:hover {
    transform: scale(1.1);
    transition: 0.3s all ease;
}


/*login*/

.layout {
    margin-left: 10%;
    margin-right: 10%;
    flex-wrap: nowrap;
    display: flex;
}

.h1_page {
    color: rgb(151, 75, 221);
    margin-bottom: 50px;
}

.login_forms {
    flex-wrap: wrap;
    flex-direction: row;
}

.input_text {
    border-color: rgb(98, 80, 255);
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    margin-bottom: 40px;
    padding-right: 80px;
    font-size: 16px;
}

.button {
    background-image: linear-gradient( to top left, rgb(17, 159, 253), rgb(185, 117, 248));
    color: white;
    padding: 10px;
    padding-left: 50px;
    padding-right: 50px;
    border-radius: 10px;
    border: none;
    font-size: 16px;
    text-decoration: none;
}

.button:hover {
    transform: scale(1.1);
    transition: 0.3s all ease;
}

.button_register_onlogin {
    margin-top: 225px;
}

.left_div {
    padding-right: 45%;
}


/* Register */

.register_forms {
    display: flex;
    flex-wrap: wrap;
}


/*annonces*/

.annonce {
    text-align: center;
    color: white;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-left: 10%;
    margin-right: 10%;
    background-image: linear-gradient( to bottom right, rgb(129, 20, 255), rgb(102, 176, 245));
    border-radius: 25px;
}


/* popup*/


/* Popup (background) */

.popup {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 300px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}


/* Contenu popup */

.contenu_popup {
    background-color: #5a5a5a;
    float: center;
    color: white;
    margin: auto;
    padding: 20px;
    border: none;
    border-radius: 15px;
    width: 80%;
}

.arrangement_contenu_popup {
    display: flex;
    padding-left: 30%;
    align-items: center;
}

.arrangement_text_popup {
    padding-left: 50px;
    text-align: center;
}


/* The Close Button */

.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.warning_gif {
    width: 100px;
    height: 100px;
}


/* Annoonces*/

.div_annonce {
    color: white;
    background-image: linear-gradient( to bottom right, rgb(129, 20, 255), rgb(102, 176, 245));
    margin-left: 10%;
    margin-right: 10%;
    padding: 20px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 15px;
    align-items: center;
    margin-bottom: 60px;
}

.username_annonce {
    padding: auto;
    width: 100%;
    text-align: center;
    font-size: 24px;
}

.div_header {
    display: flex;
    margin-bottom: 25px;
}

.have {
    width: 50%;
}

.want {
    width: 50%;
    text-align: right;
}

.div_items {
    display: flex;
}

.div_items_left {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding-right: 10px;
    border-right: 3px solid white;
}

.div_items_right {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
}

.item_left {
    align-items: center;
    font-size: 12px;
    margin-right: 10px;
}

.item_right {
    align-items: center;
    font-size: 12px;
    margin-left: 10px;
}

.img_item {
    height: 100px;
    width: 100px;
}

.footer {
    margin-top: 10px;
    width: 100%;
}

.comment {
    height: 30px;
    width: 30px;
}


/*Page ajouts annonces*/

.add_elements {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.options_elements {
    width: 50%;
    flex-wrap: wrap;
    display: flex;
}

.select {
    margin-left: 10px;
    margin-right: 30px;
    padding-top: 10px;
    padding-bottom: 10px;
    display: flex;
}

.distance_center {
    margin-left: 20px;
}

.img_add_element {
    height: 45px;
    width: 45px;
    margin: auto;
}

.join_items_flex {
    display: flex;
}

.layout_button_annonce {
    text-align: center;
    display: block;
}


/* Mise en pase paramétres utilisateur */

.div_parametres {
    margin-top: 30px;
    display: flex;
    align-items: center;
}

.cases_informations {
    width: 50%;
    align-items: center;
    margin-left: 10%;
    margin-right: 10%;
}

.cases_miseenpage {
    background-image: linear-gradient( to bottom right, rgb(129, 20, 255), rgb(102, 176, 245));
    align-items: center;
    border-radius: 15px;
    padding: 10px;
}

.input_div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-left: 20px;
    margin-right: 20px;
    padding-bottom: 10px;
}

.input_user {
    border-color: rgb(98, 80, 255);
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: auto;
    padding-right: auto;
    font-size: 16px;
    margin-left: 20px;
}

.titre_paramentres {
    text-align: center;
}

.label_parametres {
    width: 120px;
}

.div_buttons_parametres {
    margin-left: 20%;
    margin-top: 15px;
}