@font-face {
    font-family: 'SkyFall';
    src: url('font/SkyFall.ttf') format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Quantum';
    src: url('font/Quantum-18n0.ttf') format("truetype");
    font-weight: normal;
    font-style: normal;
}
body {
    font-family: 'Quantum', 'Roboto', sans-serif;
    position: relative;
    @media (prefers-color-scheme: dark) {
        background: rgba(0, 0, 0, 0.901);
        color: aliceblue;
    }

    @media (prefers-color-scheme: light) {
        background: rgba(207, 205, 203, 0.792);
    }
}

header {
    font-family: 'SkyFall', 'Roboto', sans-serif;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.logo {
    margin: 1.5rem auto 0.7rem auto;
    width: 175px;
    height: 56px;
}

.text {
    color: aliceblue;
}

.photo {
    width: 25%;
}

.texte {
    color: aliceblue;
}

.nav-accessibilite {
    ul {
        list-style: none;
    }
    position: relative;
    a {
        &:focus {
            display: block;
            position: static;
        }
        position: absolute;
        left: -1000em;
    }
}

p, i {
    padding-left: 10px;
}

.tab-btn {
    display: inline-block;
    background-color: black;
    color: white;
    width: 35px;
    padding-left: 2px;
    border-radius: 7px;
    box-shadow: darkgray 0px 0px 1px 1px;
}

.shift.tab-btn {
    width: 45px;
}

figure img {
    width: 25%;
}

.container_web_composant {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

@media all and (min-width: 769px) {
#container_competences{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.comp{
    position: relative;
    display: inline-block;
    width: 50%;
}
}

#coords, #coords2 {
    color: crimson;
    text-shadow: 1px 1px 2px rgb(0, 0, 0), 0 0 1em rgb(0, 0, 0), 0 0 0.2em rgb(0, 0, 0);
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#image-container {
    position: relative;
    display: inline-block;
    margin: 5px;
}

#id_map {
    width: 100%;
    display: none;
}

#map {
    width: 80%;
    height: 500px;
}

.popup {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.popup-content {
    color: black;
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
}

.popup-content p {
    color: red;
}

.background-flou {
    filter: blur(50px);
    z-index: -1;
}

section{
    padding-top: 10px;
}

#div_audio{
    display: flex;
    flex-direction: column  ;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 10px;
}   
#audio{
    width: 80%; 
    border-radius: 1000em;
    margin-top: 20px;
    background-color: #f1f1f1;
}

header, footer {
    @media (prefers-color-scheme: dark) {
        background: rgba(15, 15, 15, 0.649);
    }

    @media (prefers-color-scheme: light) {
        background: rgb(84, 123, 145);
    }
}

@media all and (min-width: 769px) {
    .photo {
        width: 150px;
    }
    main{
        & h2 {
        font-size: 2.2rem;
        }
        & h3 {
        font-size: 1.8rem;
        }
        & p{ 
            font-size: 1.1rem;

        }
    }
}

@media all and (max-width: 768px) {
    .photo {
        width: 100px;
    }

    .logo {
        display: none;
    }
}
