html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Marcellus", serif;
    font-weight: 400;
    font-style: normal;
    background-color: rgb(14, 13, 13);
    margin: 0;
    width: 100%;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page {
    width: 100%;
}

.Main-body {
    margin-left: auto;
    margin-right: auto;
    width: 76%;
    min-height: auto;
    background-color: rgb(255, 255, 255);
    border: solid 0.5rem rgb(100, 83, 83);
    padding-bottom: 7rem;
}

.Header-Line {
    display: flex;
    flex-direction: column;
    border: solid 0.055rem rgb(220, 165, 0);
}

.Header-Line p {
    font-family: "Marcellus", serif;
    font-weight: 800;
    font-size: 1.2rem;
    display: flex;
    color: white;
    justify-content: center;
    background-color: rgb(220, 165, 0);
    margin: 0;
    padding: 0.8rem;
}

.background-header {
    background-color: rgb(0, 0, 0);
}

.Header-Line nav {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 6rem;
    background-color: rgb(220, 165, 0);
    color: bisque;
    padding: 1rem;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-right: 0.5rem;
    flex-wrap: wrap;
}

.nav-box a {
    color: white;
    text-decoration: none;
}

.nav-box a:hover {
    background-color: white;
    color: black;
}

.empty-divs {
    background-color: rgb(220, 165, 0);
    height: 1rem;
}

.IH-image {
    width: 4rem;
    height: 4rem;
    border-radius: 100%;
    margin-left: 1rem;
}

.side-nav {
    position: fixed;
    top: 11.5rem;
    display: grid;
    gap: 0.8rem;
    min-width: 8rem;
    padding: 0.6rem;
    background-color: rgb(31, 42, 53);
    border: solid 0.1rem rgb(245, 198, 141);
    border-radius: 0.6rem;
    z-index: 1000;
}

.side-nav-left {
    left: 0.3rem;
}

.side-nav-right {
    right: 0.3rem;
}

.side-nav a {
    display: block;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    text-decoration: none;
    color: white;
    background-color: rgb(0, 0, 0);
    padding: 0.5rem 0.3rem;
    border-radius: 0.4rem;
    transition: background-color 0.5s;
}

.side-nav a:hover {
    background-color: rgb(0, 24, 55);
}

.login-header-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 2rem;
    gap: 1.5rem;
}

.header-login-page {
    text-align: center;
    padding: 0 1rem;
}

.login-button-area {
    display: flex;
    justify-content: center;
    padding: 1rem 3rem;
}

.login-button {
    background-color: rgb(6, 41, 82);
    color: white;
    padding: 0.6rem 1.4rem;
    text-decoration: none;
    border-radius: 0.375rem;
    font-weight: 600;
}

.login-button:hover {
    background-color: rgb(0, 24, 55);
}

.image-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.image-box {
    text-align: center;
    margin-top: 2rem;
}

.starter-image {
    width: 14rem;
    border: solid 0.4rem rgb(100, 83, 83);
    object-fit: cover;
}

.pleasent-mes {
    font-style: italic;
    text-align: center;
    margin-top: 1rem;
    padding: 0 1rem;
}

.section1-about {
    margin-top: 6rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 4rem;
    padding: 4rem 6rem;
    flex-wrap: wrap;
}

.about-sign-box {
    width: fit-content;
    height: auto;
    background-color: rgb(220, 165, 0);
    border-radius: 80%;
    border: solid 0.1rem;
    padding: 0.5rem 1rem;
}

.about-image-box figure {
    margin: 0;
    text-align: center;
    border: solid rgb(65, 74, 93) 0.2rem;
}

.about-image {
    width: 16rem;
    height: 20rem;
    object-fit: cover;
}

.about-image-box figcaption {
    margin-top: 0.4rem;
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

.about-text-box {
    max-width: 32rem;
    border: solid 0.35rem;
    padding: 1rem;
}

.about-text-box h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: 0.04rem;
}

.about-line {
    width: 13rem;
    height: 0.1rem;
    background-color: gray;
    margin: 1.5rem 0 2rem 0;
}

.about-intro {
    font-weight: 700;
    margin-bottom: 1.8rem;
}

.about-description {
    line-height: 1.7;
}

.experience-section {
    padding: 4rem 3rem 6rem 3rem;
    margin-top: 16rem;
}

.experience-section h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.experience-line {
    width: 14rem;
    height: 0.1rem;
    background-color: gray;
    margin: 1.5rem 0 4rem 0;
}

.experience-sign-box {
    width: 14.5rem;
    height: auto;
    padding: 0 0.01rem;
    padding-top: 0.6rem;
    background-color: rgb(220, 165, 0);
    border-radius: 80%;
    border: solid 0.1rem;
    text-align: center;
}

.experience-steps {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.experience-card {
    width: 16rem;
    background-color: white;
    padding: 1.5rem;
    box-shadow: 0 0.2rem 0.6rem rgba(0, 0, 0, 0.08);
    border-left: 0.25rem solid rgb(6, 41, 82);
    border-radius: 0 0.5rem 0.5rem 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.experience-card:hover {
    transform: translateY(-0.3rem);
    box-shadow: 0 0.6rem 1.2rem rgba(0, 0, 0, 0.12);
}

.experience-card-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.experience-card-icon {
    flex-shrink: 0;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background-color: rgb(220, 165, 0);
    color: rgb(6, 41, 82);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.experience-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.3rem;
    color: rgb(6, 41, 82);
}

.experience-card-meta {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.4;
}

.experience-card-list {
    margin: 0;
    padding-left: 1.1rem;
    line-height: 1.55;
}

.experience-card-list li {
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    color: #333;
}

.experience-card-list li:last-child {
    margin-bottom: 0;
}

.experience-row-label {
    font-size: 1rem;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    margin: 4rem 0 1.5rem 0;
}

.voluntary-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgb(6, 41, 82);
    background-color: rgba(220, 165, 0, 0.25);
    padding: 0.15rem 0.6rem;
    border-radius: 1rem;
    margin-top: 0.4rem;
}

.step1 {
    margin-top: 0rem;
}

.step2 {
    margin-top: 4rem;
}

.step3 {
    margin-top: 8rem;
}

.vstep1 {
    margin-top: 0rem;
}

.vstep2 {
    margin-top: 4rem;
}


.Education-article {
    margin-top: 6rem;
    padding: 0 2rem;
}

.header-education {
    text-align: center;
}

.list-tags {
    margin-top: 2rem;
    margin-left: 0;
    color: rgb(0, 115, 255);
    text-align: center;
    list-style: none;
}

.list-tags a {
    color: rgb(0, 115, 255);
    text-decoration: none;
}

.list-tags:hover {
    text-decoration: underline;
}

.blog-box {
    margin-top: 6rem;
    margin-bottom: 6rem;
    text-align: center;
    padding: 0 1rem;
}

.blog-box a {
    font-size: 1.5rem;
    font-weight: bold;
    color: red;
}

.image-box-last {
    width: fit-content;
    max-width: 100%;
    border: solid 0.4rem rgb(100, 83, 83);
    padding: 0.5rem;
    background-color: rgb(255, 253, 253);
}

.image-pair {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.last-image {
    width: 30rem;
    height: 40rem;
    object-fit: cover;
    display: block;
}

.image-box-last figcaption {
    text-align: center;
    color: rgb(220, 165, 0);
    font-style: italic;
    margin-top: 0.6rem;
}

.main-footer {
    display: flex;
    width: 100%;
    background-color: rgb(255, 255, 255);
    flex-wrap: wrap;
}

.footer-left,
.footer-right {
    flex: 1 1 18.75rem;
    padding: 4rem 2rem;
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-left {
    background: rgb(220, 165, 0);
    border-top-left-radius: 60%;
}

.footer-right {
    background: rgb(220, 165, 0);
    border-top-left-radius: 60%;
}

.footer-column {
    margin-left: 1rem;
}

.footer-column h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}



.portfolio-links {
    width: min(96%, 1500px);
    margin: 4rem auto;
    box-sizing: border-box;
    text-align: center;
    overflow: hidden;
}

/* Heading */
.portfolio-message {
    width: min(90%, 750px);
    margin: 0 auto 3rem;
    padding: 1.2rem;

    color: #000;
    background-color: rgb(220, 165, 0);

    border: 0.2rem solid rgb(220, 165, 0);
    border-radius: 0.8rem;

    font-size: clamp(1.3rem, 3vw, 2rem);
    line-height: 1.5;
}

/* Each staircase and its button */
.staircase-link {
    position: relative;
    width: min(90%, 43.75rem);
    margin-inline: auto;

}

/* Move the second staircase closer to the first */
.staircase-link--blogs {
    margin-top: 4rem;
}

/* Staircase pictures */
.staircase-image {
    display: block;
    width: 100%;
    height: auto;

    user-select: none;
    pointer-events: none;
    object-fit: contain;
}

/* Both buttons */
.staircase-button {
    position: absolute;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: clamp(5.5rem, 11vw, 10rem);
    padding:
        clamp(0.5rem, 1vw, 0.9rem) clamp(0.8rem, 2vw, 1.5rem);

    color: rgb(220, 165, 0);
    background-color: #000;

    border: 0.2rem solid rgb(220, 165, 0);
    border-radius: 0.7rem;

    font-size: clamp(0.75rem, 1.5vw, 1.2rem);
    font-weight: bold;
    line-height: 1;
    text-decoration: none;

    box-shadow:
        0 0 0.4rem rgba(255, 215, 0, 0.75),
        0 0 1rem rgba(255, 215, 0, 0.45);
}

/* Simple hover: no movement, animation or flickering */
.staircase-button:hover,
.staircase-button:focus-visible {
    color: #000;
    background-color: #ffd700;
    border-color: #000;
}

.staircase-button:focus-visible {
    outline: 0.2rem solid #000;
    outline-offset: 0.25rem;
}

/*
   My CV button:
   placed at the lower-right end of the flipped staircase
*/
.staircase-link--cv .staircase-button {
    left: 82%;
    top: 94%;
    transform: translate(-50%, -50%);
}

/*
   Blogs button:
   placed at the upper-right end of the original staircase
*/
.staircase-link--blogs .staircase-button {
    left: 82%;
    top: 6%;
    transform: translate(-50%, -50%);
}

/* =================================
   LIGHTBOX
   ================================= */

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;

    background-color: rgba(0, 0, 0, 0.85);

    justify-content: center;
    align-items: center;

    cursor: zoom-out;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;

    object-fit: contain;
    border-radius: 0.4rem;

    box-shadow: 0 0 3rem rgba(0, 0, 0, 0.8);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;

    background: none;
    border: none;

    color: #fff;
    font-size: 2.5rem;

    cursor: pointer;
    line-height: 1;
}

.certificate-image {
    cursor: zoom-in;
}


/* =================================
   CERTIFICATES SECTION
   ================================= */

.certificates-section {
    padding: 4rem 3rem 6rem 3rem;
    margin-top: 6rem;
}

.certificates-section h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.certificates-sign-box {
    width: 14.5rem;
    height: auto;
    padding: 0.6rem 0.01rem 0;
    background-color: rgb(220, 165, 0);
    border-radius: 80%;
    border: solid 0.1rem #000;
    text-align: center;
}

.certificates-line {
    width: 14rem;
    height: 0.1rem;
    background-color: gray;
    margin: 1.5rem 0 4rem 0;
}

/* Match extracurricular card layout */
.certificates-grid {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
}

.certificate-box {
    flex: 1 1 0;
    background-color: white;
    padding: 1.5rem;
    border: solid 0.1rem rgb(6, 41, 82);
    color: #000;
    box-sizing: border-box;
}

.certificate-box+.certificate-box {
    border-left: none;
}

.certificate-figure {
    margin: 0;
}

.certificate-image {
    display: block;
    width: 60px;
    height: 60px;
    object-fit: cover;
    background-color: #f5f5f5;
    border: 0.1rem solid rgb(6, 41, 82);
    border-radius: 0.3rem;
    cursor: zoom-in;
    transition: transform 0.2s ease;
    margin-bottom: 1rem;
}

.certificate-image:hover {
    transform: scale(1.1);
}

.certificate-figure h3 {
    font-size: 1.2rem;
    margin: 0 0 0.7rem;
    line-height: 1.4;
}

.certificate-figure p {
    margin: 0;
    line-height: 1.6;
}


/* =================================
   EXTRACURRICULAR SECTION
   ================================= */

.extracurricular-section {
    padding: 4rem 3rem 6rem 3rem;
    margin-top: 6rem;
}

.extracurricular-section h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.extracurricular-sign-box {
    width: 21rem;
    height: auto;
    padding: 0 0.01rem;
    padding-top: 0.6rem;
    background-color: rgb(220, 165, 0);
    border-radius: 80%;
    border: solid 0.1rem;
    text-align: center;
}

.extracurricular-line {
    width: 21rem;
    height: 0.1rem;
    background-color: gray;
    margin: 1.5rem 0 4rem 0;
}

/* Row of cards: no gap, one line — the shared border is the only divider */
.extracurricular-cards {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
}

.extracurricular-card {
    flex: 1 1 0;
    background-color: white;
    padding: 1.5rem;
    border: solid 0.1rem rgb(6, 41, 82);
}

.extracurricular-card+.extracurricular-card {
    border-left: none;
}

.extracurricular-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.extracurricular-card h3 span {
    font-weight: 400;
    font-size: 1rem;
}

.extracurricular-card p {
    margin: 0;
    line-height: 1.6;
}




/* MEDIA QUERIES */

@media (max-width: 75rem) {

    .Main-body {
        width: 84%;
    }

    .side-nav {
        width: 6.5rem;
        padding: 0.6rem;
    }

    .Header-Line nav {
        gap: 1.2rem;
    }

    /* Staircase section */
    .portfolio-links {
        width: 96%;
    }

    .staircase-link {
        width: min(90%, 43.75rem);
        max-width: 100%;
        margin-inline: auto;
    }

    .Header-Line nav {
        gap: 1.2rem;
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .nav-box {
        flex-wrap: nowrap;
    }

    .nav-box a {
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .certificates-grid {
        flex-wrap: wrap;
    }

    .certificate-box {
        flex: 1 1 calc(33.33% - 0.1rem);
        border-left: solid 0.1rem rgb(6, 41, 82);
        border-top: solid 0.1rem rgb(6, 41, 82);
    }

    .certificate-box+.certificate-box {
        border-left: solid 0.1rem rgb(6, 41, 82);
    }


}

@media (max-width: 62rem) {

    .Main-body {
        width: 90%;
        border-width: 0.35rem;
    }

    .side-nav {
        display: none;
    }

    .section1-about {
        flex-direction: column;
        align-items: center;
        padding: 3rem 2rem;
        gap: 2rem;
    }

    .about-text-box {
        max-width: 100%;
    }

    .experience-section {
        padding: 3rem 2rem;
    }

    .step1,
    .step2,
    .step3,
    .step4 {
        margin-top: 0;
    }

    .experience-card {
        width: 100%;
        max-width: 28rem;
    }

    .image-box-last {
        width: 100%;
        max-width: 30rem;
    }

    /* Staircase section */
    .portfolio-links {
        width: 100%;
        padding-inline: 1rem;
    }

    .portfolio-message {
        width: min(92%, 43.75rem);
        margin-inline: auto;
    }

    .staircase-link {
        width: min(95%, 43.75rem);
        max-width: 100%;
        margin-inline: auto;
    }

    .staircase-image {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }

    .staircase-button {
        min-width: 6.5rem;
        padding: 0.65rem 1rem;
        font-size: 0.95rem;
    }

    .staircase-link--blogs {
        margin-top: 3.5rem;
    }

    .certificates-section {
        padding: 3rem 2rem;
    }

    .certificates-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .certificate-box {
        width: 100%;
    }

    .certificate-image {
        height: 22rem;
    }

    .extracurricular-section {
        padding: 3rem 2rem;
    }

    /* Stack into a column; the divider moves from the left edge to the top edge */
    .extracurricular-cards {
        flex-direction: column;
    }

    .extracurricular-card {
        flex: none;
        width: 100%;
    }

    .extracurricular-card+.extracurricular-card {
        border-left: solid 0.1rem rgb(6, 41, 82);
        border-top: none;
    }

    .certificates-section {
        padding: 3rem 2rem;
    }

    .certificates-grid {
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .certificate-box {
        flex: none;
        width: 100%;
        border-left: solid 0.1rem rgb(6, 41, 82);
        border-top: none;
    }

    .certificate-box+.certificate-box {
        border-left: solid 0.1rem rgb(6, 41, 82);
        border-top: none;
    }



}

@media (max-width: 48rem) {

    .Header-Line nav {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .nav-box {
        flex-direction: column;
        gap: 1rem;
    }

    .IH-image {
        margin-left: 0;
    }

    .Main-body {
        width: 95%;
        margin-top: 2rem;
    }

    .about-text-box h2 {
        font-size: 2rem;
    }

    .experience-section h2 {
        font-size: 1.8rem;
    }

    .starter-image {
        width: 100%;
        max-width: 18rem;
    }

    .main-footer {
        flex-direction: column;
    }

    .footer-left,
    .footer-right {
        border-top-left-radius: 0;
    }

    /* Staircase section */
    .portfolio-links {
        width: 100%;
        margin: 2rem auto;
        padding-inline: 0.5rem;
        overflow: hidden;
    }

    .portfolio-message {
        width: 92%;
        margin: 0 auto 2rem;
        padding: 1rem;

        font-size: 1.25rem;
        line-height: 1.4;
    }

    .staircase-link {
        position: relative;
        width: 100%;
        max-width: 100%;
        margin-inline: auto;
    }

    .staircase-link--blogs {
        margin-top: 3rem;
    }

    .staircase-image {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }

    .staircase-button {
        min-width: 5.5rem;
        max-width: calc(100% - 1rem);
        padding: 0.55rem 0.85rem;

        font-size: 0.85rem;
        border-width: 0.12rem;

        box-shadow:
            0 0 0.25rem rgba(255, 215, 0, 0.7),
            0 0 0.6rem rgba(255, 215, 0, 0.45);
    }

    /* My CV button */
    .staircase-link--cv .staircase-button {
        top: auto;
        left: auto;
        right: 0.75rem;
        bottom: 0.25rem;
        transform: none;
    }

    /* Blogs button */
    .staircase-link--blogs .staircase-button {
        top: 0.25rem;
        left: auto;
        right: 0.75rem;
        bottom: auto;
        transform: none;
    }

    .certificates-section {
        padding: 3rem 1.5rem;
    }

    .certificates-sign-box {
        margin-inline: auto;
    }

    .certificates-line {
        margin-right: auto;
        margin-left: auto;
    }

    .certificates-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .certificate-box {
        padding: 1.5rem;
    }

    .certificate-image {
        height: 20rem;
    }

    .extracurricular-section h2 {
        font-size: 1.8rem;
    }

    .certificates-section {
        padding: 3rem 1.5rem;
    }

    .certificates-sign-box {
        margin-inline: auto;
    }

    .certificates-line {
        margin-inline: auto;
    }

    .certificate-box {
        padding: 1rem;
    }

    .certificate-image {
        width: 50px;
        height: 50px;
    }


}

@media (max-width: 30rem) {

    .Header-Line p {
        font-size: 1rem;
    }

    .about-text-box {
        padding: 0.8rem;
    }

    .about-text-box h2 {
        font-size: 1.6rem;
    }

    .experience-card {
        padding: 1rem;
    }

    .login-button {
        width: 100%;
        text-align: center;
    }

    .footer-left,
    .footer-right {
        padding: 2rem 1rem;
    }

    /* Staircase section */
    .portfolio-links {
        padding-inline: 0.25rem;
    }

    .portfolio-message {
        width: 94%;
        padding: 0.8rem;
        font-size: 1rem;
    }

    .staircase-link--blogs {
        margin-top: 2.5rem;
    }

    .staircase-button {
        min-width: 4.75rem;
        padding: 0.45rem 0.65rem;

        font-size: 0.75rem;
        border-width: 0.1rem;
    }

    .staircase-link--cv .staircase-button {
        right: 0.25rem;
        bottom: 0.1rem;
    }

    .staircase-link--blogs .staircase-button {
        right: 0.25rem;
        top: 0.1rem;
    }

    .certificates-section {
        padding: 2.5rem 1rem;
    }

    .certificates-section h2 {
        font-size: 1.6rem;
    }

    .certificates-sign-box {
        width: 12rem;
        padding-top: 0.5rem;
    }

    .certificates-line {
        width: 11.5rem;
        margin-bottom: 2.5rem;
    }

    .certificates-grid {
        gap: 1rem;
    }

    .certificate-box {
        padding: 1rem;
    }

    .certificate-image {
        height: 15rem;
    }

    .certificate-figure h3 {
        font-size: 1.05rem;
    }

    .certificate-figure p {
        font-size: 0.9rem;
    }

    .extracurricular-card {
        padding: 1rem;
    }

    .certificates-section {
        padding: 2.5rem 1rem;
    }

    .certificates-sign-box {
        width: 12rem;
        padding-top: 0.5rem;
    }

    .certificates-line {
        width: 11.5rem;
        margin-bottom: 2.5rem;
    }

    .certificate-box {
        padding: 0.8rem;
    }

    .certificate-image {
        width: 40px;
        height: 40px;
    }

    .certificate-figure h3 {
        font-size: 1.05rem;
    }

    .certificate-figure p {
        font-size: 0.9rem;
    }

}