* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

body, html {
    height: 100%;
    margin: 0;
    overflow-x: hidden;
    background-color: #0A0F25;
    color: #fff;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    padding-top: 20vh;
}

.content {
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    font-family: 'M PLUS 1p', sans-serif;
    font-size: 4rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.email-form {
    margin-bottom: 2rem;
}

.email-form label {
    display: block;
    margin-bottom: 0.5rem;
}

.email-input {
    display: flex;
}

.email-input input {
    padding: 0.5rem;
    border-radius: 20px 0 0 20px;
    border: none;
    outline: none;
    width: 250px;
}

.email-input button {
    padding: 0.5rem 1rem;
    border-radius: 0 20px 20px 0;
    border: none;
    background-color: #fff;
    color: #0A0F25;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}

p.scroll-down {
    font-size: 1.2rem;
    animation: fadeIn 2s infinite;
    position: absolute;
    bottom: 3rem;
}

.down-arrow {
    position: absolute;
    bottom: 1.5rem;
}

.down-arrow img {
    width: 24px;
    height: 24px;
    animation: bounce 2s infinite;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    border: 5px solid white;
    background-size: cover;
    background-position: center;
    filter: brightness(50%);
    animation: float 6s infinite ease-in-out;
}

.large {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 20%;
}

.medium {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 70%;
}

.small {
    width: 100px;
    height: 100px;
    top: 30%;
    left: 50%;
}

.about-section {
    padding: 2rem;
    background-color: #0A0F25;
    color: #fff;
    text-align: center;
    min-height: 100vh;
}

.about-section h2 {
    font-family: 'M PLUS 1p', sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around; /* Spread out items evenly */
}

.about-item {
    flex: 1 1 calc(50% - 2rem); /* Two columns */
    margin: 1rem;
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid #fff;
    border-radius: 10px;
    transition: opacity 1s ease-out, transform 1s ease-out;
    opacity: 0;
    transform: translateY(50px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 250px; /* Fixed height for greater height than width */
}

.about-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.about-item p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.about-item img {
    width: 50px;
    height: 50px;
    margin-bottom: 0.5rem;
}

.about-item a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes fadeIn {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-item.show {
    opacity: 1;
    transform: translateY(0);
}
