/* Stili base */
@media (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Arial', sans-serif;
    color: #fff;
    background: url('./img/sfondo3.jpg') no-repeat center center fixed;
    background-size: cover;
}

/* Navbar */
nav {
    background: rgba(0, 0, 0, 0.8);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
.logo {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
    color: #f4c10f;
}
ul {
    list-style: none;
    display: flex;
    gap: 20px;
}
ul li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    padding: 5px 10px;
    transition: color 0.3s ease, background 0.3s ease;
}
ul li a:hover {
    color: #333;
    background: #f4c10f;
    border-radius: 5px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 100px 20px;
    animation: fadeIn 2s ease-in-out;
}
.hero h1 {
    font-size: 50px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}
.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}
.cta {
    background: #f4c10f;
    color: #333;
    padding: 10px 20px;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}
.cta:hover {
    background: #d1a809;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.8);
    position: absolute;
    bottom: 0;
    width: 100%;
}
footer p {
    font-size: 14px;
    color: #aaa;
}

/* Animazioni */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
	

.btn {
    display: inline-block;
    padding: 10px 15px;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
}
.btn-view {
    background-color: #28a745; /* Verde */
}
.btn-write {
    background-color: #007bff; /* Blu */
}
.btn:hover {
    opacity: 0.9;
}

	
	
	
}
