@import url("https://use.fontawesome.com/releases/v5.8.2/css/all.css");

/* Basic reset for margin, padding, and box-sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General body styling */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    margin: 0 auto;
    text-align: center;
}

/* Header styling */
header {
    background-color: #4CAF50;
    color: white;
    padding: 1rem;
    text-align: center;
}

header h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    border-bottom: 1px solid white;
}

/* Section styling */
section {
    padding: 20px;
    margin: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.section {
    width: 90%;
    margin: 10px auto;
}

/* Table styling */
.table-container {
    display: table;
    width: 100%;
    margin: 0 auto;
    text-align: left;
    border-collapse: collapse;
    border: 1px solid #ddd;
}

.table-container th,
.table-container td {
    padding: 10px;
    border: 1px solid #ddd;
    font-size: 1rem;
}

.table-prices {
    margin: 20px auto;
    width: 90%;
}

th, td {
    width: 50%;
    text-align: center;
}


/* Image styling */
img {
    width: 40%;
    height: auto;
    margin: 10px 10px;
}

.div-centre {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.div-centre-img {
    display: flex;
    flex-direction: inherit;
    align-items: center;
    justify-content: center;
}

/* Footer styling */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 0.9rem;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.5rem;
    }

    nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }

    nav ul li a {
        font-size: 0.9rem;
    }

    .section {
        width: 95%;
    }

    .table-container th,
    .table-container td {
        font-size: 0.8rem;
        padding: 0.5rem;
    }

    img {
        width: 100%;
        height: auto;
    }

    footer {
        font-size: 0.8rem;
    }

    .div-centre-img {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
}

i {
    font-size: 2rem;

}