/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    /* .col-1 {width: 100%;}
    .col-2 {width: 100%;}
    .col-3 {width: 100%;}
    .col-4 {width: 50%;}
    .col-5 {width: 100%;}
    .col-6 {width: 50%;}
    .col-7 {width: 58.33%;}
    .col-8 {width: 66.66%;}
    .col-9 {width: 100%;}
    .col-10 {width: 83.33%;}
    .col-11 {width: 91.66%;}
    .col-12 {width: 100%;} */

    [class*="col-"] {
        margin-bottom: 10px;
        width: 100%;
    }
    
    .about-card {
        height: calc(100% - 40px);
    }

    .home-card {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        margin: 20px;
        /* border: 1px solid #ccc; */
        border-radius: 5px;
        /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
        background-color: transparent;
        transition: all 0.3s;
    }

    .home-card img {
        height: 200px;
        width: auto;
    }

    .heading {
        text-align: center;
        margin-top: -20px;
    }

    .portrait {
        display: block;
        margin: 0 auto;
        width: min(65%, 260px);
        height: auto;
    }

    .bio {
        margin-top: 24px;
    }

    .biography {
        margin-left: 0;
        padding-left: 24px;
        padding-right: 24px;
        border-left: none;
    }

    .biography p {
        font-size: 1.2em;
    }

    .siliconoverdrive {
        display: block;
        margin: 24px auto;
        width: min(100%, 360px);
        height: auto;
    }

    .socials {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        padding: 8px;
        margin: 6px;
        border-radius: 5px;
        background-color: transparent;
        transition: all 0.3s;
    }


    .socials img {
        width: 100%;
        max-width: 150px;
        height: auto;
    }

    .certification {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        padding: 0px;
        margin: 0px;
        /* border: 1px solid #ccc; */
        border-radius: 5px;
        box-shadow: 0 0 10px rgba(255, 255, 255, 0);
        background-color: transparent;
        transition: all 0.3s;
    }


    .certification img {
        height: auto;
        width: 150px;
    }

    .publicspeaking {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
        margin: 10px;
        /* border: 1px solid #ccc; */
        border-radius: 5px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.0);
        background-color: transparent;
        transition: all 0.3s;
    }

    .publicspeaking img {
        height: auto;
        width: 100%;
    }

    .publicspeaking {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
        margin: 10px;
        /* border: 1px solid #ccc; */
        border-radius: 5px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        background-color: transparent;
        transition: all 0.3s;
    }

    .publicspeaking img {
        height: auto;
        width: 100%;
    }

    .techstack {
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 80px;
        margin-bottom: 12px;
    }

    .award {
        padding-top: 16px;
        height: auto;
        width: min(100%, 320px);
    }

    .blog {
        width: min(100%, 350px);
        height: auto;
    }

    .eventheader {
        width: 100%;
        height: auto;
        margin-top: 24px;
        margin-bottom: 12px;
    }

    .eventlink {
        margin-top: 12px;
        height: 64px;
    }

    .eventheaderlink {
        margin-bottom: 0;
        margin-top: 12px;
    }

    .carousel {
        height: 100%;
        width: 100%;
    }

    .carousel-inner {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }

    .carousel-item img {
        display: block;
        width: 100%;
        max-width: 420px;
        height: auto;
        margin-left: auto;
        margin-right: auto;
    }

    .certificate {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        padding: 0px;
        margin: 0px;
        /* border: 1px solid #ccc; */
        border-radius: 5px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.0);
        background-color: transparent;
        transition: all 0.3s;
    }

    .certificate img {
        height: 600px;
        width: auto;
    }

    /* Mobile: .container-fluid becomes its own scroller — the same
       pattern index (.content) and public-speaking
       (.container-fluid-content) already use. The page body is
       viewport-pinned by design and never scrolls itself. */
    .container-fluid {
        height: calc(100% - 50px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }


    .col-1 h5,
    .col-2 p {
        text-align: center;
    }


    .socials-grid > .col-2 {
        width: 33.33%;
    }


    .col-sm-1 {
        width: 33.33%;
        text-align: center;
    }

}