body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #ffc63d;
    color: white;
    padding: 3px;
    height: 259px;
    animation: fadeIn 0.7s ease-in-out;
}

.hero .content {
    width: 100%;
}

.hero h1 {
    font-size: 3.1rem;
    margin-bottom: 14px;
}

.hero p {
    font-size: 1.3rem;
    line-height: 1.6;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.main-content {
    display: flex;
    flex-wrap: wrap;
    padding: 40px;
}

.content-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 40px;
    animation: slideUp 1s ease-in-out;
}

.content-block:nth-child(even) {
    flex-direction: row-reverse;
}

.content-block .text {
    max-width: 800px; 
    margin: 0 auto;
    padding: 0 1rem;
}

.content-block .text h2 {
    font-size: 1.5rem;
    color: #0a0a0a;
    margin-bottom: 15px;
}

.content-block .text p {
    font-size: calc(1rem + 0.08vw);
    line-height: 1.6;
    color: #474747;
    margin-bottom: 1.2rem;
    text-align: justify;
}

.content-block img {
    width: 40%;
    height: auto;
    border-radius: 10px;
    animation: fadeIn 1.5s ease-in-out;
}

@keyframes slideUp {
    0% { transform: translateY(100px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.tech-stack {
    background-color: #000000;
    padding: 40px;
    color: white;
    animation: fadeIn 1s ease-in-out;
}

.tech-stack h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
}

.tech-stack ul {
    display: flex;
    justify-content: space-around;
    list-style: none;
    padding: 0;
}

.tech-stack ul li {
    font-size: 1.52rem;
}

footer {
    background-color: #0f1824;
    color: white;
    text-align: center;
    padding: 20px;
    animation: fadeIn 1.5s ease-in-out;
}
.tech-stack ul li:hover{
    color: #ffc63d;
    cursor: pointer;
}
.extra-images {
    padding: 20px;
}

.image-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.image-row img {
    width: 32%;
    margin-bottom: 15px;
}
/* ____________________________________________________________________________ */

@media(min-width: 300px) and (max-width: 880px) {
    .hero {
        flex-direction: column;
        text-align: center;
        height: auto;
    }
    .hero h1 {
        font-size: 2.2rem;
        margin-top: 19px;
        margin-bottom: 14px;
    }
    .content-block .text h2 {
        font-size: 1.5rem;
        color: #0a0a0a;
        margin: 1.2rem 0rem;
    }
    .hero p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .main-content {
        padding: 10px;
    }

    .content-block {
        flex-direction: column;
        text-align: center;
        display: block;
        margin-bottom: 10px;
    }

    .content-block .text, .content-block img {
        width: 100%;
    }

    .tech-stack ul {
        flex-direction: column;
        align-items: center;
    }
    .image-row img {
        width: 100%;
    }
}