@import url('https://fonts.googleapis.com/css2?family=Inspiration&display=swap');
/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
}

/* Header Section */


header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #413A3A;
    color: white;
}

.navbar {
    display: flex;
    align-items: center;
}



/* Logo */ 

header .logo h1 {
    font-size: 3rem;
    font-family: "Inspiration", cursive;
    margin-left: 40px;
    margin-right: 40px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
    margin-right: 20px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

nav ul li a:hover {
    text-decoration: underline;
}



/* Main Section */

main {
    padding: 20px;
}

.main-info {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
}

.main-info .main-img {
    width: 25%;
    margin-right: 20px;
    margin-left: 80px;
}

.main-info .info-text {
    width: 50%;
}

.pizza-section {
    display: flex;
    justify-content: space-between;
    background-color: #413A3A;
    color: aliceblue;
    padding: 20px;
    margin-bottom: 30px;
}

.pizza-section .pizza-info {
    width: 25%;
    text-align: center;
    margin-left: 10%;
}

.pizza-section .pizza-info h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.pizza-section .pizza-info p {
    font-size: 20px;
}

.pizza-section .pizza-info h4{
    font-size: 20px;
}

.pizza-section .pizza-info h5 {
    color: rgb(197, 30, 30);
    font-size: 1.3rem;
    margin-top: 15px;
}

.pizza-section .pizza-img {
    width: 30%;
    margin-right: 10%;
}



.parking-info {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}

.parking-info .parking-text {
    width: 50%;
}

.parking-info .parking-text ul{
    align-items: center;
    text-align: center;
    list-style-type: none;
}


.parking-info .parking-img {
    width: 30%;
    margin-right: 70px;
}




/* Footer */


footer {
    background-color: #413A3A;
    color: white;
    text-align: left;
    padding: 20px 0;
    margin-top: 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

footer .logo {
    font-size: 2rem;
    font-family: "Inspiration", cursive;
}

footer ul {
    list-style: none;
    justify-content: center;
    margin-top: 10px;
}

footer ul li {
    margin-left: 15px;
}

footer ul li a {
    color: white;
    text-decoration: none;
}


/* Menu Burger */


.navbar-toggle {
    display: none; /* Masqué par défaut */
    font-size: 24px;
    color: white;
    cursor: pointer;
}

.nav-links.mobile-active {
    display: flex;
    align-items: center;
    text-align: center;
}


/* Ecran Telephone */


@media (max-width: 550px) {

    header .logo h1 {
        margin-left: 0px;
        font-size: 2rem;
    }

    header {
        justify-content: space-around;
    }

    .navbar .navbar-toggle {
        display: flex;
        align-items: center;
        margin-left : 200px;
    }

    .navbar {
        padding: 20px;
        justify-content: space-between;
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100px;
        right: 0;
        background-color: #413A3A;
        width: 100%;
        flex-direction: column;
        padding: 10px 0;
    }

    .nav-links li {
        text-align: center;
        margin: 5px 0;
    }

    .nav-links li a {
        font-size: 15px;
        padding: 10px;
        margin-right: 0;
    }

    .nav-links .mobile-active {
        display: flex;
        align-items: center;
        text-align: center;
    }

    .main-info .info-text {
        font-size: 10px;
    }

    .main-info .main-img {
        margin-left: 0px;
    }

    .pizza-section {
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 10px;
    }

    .pizza-section .pizza-info {
        font-size: 10px;
        margin-left: 0;
    }
    .pizza-section .pizza-info h3 {
        font-size: 12px;
        margin-top: 20px;
    }

    .pizza-section .pizza-info p {
        font-size: 10px;
    }

    .pizza-section .pizza-info h4{
        font-size: 10px;
        margin-bottom: 5px;
    }

    .pizza-section .pizza-info h5 {
        font-size: 10px;
    }

    .pizza-section .pizza-img {
        width: 30%; 
        height: 30%;
    }

    .parking-info .parking-text {
        font-size: 10px;
    }

    .parking-info .parking-img {
        margin-right: 20px;
        margin-left: 10px;
        width: 30%;
    }

    footer .logo h1 {
        margin-left: 30px;
        margin-right: 30px;
        font-size: 2rem;
    }

    footer ul li {
        margin-left: 10px;
        font-size: 13px;
    }

    footer p {
        font-size: 13px;
    }

}


/* Affichage Tablette */

@media (min-width: 551px) and (max-width: 940px) {

    /* Nav bar */

    header .logo h1 {
        margin-left: 0px;
        font-size: 2rem;
    }

    header {
        justify-content: space-around;
    }

    .navbar .navbar-toggle {
        display: flex;
        align-items: center;
        margin-left : 200px;
    }

    .navbar {
        padding: 20px;
        justify-content: space-between;
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100px;
        right: 0;
        background-color: #413A3A;
        width: 100%;
        flex-direction: column;
        padding: 10px 0;
    }

    .nav-links li {
        text-align: center;
        margin: 5px 0;
    }

    .nav-links li a {
        font-size: 15px;
        padding: 10px;
        margin-right: 0;
    }

    .nav-links .mobile-active {
        display: flex;
        align-items: center;
        text-align: center;
    }

    .pizza-section {
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 10px;
    }

    .pizza-section .pizza-info h3 {
        font-size: 24px;
        margin-top: 20px;
    }

    .pizza-section .pizza-info p {
        font-size: 16px;
    }

    .pizza-section .pizza-info h4{
        font-size: 16px;
        margin-bottom: 5px;
    }

    .pizza-section .pizza-info h5 {
        font-size: 16px;
    }

    .pizza-section .pizza-img {
        width: 40%; 
        height: 40%;
    }
}