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

body {
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: #666666;
    background-color: #fcfcfc;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    padding: 0.2rem;

    border-style: solid;
    border-width: 0.01rem;
    border-color: #f0f0f0;
    width: 90%;
    max-width: 27rem;

    border-radius: 1.5rem;
    position: sticky;
    top: 1rem;
    margin: 1rem auto 0 auto;
    z-index: 1000;
}

.navbar li {
    display: flex;
    border-color: #ffffff;
    border-style: solid;
    border-width: 0.01rem;
    border-radius: 1.5rem;
    list-style: none;
    padding: 0.7rem;
    width: 5rem;
    align-content: center;
    justify-content: center;
    text-align: center;
    flex: 1;
    margin: 0 0.2rem;
}

.navbar .links {
    display: flex;
    justify-content: center;
    gap: 0.1rem;
    list-style: none;
    width: 100%;
}

.navbar .links a {
    color: #666666;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.navbar li:hover {
    background-color: #eaeaea;
}

.contact-button {
    background-color: #eaeaea;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #666666;
}

.content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.5rem;
    width: 90%;
    max-width: 45rem;
    padding: 1rem;
    margin: 2rem auto;
}

.contact-form {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 1.5rem;
    border-style: solid;
    border-width: 0.01rem;
    border-color: #f0f0f0;
    grid-column: 1 / span 2;
    grid-row: 1;
}

.contact-form h2 {
    margin-bottom: 0.5rem;
    font-size: 2rem;
    color: #444444;
}

.contact-form p {
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 0.01rem solid #eaeaea;
    border-radius: 1rem;
    background-color: #fcfcfc;
    font-family: inherit;
    color: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #cccccc;
    box-shadow: 0 0 0 0.15rem #f0f0f0;
}

textarea {
    resize: vertical;
}

button {
    background-color: #eaeaea;
    color: #444444;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 1rem;
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
    font-weight: 600;
}

button:hover {
    background-color: #d0d0d0;
}

button:active {
    transform: scale(0.98);
}

.contact-form button[type="submit"] {
    width: 100%;
    margin-top: 0.5rem;
}

.newsletter {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 1.5rem;
    border-style: solid;
    border-width: 0.01rem;
    border-color: #f0f0f0;
    grid-column: 2;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.newsletter h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #444444;
}

.newsletter input[type="email"] {
    margin-bottom: 1rem;
    text-align: center;
}

.newsletter button {
    width: 100%;
}

.social_media {
    grid-column: 1;
    grid-row: 2;
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 1.5rem;
    border-style: solid;
    border-width: 0.01rem;
    border-color: #f0f0f0;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.social_media h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #444444;
}

.social_media ul {
    display: flex;
    list-style: none;
    justify-content: space-around;
    align-items: center;
}

.social-btn {
    display: flex;
    background: transparent;
    border: none;
    transition: transform 0.2s ease;
}

.social-btn:hover {
    transform: scale(1.1);
}

.social-icon {
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    fill: #666666;
    transition: fill 0.2s ease;
}

.social-btn:hover .social-icon {
    fill: #444444;
}




@media (max-width: 768px) {
    .navbar {
        width: 90%;
        left: 5%;
    }

    .menu-toggle {
        display: flex;
    }

    .navbar .links {
        display: none;
        grid-column: 1/-1;
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding-top: 1rem;
    }

    .navbar .links.active {
        display: flex;
    }

    .content {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }

    .contact-form {
        grid-column: 1;
        grid-row: 1;
    }

    .social_media {
        grid-column: 1;
        grid-row: 2;
    }
    
    .newsletter {
        grid-column: 1;
        grid-row: 3;
    }
}