body {
    max-width: 1200px; /* Adjust as needed */
    margin: 0 auto; /* Centers the content */
    padding: 0 14px; /* Optional: Adds some padding on the sides */
    font-family: Montserrat, sans-serif;
}

h1 {
    text-align: center;
    font-size: 2.8rem; /* Base size for smaller screens */
}

.center-text {
    text-align: center;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #3a75c4;
    text-align: right; /* Right-align the menu items */
}

nav li {
    display: inline-block; /* Display items inline */
}

nav li.logo {
    float: left; /* Logo floats left */
    font-weight: bold;
}

nav li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

nav li a:hover {
    background-color: #111;
}

nav li.logo a img {
    height: 20px;
    vertical-align: bottom;
}

footer {
    text-align: center;
    padding-bottom: 20px; /* Adds space at the bottom of the footer */
}

/* Hide short text on larger screens by default */
.short-text {
    display: none;
}

/* On small screens, hide the full text and show the short text */
@media (max-width: 768px) {
    .full-text {
        display: none;
    }
    .short-text {
        display: inline;
    }
    h1 {
        font-size: 2.2rem; /* Increase size for larger screens */
    }
}

.social-icons {
    text-align: center;
    margin-top: 20px;
}

.social-icons a {
    display: inline-block;
    margin: 0 10px;
    color: #333; /* Icon color */
}

.social-icons a:hover {
    color: #007bff; /* Icon hover color */
}