body {
    font-family: 'Didact Gothic', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to right, #00c6ff, #f9f95f);
    color: #333;
}

.top-nav {
    text-align: right;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
}

.top-nav a {
    margin: 0 10px;
    color: #333;
    text-decoration: none;
}

header {
    text-align: center;
    padding: 50px 0;
}

.logo h1 {
    margin: 0;
    font-size: 2.5em;
}

nav {
    margin-top: 20px;
}

nav a {
    font-family: cursive;
    margin: 0 15px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
    flex-wrap: wrap;
}

.polaroid {
    background: #fff;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    height: 350px;
    text-align: center;
    margin: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.polaroid img {
    width: 100%;
    height: 300px;
    object-position: center;
    object-fit: cover;
}

.polaroid p {
    margin-top: 15px;
    font-style: italic;
}

.button-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-left: 50px;
}

.button {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.button i {
    font-size: 2em;
    margin-bottom: 10px;
}

.about-me-main {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
    flex-wrap: wrap;
}

.about-me-text {
    max-width: 500px;
    margin-left: 50px;
}

.about-me-text h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.about-me-text p {
    line-height: 1.6;
}

.bmce-main {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
    flex-wrap: wrap;
}

.bmce-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 50px;
}

.button-large {
    background: #fff;
    padding: 20px 40px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    line-height: 1.5;
}

.button-small-container {
    display: flex;
    gap: 20px;
}

.button-small {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.button-small i {
    font-size: 2em;
    margin-bottom: 10px;
}

.contact-main {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
    flex-wrap: wrap;
}

.contact-text {
    margin-left: 50px;
    text-align: center;
}

.contact-text p {
    font-size: 1.2em;
}

.contact-text a {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

footer {
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}

@media (max-width: 768px) {
    main, .about-me-main, .bmce-main, .contact-main {
        flex-direction: column;
        padding: 20px;
    }

    .polaroid {
        transform: none;
        margin-bottom: 30px;
    }

    .button-container {
        grid-template-columns: 1fr;
        margin-left: 0;
        margin-top: 20px;
        width: 90%;
    }

    nav a {
        display: block;
        margin: 10px 0;
    }

    .top-nav {
        display: none;
    }

    .about-me-text, .bmce-buttons, .contact-text {
        margin-left: 0;
        margin-top: 30px;
        text-align: center;
    }
}