body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: #121212;
    color: #ffffff;
}

a {
    color: #00bcd4;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #008ba3;
}

main{
    padding-top: 5vh;
}

#projects {
    padding: 5vh 0;
    width: 100%;
}

#projects h1 {
    font-size: 36px;
    text-align: center;
    color: #00bcd4;
    margin-bottom: 2rem;
}

.project-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 3rem;
}

.project-item {
    background-color: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    margin: 2rem;
}

.image-container {
    width: 100%;
    height: 550px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container img,
.image-container iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-container {
    padding: 20px;
    text-align: center;
}

.text-container h2 {
    font-size: 24px;
    color: #00bcd4;
    margin-bottom: 1rem;
}

.text-container p {
    font-size: 16px;
    line-height: 1.5;
}

.text-container a {
    font-weight: bold;
}

#loadIframeButton {
    background-color: #00bcd4;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#loadIframeButton:hover {
    background-color: #008ba3;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .project-container {
        flex-direction: column;
        align-items: center;
    }
    .project-item {
        width: 90%;
        margin: 1rem 0;
    }
    .image-container{
        height: 350px;
    }
}