* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    position: relative;
    padding-bottom: 50px; /* Space for footer */
}

header {
    background-color: #333;
    color: #fff;
    padding: 20px;
    width: 100%;
    text-align: center;
}

header h1 {
    margin-bottom: 10px;
}

section {
    margin: 20px 0;
    padding: 20px;
    background-color: #fff;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#about {
    text-align: center;
}

/* Responsive Image */
#about img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.buttons {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    flex-wrap: wrap;
}

.btn {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin: 10px;
    text-align: center;
    width: 45%; /* Default width for larger screens */
}

.btn:hover {
    background-color: #555;
}

footer {
    background-color: #333;
    color: #fff;
    padding: 10px;
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 0;
}

/* Media Queries for responsiveness */
@media (max-width: 768px) {
    /* Adjust buttons for smaller screens */
    .btn {
        width: 90%; /* Full width for mobile devices */
    }
    
    section {
        width: 95%; /* Less margin for smaller screens */
    }
}

@media (max-width: 480px) {
    /* Extra adjustments for very small screens */
    header h1 {
        font-size: 1.5rem; /* Smaller font size for small devices */
    }
    
    header p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px; /* Smaller padding for mobile buttons */
    }
}
