/* General Settings */
main {
    margin-top: 0;
    font-family: 'Roboto', sans-serif;
    color: var(--text-color-light);
    --smooth-color: #ffffff;
    --accent-color: #F3B304;
    --accent-active: #59221D;
}

/* General Styles */
a {
    color: var(--accent-color);
}

a:hover {
    color: var(--accent-active);
}

/* Hero Section */
.hero {
    font-family: 'Orbitron', sans-serif;

    display: flex;
    flex-direction: row-reverse;
    justify-content: space-evenly;
    align-items: center;
    padding-top: var(--header-size);
    padding-right: 2%;
    padding-left: 2%;
    min-height: 100vh;
    text-align: center;
    background-color: var(--smooth-color);
    overflow: hidden;
}

.hero-title {
    text-align: left;
    margin: 10px 10px;
    line-height: 1;
    color: var(--text-color-light);
    letter-spacing: -.04em;
}

.hero-title h1 {
    font-size: 6em;
    font-weight: 500;
}

.hero-title p {
    font-size: 2.1rem;
    max-width : 45rem;
}

.hero img {
    max-width: 80%;
    max-height: 80vh;
    margin-right: 0;
    border-radius: 4em;
    object-fit: contain;
    overflow: hidden;
    animation: slideIn-X 0.8s ease-out;
}


@media (max-width: 1200px) {
    .hero {
        flex-direction: column-reverse;
        height: auto;
    }

    .hero img {
        max-width: 100%;
        border-radius: 0px;
        padding-left: 0;
    }

    .hero h1 {
        margin: 20px 0;
        max-width: 80%;
    }
}

@media (max-width: 40em) {
    .hero-title h1 {
        font-size: 3.5em;
        font-weight: 500;
    }

    .hero-title p {
        font-size: 2.1rem;
        max-width : 45rem;
    }
}
@media (max-width: 35em) {
    .hero-title h1 {
        font-size: 3em;
    }

    .hero-title p {
        font-size: 2.1rem;
    }
}
@media (max-width: 25em) {
    .hero-title h1 {
        font-size: 2.5em;
    }

    .hero-title p {
        font-size: 1.2rem;
    }
}



.certifications-container{
    background : url("../../img/about/noise.594efbe591a1.png") repeat var(--accent-color);
    border-radius : 3em 3em 0 0;

    padding : 5em 40px;
    display: flex;
    gap : 40px;

    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(40rem, 100fr));
    grid-auto-flow: dense;
}
@media (max-width: 968px) {
    .certifications-container{
        padding : 5em 20px;
        grid-template-columns: 100%;
        gap : 20px;
    }
}

a.certification-card-link {
    text-decoration : none;
}

.certification-card {
    --pad-width : 20px;
    --bor-width : 10px ;

    display: flex;
    flex-direction: column;
    align-items: center;
    padding: calc(var(--pad-width) + var(--bor-width));
    border : none;
    border-radius: 5px;
    background-color: #fff;
}
.certification-card:hover {
    border : var(--bor-width) solid var(--primary-color);
    padding: var(--pad-width);
    transition: padding 0.2s ease-out, border 0.2s ease-out;
}

.certification-image {
    max-width: 150px;
    margin-bottom: 20px;
}
.certification-title {
    font-size: 24px;
    font-weight: 500;
    color: #333;
    margin-bottom: 10px;
}
.certification-description {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    text-align: justify;
}
.certification-date {
    margin-top: 10px;
    font-size: 14px;
    color: #777;
}


