 html {
     font-size: 18px;
 }

 @media screen and (orientation: portrait) {
     html {
         font-size: 18px;
     }
 }

 body {
     font-family: 'Roboto', sans-serif;
     font-weight: 400;
     margin: 0;
     padding: 0;
     background-color: #1A1F26;
     background-size: cover;
     color: aliceblue;
 }

 body p,
 body li {
     color: #999999;
 }

 body li strong {
     color: aliceblue;
 }

 header {
     border-bottom: 1px solid #30353B;
     position: fixed;
     top: 0px;
     left: 0px;
     width: 100%;
     background-color: #1A1F26;
     z-index: 99;
 }

 header nav {
     display: flex;
     justify-content: space-around;
     padding: 10px;
     margin-top: 5px;
     margin-bottom: 5px;
 }

 header nav a {
     color: #fff;
     text-decoration: none;
     padding: 5px 10px;
 }

 footer {
     position: fixed;
     bottom: 0px;
     left: 0px;
     width: 100%;
     background-color: #1A1F26;
     border-top: 1px solid #30353B;
 }

 footer nav {
     float: right;
 }

 footer nav button {
     color: #999;
     font-size: 12px;
     margin: 10px;
     margin-right: 20px;
     background-color: transparent;
     cursor: pointer;
     font-weight: 400;
     border: none;
 }

 h1 {
    width: 100%;
    text-align: center;
    font-size: 30px;
 }

 
 .book {
     position: relative;
     left: 50%;
     top: 150px;
     transform: translate(-50%, 0%);
     width: 80%;
     display: flex;
     flex-direction: row;
 }

 .fiche-technique {
     width: 50%;
     border-left: 1px solid #30353B;
     padding: 15px;
 }

 .fiche-technique strong {
     color: aliceblue;
     font-weight: 400;
 }

 .couverture {
     padding: 40px;
     height: 300px;
     width: 30%;
 }

 .couverture img {
     position: relative;
     border-radius: 10px;
     left: 50%;
     transform: translate(-50%, 0%);
     min-width: 18vw;
     max-width: 18vw;
 }

 .book-title {
     position: relative;
     top: 100px;
 }

 .logo-book {
     position: relative;
     height: 43px;
     left: 50%;
     transform: translate(calc(-50% - 15px), 0%);
     margin: 15px;
 }

 .book-margin-bottom {
     position: relative;
     width: 100%;
     height: 800px;
     z-index: -99;
 }

 .other-books {
     border-top: 1px solid #30353B;
     position: relative;
     width: 80%;
     left: 50%;
     padding: 50px;
     transform: translate(-50%, 0%);
     top: 150px;
     display: flex;
     flex-direction: row;
     text-align: center;
     justify-content: space-around;
 }

 .couverture_others {
     position: relative;
     top: 150px;

 }

 .couverture_others img {
     border-radius: 10px;
     margin: 20px;
     max-width: 18vw;
     min-width: 18vw;
 }

 .row {
     display: flex;
     flex-direction: row;
     justify-content: space-around;
 }

 .inherit {
     display: block;
     position: absolute;
 }

 .other-books-cat {
     border-top: 1px solid #30353B;
     position: relative;
     width: 80%;
     left: 50%;
     padding: 50px;
     transform: translate(-50%, 0%);
     top: 250px;
     display: flex;
     flex-direction: row;
     text-align: center;
     justify-content: space-around;
 }

 .other-books-col {
     border-top: 1px solid #30353B;
     position: relative;
     width: 80%;
     left: 50%;
     padding: 50px;
     transform: translate(-50%, 0%);
     top: 350px;
     display: flex;
     flex-direction: row;
     text-align: center;
     justify-content: space-around;
 }

 @media screen and (orientation: portrait) {

    h1 {
            font-size: 25px;
            width: 100%;
            text-align: center;
        }
    
        header {
            max-width: 100vw;
        }

     .book {
         position: relative;
         left: 50vw;
         top: 150px;
         transform: translate(-50%, 0%);
         width: 100vw;
         display: flex;
         flex-direction: column;
     }

     .fiche-technique {
         margin-top: 150px;
         width: 100vw;
         border-left: 0px solid #30353B;
         border-top: 1px solid #30353B;
         padding: 15px;
     }

     .fiche-technique strong {
         color: aliceblue;
         font-weight: 400;
     }

     .couverture {
         padding: 0px;
         height: 300px;
         width: 30%;
         margin-bottom: 100px;
     }

     .couverture img {
         position: relative;
         border-radius: 10px;
         left: 50vw;
         transform: translate(-50%, 0%);
         max-width: 80vw;
     }

     .book-title {
         position: relative;
         top: 100px;
     }

     .logo-book {
         position: relative;
         height: 43px;
         left: 50%;
         transform: translate(calc(-50% - 15px), 0%);
         margin-top: 15px;
         margin-bottom: 15px;
     }

     .book-margin-bottom {
         position: relative;
         width: 100%;
         height: 800px;
         z-index: -99;
     }

     .other-books {
         border-top: 1px solid #30353B;
         position: relative;
         width: 80%;
         left: 50%;
         padding: 50px;
         transform: translate(-50%, 0%);
         top: 150px;
         display: flex;
         flex-direction: column;
         text-align: center;
         justify-content: space-around;
     }

     .couverture_others {
         position: relative;
         top: 150px;

     }

     .couverture_others img {
         border-radius: 10px;
         margin: 20px;
         max-width: 70vw;
         min-width: 70vw;
     }

     .row {
         display: flex;
         flex-direction: column;
         justify-content: space-around;
         margin-top: -100px;
         margin-bottom: 100px;
     }

     .inherit {
         display: block;
         position: relative;
     }

     .other-books-cat {
         border-top: 1px solid #30353B;
         position: relative;
         width: 80%;
         left: 50%;
         padding: 50px;
         transform: translate(-50%, 0%);
         top: 250px;
         display: flex;
         flex-direction: column;
         text-align: center;
         justify-content: space-around;
     }

     .other-books-col {
         border-top: 1px solid #30353B;
         position: relative;
         width: 80%;
         left: 50%;
         padding: 50px;
         transform: translate(-50%, 0%);
         top: 350px;
         display: flex;
         flex-direction: column;
         text-align: center;
         justify-content: space-around;
     }
 }

 .cookie-popup {
     position: fixed;
     bottom: 10px;
     left: 10px;
     background-color: #1A1F26;
     border: 1px solid #30353B;
     border-radius: 5px;
     padding: 20px;
     box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
     z-index: 1000;
 }

 .cookie-popup p {
     margin: 0 0 10px;
 }

 .cookie-popup button {
     background-color: #4CAF50;
     color: white;
     border: none;
     padding: 10px 20px;
     margin-right: 10px;
     cursor: pointer;
     border-radius: 5px;
     font-size: 14px;
 }

 .cookie-popup button#learn-more {
     background-color: #007BFF;
 }

 .container-cookies {
    width: 80vw;
    position: relative;
    top: 90px;
    left: 50%;
    transform: translate(-50%, 0%);
    margin-bottom: 100px;
 }

 #map-iframe {
    position: relative;
    height: 500px;
    width: 90%;
    max-width: 800px;
    border-radius: 20px;
    overflow: hidden;
    left: 50%;
    transform: translate(-50%, 0%);
    border: none;
 }

 .map-container {
    border-top: 1px solid #30353B;
    position: relative;
    width: 80%;
    left: 50%;
    padding: 50px;
    transform: translate(-50%, 0%);
    top: 200px;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: space-around;
 }

  #loader {
        position: relative;
        left: 50%;
        top: 25%;
        transform: translate(-50%, -50%) rotate(45deg);
        perspective: 1000px;
        border-radius: 50%;
        width: 250px;
        height: 250px;
        color: #fff;
    }

    #loader:before,
    #loader:after {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: inherit;
        height: inherit;
        border-radius: 50%;
        transform: rotateX(70deg);
        animation: 1s spin linear infinite;
    }

    #loader:after {
        color: #FF3D00;
        transform: rotateY(70deg);
        animation-delay: .4s;
    }

    .loader-text {
        width: 800px;
        position: relative;
        font-size: 20px;
        margin-top: 100px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(-45deg);
        z-index: 99;
    }

    @keyframes rotate {
        0% {
            transform: translate(-50%, -50%) rotateZ(0deg);
        }

        100% {
            transform: translate(-50%, -50%) rotateZ(360deg);
        }
    }

    @keyframes rotateccw {
        0% {
            transform: translate(-50%, -50%) rotate(0deg);
        }

        100% {
            transform: translate(-50%, -50%) rotate(-360deg);
        }
    }

    @keyframes spin {

        0%,
        100% {
            box-shadow: .2em 0px 0 0px currentcolor;
        }

        12% {
            box-shadow: .2em .2em 0 0 currentcolor;
        }

        25% {
            box-shadow: 0 .2em 0 0px currentcolor;
        }

        37% {
            box-shadow: -.2em .2em 0 0 currentcolor;
        }

        50% {
            box-shadow: -.2em 0 0 0 currentcolor;
        }

        62% {
            box-shadow: -.2em -.2em 0 0 currentcolor;
        }

        75% {
            box-shadow: 0px -.2em 0 0 currentcolor;
        }

        87% {
            box-shadow: .2em -.2em 0 0 currentcolor;
        }
    }

    .section-map {
        min-height: 600px;
    }

    #show-map-button, #show-librarys {
        position: relative;
        top: 10px;
        background-color: #d42f25;
        color: #fff;
        border: none;
        padding: 10px 20px;
        font-size: 16px;
        border-radius: 4px;
        cursor: pointer;
        left: 50%;
        transform: translate(-50%, 0%);
        max-width: 400px;
        font-weight: 600;
    }

    #library-list {
        list-style-type: none;
    }
    
    #library-list b {
        color: aliceblue;
    }

    #library-list a {
        color: aliceblue;
        text-decoration: none;
    }

    .notice {
        font-size: 0.7rem;
    }

    .gps-map {
        position: relative;
        display: block;
        left: 50%;
        transform: translate(calc(-50% + -25px), 0%);
        max-width: 600px;
        margin: 25px;
    }

    .modifier_livre {
        display: flex;
        flex-direction: row;
    }

    .signup {
        background-color: #d42f25 !important;
    }

    .nav-btn {
        background-color: transparent;
        color: #fff;
        border: none;
        padding: 10px 20px;
        font-size: 18px;
        border-radius: 4px;
        cursor: pointer;
        font-style: bold;
    }

    .login {
        border: 2px solid aliceblue;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    @media screen and (pointer: coarse) {

        .nav-btn,
        .logout,
        .login {
            font-size: 24px;
        }
    }
        .submit-btn,
        .cnx,
        .logout, .modify {
            background-color: #d42f25;
            color: #fff;
            border: none;
            padding: 10px 20px;
            font-size: 16px;
            border-radius: 4px;
            cursor: pointer;
        }

    /* The Popup Background */
    .popup {
        display: none;
        /* Hidden by default */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        /* Semi-transparent background */
        z-index: 1000;
    }

    /* The Popup Content */
    .popup-content {
        position: relative;
        margin: 10% auto;
        padding: 20px;
        width: 300px;
        background: #1A1F26;
        border: 1px solid #30353B;
        border-radius: 10px;
        box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.5);
        text-align: center;
    }

    .popup-content input {
        font-size: 20px;
        padding: 5px;
    }

    /* Close Button */
    .popup-content .close {
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 20px;
        font-weight: bold;
        cursor: pointer;
        color: #333;
    }

    .modify_form {
        display: none;
    }