/* --- General rules --- */
html{
  scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.5;
    color: aliceblue;
}

/* --- Header rules --- */
header {
    font-size:large;
}

header .btn {
    display: inline-block;
    background: #eeaf2f;
    color: #fdf6e3;
    padding: 0.1rem 1.5rem 0.20rem 1.5rem;
    border-radius: 30px;
}
    header .btn:hover {
        background: #46932A;
        transition: all .15s linear;
    }

    header .logo {
    padding-left: 2rem;
    padding-bottom: 0.25rem;
    font-size: 1.5rem;
    }

/* --- Nav bar rules --- */
.navbar {
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1rem;
    position: fixed;
    background: linear-gradient(135deg, #0077b6, #009688);
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

    .navbar .links {
        list-style: none;
        display: flex;
        gap: 1rem;
        padding-right: 3rem;
        padding-left: 0rem;
    }

        .navbar .links a {
            text-decoration: none;
            font-weight: 600;
            color: white;
        }

        .navbar .links .link:hover {
            color: #ffc24a;
            transition: all .15s linear;
        }

/* --- Toggle button & overlay menu rules --- */
.toggle {
    display: none;
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
    padding-right: 3rem;
    padding-bottom: 0.25rem;
}
    .toggle:hover{
        color:#ffc24a;
        transition: all .15s linear;
    }

#overlay-menu {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    background: rgba(0, 3, 4, 0.97);
    overflow-x: hidden;
    transition: 0.4s;
}

    #overlay-menu .close-btn {
        position: absolute;
        top: 20px;
        right: 40px;
        font-size: 3rem;
        color: white;
        text-decoration: none;
        cursor: pointer;
    }
        #overlay-menu .close-btn:hover{
            color:#ffc24a;
            transition: all .15s linear;
        }

    #overlay-menu .overlay-content {
        position: relative;
        top: 30%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
        #overlay-menu .overlay-content a {
            font-size: 1.5rem;
            color: white;
            text-decoration: none;
        }
        #overlay-menu .overlay-content .link:hover {
            color: #ffc24a;
            transition: all .15s linear;
        }
        #overlay-menu .overlay-content .link-green:hover {
            color: #6ED760;
            transition: all .15s linear;            
        }

/* --- Main section --- */
main .btn {
    display: inline-block;
    background: #0077b6;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
}
    main .btn:hover {
        background: #023e8a;
        transition: all .15s linear;
    }

.hero {
    height: 100vh;
    background: url('../pix/hero.jpg') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
}
    .hero-content h1 {
        font-size: 3rem;
        margin-bottom: 1rem;
        font-weight: normal;
    }

.container {
    max-width: 1000px;
    margin: auto;
}

section {
    padding: 5rem 2rem;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size:large;
}
    section h2 {
        text-align: center;
        margin-bottom: 2rem;
        color: white;
    }
    section ul {
        list-style: none;
    }
    section strong {
        color: #ffc24a;
        white-space: nowrap;
    }

    section em {
        color: #ffc24a;
        font-style: normal;
        font-weight: bold;
    }

    section .title-icon {
        padding-right: 1.5rem;
        color: #ffc24a;
    }

.section-pair {
    background: #073642;
}
.section-impair {
    background: #002b36;
}

.doctolib-link a {
    margin-bottom:1rem;
}

.btn-doctolib-logo {
    height: 20px;
    vertical-align: sub;
}

.phone-link i {
    padding-right:1rem;
}

/* --- Google maps iframe --- */
.map-wrapper {
    position: relative;
    display: inline-block;
    width:100%;
    height: 500px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;

    -webkit-mask-image: 
        linear-gradient(to right,   rgba(0,0,0,0) 0%, rgba(0,0,0,1) 5%, rgba(0,0,0,1) 95%, rgba(0,0,0,0) 100%),
        linear-gradient(to bottom,  rgba(0,0,0,0) 0%, rgba(0,0,0,1) 5%, rgba(0,0,0,1) 95%, rgba(0,0,0,0) 100%);
    -webkit-mask-composite: intersect;
    -webkit-mask-repeat: no-repeat;

    mask-image: 
        linear-gradient(to right,   rgba(0,0,0,0) 0%, rgba(0,0,0,1) 1%, rgba(0,0,0,1) 99%, rgba(0,0,0,0) 100%),
        linear-gradient(to bottom,  rgba(0,0,0,0) 0%, rgba(0,0,0,1) 2%, rgba(0,0,0,1) 98%, rgba(0,0,0,0) 100%);
    mask-composite: intersect;
    mask-repeat: no-repeat;
}

/* --- Footer section --- */
footer {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg,#009688,#0077b6);
    color: white;
    height: 50px;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
}

/* --- Responsive section --- */
@media (max-width: 768px) {
    .navbar .links {
        display: none;
    }
    .toggle {
        display: block;
    }
}