@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200;400;500;600;700;800&display=swap");

:root{
    --blue:#0d5899;
}

* {
    font-family: 'Manrope', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    transition: all .5s cubic-bezier(.37,1.14,.26,1.24);
}

*::selection {
    background: var(--blue);
    color: #fff;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

body {
    height: 3000px;
}

strong {
    color: var(--blue);
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background:#fff;
    box-shadow: 0 .1rem .3rem rgba(0,0,0,.3);
    position: fixed;
    top:0; left:0;
    z-index: 1000;
    padding: 1rem 5rem;
    width: 100%;
}

header .logo img {
    height: 130px;
}

header .navbar ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
}

header .navbar ul li {
    margin: 0 1rem;
}

header .navbar ul li a {
    font-size: 2rem;
    color:#666;
}

header .navbar ul li a:hover {
    color: var(--blue);
}

header .fa-bars {
    font-size: 3rem;
    color:#666;
    cursor: pointer;
    display: none;
}

.accueil {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9edf5;
}

.accueil .content {
    text-align: center;
    padding: 1rem;
}

.accueil .content h1 {
    font-size: 7rem;
    color: var(--blue);
}

.accueil .content p {
    font-size: 1.7rem;
    color:#333;
    padding: 2rem 0;
    width: 80rem;
}

.btn {
    background: none;
    outline: none;
    border: .2rem solid var(--blue);
    border-radius: 50px;
    color: var(--blue);
    font-size: 2rem;
    margin: 1rem 0;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    z-index: 0;
    position: relative;
}

.btn::before, .btn::after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: var(--blue);
    z-index: -1;
    transition: all 0.5s cubic-bezier(.37,1.14,.26,1.24);
}

.btn::before {
    clip-path: polygon(0 0, 0 0, 0 0);
}

.btn:hover:before{
    clip-path: polygon(0 0, 0 100%, 100% 0);
}

.btn::after{
    clip-path: polygon(100% 100%, 100% 100%, 100% 100%);
}

.btn:hover:after{
    clip-path: polygon(100% 0%, 0% 100%, 100% 100%);
}

.btn:hover{
    color:#fff;
}

.heading {
    text-align: center;
    font-size: 4rem;
    color: #555;
    padding: 1rem;
    padding-top: 7rem;
}

.heading i {
    color: var(--blue);
    font-size: 2rem;
}

.paragraph {
    text-align: center;
    font-size: 2rem;
    color: #555;
    padding: 1rem;
    padding-bottom: 4rem;
}

.dechets {
    min-height: 60vh;
}

.dechets .row {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
}

.dechets .box-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.dechets .box-container .box {
    padding: 2rem 1rem;
    text-align: center;
    background-color: #f5f4f4;
    border: .2rem solid var(--blue);
    border-radius: 15px;
    flex: 1 1 20rem;
    margin: 2rem;
    cursor: pointer;
    transition: 0.3s ease;
}

.dechets .box-container .box:hover {
    background: var(--blue);
}

.dechets .box-container .box i {
    color: var(--blue);
    font-size: 4rem;
}

.dechets .box-container .box:hover i {
    color: #fff;
}

.dechets .box-container .box h3 {
    color: #333;
    font-size: 2.5rem;
    padding: 1rem 0;
}

.dechets .box-container .box:hover h3 {
    color: #fff;
}

.dechets .box-container .box p {
    color:#666;
    font-size: 1.7rem;
}

.dechets .box-container .box:hover strong {
    color: #e7e4e4;
}

.reglementation {
    background:#f0f0f0;
    color: var(--blue);
    min-height: 100vh;
}

.reglementation .box-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 80%;
    margin: 0 auto;
}

.reglementation .box-container .box {
    flex: 1 1 25rem;
    padding: 2rem 1rem;
    text-align: center;
    background:#fff;
    border: .2rem solid var(--green);
    margin: 2rem;
    cursor: pointer;
}

.reglementation .box-container .box i {
    color: var(--green);
    font-size: 4rem;
    padding: 1rem 0;
}

.reglementation .box-container .box h3 {
    color: var(--blue);
    font-size: 2rem;
}

.reglementation .box-container .box p {
    color: #666;
    font-size: 1.5rem;
    padding: 1rem 0;
}

.reglementation .box-container .box a {
    color: #333;
    font-size: 1.7rem;
}

.reglementation .box-container .box a:hover {
    color: var(--blue);
}

.reglementation .box-container .box .download {
    background: none;
    outline: none;
    border: .2rem solid var(--blue);
    border-radius: 5px;
    color: var(--blue);
    font-size: 2rem;
    margin: 1rem 0;
    padding: 0 10px;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    z-index: 0;
    position: relative;
}

.reglementation .box-container .box .download:hover {
    background: var(--blue);
    color: #fff;
}

.reglementation .box-container .box .download i {
    font-size: 20px;
}

.reglementation .box-container .box:hover {
    box-shadow: 0 .3rem .5rem rgba(0,0,0,.3);
}

.devis{
    position: relative;
    z-index: 0;
    min-height: 100vh;
    padding-bottom: 3rem;
}

.devis .heading {
    color: var(--blue);
}
.devis i {
    font-size: 35px;
}

.devis p {
    text-align: center;
    font-size: 2rem;
    padding: 20px;
}

.devis .form-container form {
    width: 80%;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.179);
    backdrop-filter: blur(.4rem);
    box-shadow: 0 .3rem .5rem #000;
    text-align: center;
    border-top: .1rem solid rgba(255,255,255,.3);
    border-left: .1rem solid rgba(255,255,255,.3);
}

.devis .form-container form .inputBox {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.devis .form-container form .inputBox input {
    height: 4rem;
    width: 49%;
    background: #fff;
    color: #333;
    padding: 0 1rem;
    border-radius: 5px;
    margin: 1rem 0;
    font-size: 1.7rem;
    outline: none;
    border: none;
}

.devis .form-container form textarea { 
    width: 100%;
    background: #fff;
    color: #333;
    padding: 1rem;
    border-radius: 5px;
    margin: 1rem 0;
    font-size: 1.7rem;
    outline: none;
    border: none;
    resize: none;
}

.devis .form-container form button {
    outline: none;
    background: var(--blue);
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 2rem;
    margin: 1rem 0;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    z-index: 0;
    position: relative;
}

.devis .form-container form button:hover {
    color: var(--blue);
    border-color: var(--blue);
    background: #fff;
}

.devis .form-container form button i {
    font-size: 20px;
}

@media (max-width:768px) {

    html {
        font-size: 55%;
    }

    header .fa-bars {
        display: block;
    }

    header .navbar {
        position: fixed;
        top: -100rem; 
        left: 0;
        width: 100%;
        border-top: .1rem solid #ccc;
        opacity: 0;
    }

    header .navbar ul {
        flex-flow: column;
        padding: 2rem 0;
        background-color: #fff;
    }

    header .navbar ul li {
        width: 100%;
        text-align: center;
        margin: 1rem 0;
    }

    header .navbar ul li a {
        font-size: 3rem;
        display: block;
    }

    .fa-times {
        transform: rotate(180deg);
    }

    header .nav-toggle {
        top: 6rem; 
        opacity: 1;
    }

    .accueil .content h1 {
        font-size: 5rem;
    }

    .accueil .content p {
        width: auto;
    }

    .reglementation .box-container {
        width: auto;
    }
}

@media (max-width:500px){
    .devis .form-container form .inputBox input {
        width: 100%;
    }
    .devis .form-container form {
        width: 90%;
    }
}