/* Hero Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
.hero {
    color: var(--color1);
    padding: 80px 10%;
    opacity: 0;
    animation: fadeIn 2s forwards;
    height: 90vh;
    margin-bottom: 40vh;
}

.hero .hero-text div {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    grid-template-columns: repeat(7, 1fr);
    margin-top: 10px;
    height: 50px;
    font-size: 30px;
    margin-bottom: 10px;
}

.hero h2 {
    font-size: 10vw;
    padding-bottom: 6px;
}

.hero > div {
    font-size: 4vw;
    padding-bottom: 2px;
}

.hero-socials {
    font-size: 7vw;
}

.hero-socials a {
    transition: color 0.2s ease-in-out;
}

.hero-socials a:hover {
    color: var(--color3);
}

.hero button, .resume-button {
    padding: 10px 20px;
    margin-top: 15px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    background-color: var(--color5);
    color: var(--color1);
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.hero button:hover, .resume-button:hover {
    background-color: var(--color3);
    color: var(--color5);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}



/* Projects Section */
.projects h2 {
    color: var(--color1);
    padding: 30px 20%;
    font-size: 250%;
}

.projects-grid {
    padding: 0% 10%;
    display: grid;
    gap: 20px;
}

.projects-card {
    background-color: var(--color5);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    margin-bottom: 20px;
}

.projects-card-header {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    width: 100%;
    height: 80px;
    padding: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin-bottom: 10px;
}

.projects-card-header img {
    width: 200px;
}

.projects-card a {
    margin-top: 10px;
    width: 30%;
    text-align: center;
    background-color: var(--color4);
    padding: 7px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out
}

.projects-card a:hover {
    background-color: var(--color3);
    color: var(--color5);
}

.projects-card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    cursor: default;
}

.projects-card p {
    gap: 10px;
    font-size: 20px;
}

.projects-card-footer {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.projects-card-footer i {
    font-size: 30px;
}

.projects-card-footer .fa-github {
    font-size: 20px;
}

.projects-card-footer .icon {
    height: 30px
}

.projects-card-footer-link {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 10px;
}

.view-more {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50px;
    grid-column: 1 / 4;
    padding: 0;
    cursor: pointer;
}

.view-more h3 {
    font-size: 20px;
    font-weight: 500;
}


/* Skills Section */
.skills-section {
    padding-top: 150px;
}

.skills-section h2 {
    color: var(--color1);
    padding: 30px 20%;
    font-size: 250%;
}

.logos-slide span {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 15px;
    margin-right: 50px;
    background-color: var(--color5);
    border-radius: 100px;
    width: 120px;
}

.skills {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    grid-template-columns: repeat(3, 1fr);
    padding: 0% 10%;
    margin-top: 10px;
    gap: 10px;
}

.skills img {
    height: 40px;
}

.skills > span {
    background-color: var(--color5);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 10px;
    gap: 4px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    margin-bottom: 5px;
    font-size: 20px;
    font-weight: 600;
}

.skills > span:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    cursor: default;
}

@media (max-width: 900px) {
    .skills > span {
        flex-direction: column;
        gap: 2px;
    }
}


/* Contact Section */
.contact h2 {
    color: var(--color1);
    padding: 30px 20%;
    padding-top: 150px;
}

.contact h3 {
    color: var(--color1);
    padding-bottom: 20px;
}

.contact  {
    padding: 0% 30%;
    margin-bottom: 90px;
}

.contact form {
    background-color: var(--color5);
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact form label {
    color: var(--color1);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact form input, textarea {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid var(--color4);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

.contact .form-group {
    display: flex;
    flex-direction: column;
}

.contact .form-group-button {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact button {
    background-color: var(--color4);
    padding: 7px 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out
}

.contact button:hover {
    background-color: var(--color3);
    color: var(--color5);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero h2 {
        font-size: 60px;
    }
    .projects-grid {
        grid-template-columns: 1fr !important;
    }
    .projects-card:last-of-type {
        grid-column: 1 / -1;
    }
    .contact {
        padding: 0% 10% !important;
    }
    .contact form label {
        font-size: 15px;
    }
    .contact form input {
        font-size: 15px;
        padding: 5px;
    }
}

@media (min-width: 830px) {
    .hero > div {
        font-size: 27px;
    }
    .hero-socials {
        font-size: 50px;
        padding-top: 10px;
    }
    .hero {
        padding: 30px 10%;
    }
    .hero h2 {
        font-size: 70px;
    }
    .projects-card p {
        font-size: 20px;
    }
}

@media (max-width: 1200px) {
    .skills-section img {
        height: 20px;
    }
    .skills-section span {
        font-size: 17px;
    }
    .projects-card p {
        font-size: 15px;
    }
}