.bigHeader {
    width:100vw;
    height:100vh;
    background-image: url("../images/background_yellow.png");
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#icons {
  cursor: pointer;
  display: none;
}

main {
    width:100vw;
    height:100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

h1 {
    font-family: "Lato", sans-serif;
    font-weight: 900;
    font-style: normal;
    font-size: 10vh;
    color:beige;
}

h2 {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 5vh;
    color:beige;
}

.modal-content > h2 {
    color:black;
}

h3 {
    font-weight: 700;
    font-style: normal;
    font-size: 2vh;
    text-transform: uppercase;
    margin-bottom:2vh;
}

.logLink {
    text-decoration: none;
    background-color: beige;
    border: 2px solid black;
    border-radius: 10px;
    padding: 1vh 2vw;
    color: black;
    text-transform: uppercase;
    font-weight: 700;
}

.loginBox {
    display: flex;
    justify-content: space-between;
    width: 40vw;
}

.loginBox_item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loginBox_item > p {
    color:beige;
    margin-bottom: 2vh;
}

.registerBox {
    background-color: beige;
    display: flex;
    width:70vw;
    height:70vh;
    border-radius: 10px;
}

.leftSection {
    width:50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.rightSection {
    width:50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.register {
    width:100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-left: 3vw;
    padding-right: 5vw;
}

.tittleSection {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 6vh;
}

.calculator {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.contentBox {
    width:40vw;
    padding: 3vh 2vw;
    border: 2px solid black;
    border-radius: 10px;
    box-shadow: 5px 8px 1px 1px #000000;
}

#message, textarea {
    border: 2px solid black;
    border-radius: 10px;
}

.formTittle {
    text-align: center;
    text-transform: uppercase;
}

.formFlexer {
    margin-bottom: 2vh;
    display: flex;
    justify-content: space-between;
}

.verticalFlexer {
    display:flex;
    flex-direction:column;
    align-items: flex-end;
    justify-content: flex-end;
    width: 80%;
    text-align: end;
}

input {
    padding:1vh 2vw;
    border: 2px solid black;
    border-radius: 10px;
    margin-left: 2vw;
}

button {
    background-color: rgb(255, 154, 30);
    padding:1vh 2vw;
    border: 2px solid black;
    border-radius: 10px;
    font-weight: 700;
    text-transform: uppercase;
    width:fit-content;
    box-shadow: 4px 6px 1px 1px #000000;
}


.registerPic {
    width:80%;
}

nav {
    height:10vh;
    width:100vw;
    padding: 1vh 5vw;
    display: flex;
    justify-content: space-between;
}


nav > ul {
    list-style-type: none;
    display: flex;
    justify-content: flex-end;
}

nav li {
    margin-left:2vw;
    text-transform: uppercase;

}

.navLink {
    text-decoration: none;
    color:black;
}

.chantier {
    width:100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /*margin-top:5vh;*/
}

.connect {
    width:100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.globalContainer {
    width:100vw;
    display: flex;
    padding: 2vh 3vw;
    justify-content: space-between;
}

#chantiersContainer {
    width:96vw;
    height: 60vh;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 1vw;
    grid-row-gap: 1vh;
    margin-top: 3vh;
    margin-left: 2vw;
    margin-right: 2vw;
}

.chantier-card {
    display: flex;
    flex-direction: column;
    border: 2px solid black;
    border-radius: 10px;
    padding: 2vh 2vw;
    box-shadow: 5px 8px 1px 1px #000000;
    
    
}

.infos {
    width:20vw;
    height:50vh;
    border: 2px solid black;
    border-radius: 10px;
    padding: 2vh 3vw;
    margin-left: 3vw;
    box-shadow: 5px 8px 1px 1px #000000;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left:0;
    top:0;
    width:100%;
    height:100%;
    overflow:auto;
    background-color: rgba(0,0,0,0.5);
}
.modalContent {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 40vw;
    position: relative;
}
.closeModal {
    position: absolute;
    top:10px;
    right:15px;
    font-size:24px;
    cursor:pointer;
}

#createChantierModal {
    justify-content: center;
    align-items: center;
}

.modal-content {
    width: 50vw;
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgb(300 300 300 / 80%);
    border-radius: 20px;
}

#createChantierForm {
    margin-bottom:4vh;
}

#lotForm {
    display:flex;
    justify-content: flex-end;
    flex-direction: column;
}

.lot {
    margin-top: 2vh;
    margin-bottom: 2vh;
    display: flex;
    flex-direction: column;
}

.delete-chantier {
    font-size: 14px;
}

.add-lot-btn {
    font-size: 12px;
}

.formTittle {
    text-align: center;
}

.addLotBtn {
    margin-bottom: 2vh;
}

.deleteChantierBtn {
    margin-bottom: 2vh;
}

.flash-message {
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.flash-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.flash-message {
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.flash-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.flash-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.profilePage {
    justify-content: flex-start;
    margin-top: 20vh;
}

.profileContainer {
    border: 2px solid black;
    border-radius: 10px;
    padding: 2vh 3vw;
    box-shadow: 5px 8px 1px 1px #000000;
}

.logo {
    height:2vh;
}

#selectLibelle {
    width:20vw;
    border: 2px solid black;
    border-radius: 10px;
    padding: 1vh;
}

@media screen and (max-width: 900px)  {
    header {
        padding-left: 3vw;
        padding-right: 3vw;
    }
    
    main {
        justify-content:flex-start;
    }
    
    table {
        width: 80vw;
    }

    h1 {
        font-size: 8vh;
        text-align: center;
    }

    h2 {
        text-align: center;
    }

    .loginBox {
        width:80%;
    }

    .loginBox_item {
        width:40%;
        justify-content: center;
    }

    .loginBox_item > p {
        text-align: center;
    }

    .registerBox {
        flex-direction: column;
        align-items: center;
        width:90vw;
        padding-bottom: 3vh;
    }

    .registerPicBox {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .leftSection {
    width:100%;
    height: 50%;
    }

    .rightSection {
        width:100%;
        height: 50%;
        align-items: flex-end;
        padding: 2vh 2vw;
    }

    .register {
        padding-right: 3vw;
        padding-bottom: 8vh;
    }

    .contentBox {
    width:80vw;
    }

    #chantiersContainer {
    width:100vw;
    height: 30vh;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 1vw;
    grid-row-gap: 1vh;
    margin-top: 3vh;
    margin-left: 0;
    margin-right: 0;
    padding:2vh 2vw;
    }
    
    .modal-content, .modalContent {
        width:80vw;
    }
    
    .lot {
        display: flex;
        flex-direction: column;
    }
    
    #icons {
    display: block;
  }
  #icons:before {
    content: "\2630";
  }
  .active #icons:before {
    content: "\2715";
  }
  nav ul {
    position: fixed;
    left: -100%;
    top: 5%;
    flex-direction: column;
    background: white;
    width: 100%;
    text-align: center;
    transition: 0.25s;
    padding:0;
  }
  nav li {
    padding: 3px 0;
  }
  nav li:hover {
    background: white;
  }
  nav.active ul {
    left: 0;
  }

   table {
       width:80vw;
   } 

}


