@import url('https://fonts.googleapis.com/css2?family=Anton&family=Cabin:ital,wght@0,400..700;1,400..700&family=Faculty+Glyphic&family=Host+Grotesk:ital,wght@0,300..800;1,300..800&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Oswald:wght@200..700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.body {
    margin: 0;
    padding: 0;
    animation: fadeIn 1s ease-in-out;
}

.about {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 40px;
    padding-top: 30px;
    width: 100%;
    height: auto;
    color: aliceblue;
    background-color: hsl(0, 2%, 10%);
    animation: fadeIn 1s ease-in-out;
}

.about p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    text-align: center;
    margin: 0;
    padding-left: 130px;
    padding-right: 130px;
    animation: fadeIn 1s ease-in-out;
}

.main-container {
    display: flex;
    background-color: hsla(0, 0%, 11%, 0.909);
    flex-direction: row;
    justify-content: center;
    animation: fadeIn 1s ease-in-out;
}

.image img {
    width: 520px;
    height: auto;
    margin: 50px;
    border-radius: 10px;
    animation: fadeIn 1s ease-in-out;
}

.main-content {
    color: white;
    align-items: center;
    margin-top: 50px;
    margin-right: 110px;
    font-size: 18px;
    animation: fadeIn 1s ease-in-out;
}

.main-content h1 {
    font-size: 30px;
    animation: slideIn 1s ease-in-out;
}

.main-content h2 {
    font-size: 25px;
    animation: slideIn 1s ease-in-out;
}

.main-content li:hover {
    color: #0081FB;
    cursor: pointer;
    animation: colorChange 1s infinite alternate;
}

.main-btn {
    background-color: #0081FB;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    width: 30%;
    border-radius: 20px;
    font-family: "Host Grotesk", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: bold;
    padding-top: 10px;
    margin-top: 20px;
    align-content: center;
    animation: fadeIn 1s ease-in-out;
}

@keyframes colorChange {
    0% {
        color: white;
    }
    100% {
        color: #0081FB;
    }
}

.more-about {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: flex-start;
    align-items: none;
    padding-bottom: 40px;
    padding-top: 30px;
    width: 100%;
    height: auto;
    color: aliceblue;
    background-color: rgba(26, 26, 26, 0.947);
    animation: fadeIn 1s ease-in-out;
}

.more-about p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    padding-left: 40px;
    padding-right: 150px;
    padding-top: 10px;
    animation: fadeIn 1s ease-in-out;
}

.more-about h1 {
    font-size: 30px;
    padding-left: 40px;
    padding-bottom: 0px;
    margin-bottom: 0px;
    animation: slideIn 1s ease-in-out;
}

.more-about h2 {
    font-size: 28px;
    padding-left: 40px;
    padding-bottom: 0px;
    margin-bottom: 0px;
    animation: slideIn 1s ease-in-out;
}

/* Responsive styles */
@media (max-width: 768px) {
    .about p {
        padding-left: 20px;
        padding-right: 20px;
    }

    .main-container {
        flex-direction: column;
        align-items: center;
    }

    .main-content {
        margin-right: 0;
        text-align: center;
    }

    .main-btn {
        width: 50%;
    }

    .more-about p {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 480px) {
    .about p {
        padding-left: 10px;
        padding-right: 10px;
    }

    .main-content {
        margin-top: 20px;
    }

    .main-btn {
        width: 70%;
    }

    .more-about p {
        padding-left: 10px;
        padding-right: 10px;
    }
}

.animate {
    animation: fadeIn 1s ease-in-out, slideIn 1s ease-in-out;
}

.navbar img {
    width: 20%;
    height: auto;
    padding-left: 20px;
}
