/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 1000px) {
    .col-1 {width: 5%;}
    .col-2 {width: 10%;}
    .col-3 {width: 100%;}
    .col-4 {width: 30%;}
    .col-5 {width: 45%;}
    .col-6 {width: 40%;}
    .col-7 {width: 58.33%;}
    .col-8 {width: 66.66%;}
    .col-9 {width: 100%;}
    .col-10 {width: 100%;}
    .col-11 {width: 100%;}
    .col-12 {width: 100%;}
    
    [class*="col-sm-1"] {
        width: max-content;

    }

    .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: 95px;
        width: auto;
    }

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

    .portrait {
        margin-left: 100px;
        height: 50%;
        width: auto;
    }

    .bio {
        margin-top: 100px;
    }

    .biography {
        margin-left: 100px;
        padding-left: 100px;
        padding-right: 100px;
        border-left: 0.5px solid #ccc;
    }

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

    .siliconoverdrive {
        display: inline-block;
        margin: 100px auto 50px;
        width: auto;
        height: 150px;
    }

    .socials {
        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);
        background-color: transparent;
        transition: all 0.3s;
    }


    .socials img {
        height: auto;
        width: 250px;
        max-width: none;
    }

    .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 {
        height: 100px;
        width: auto;
        max-height: none;
        margin-bottom: 0;
    }

    .award {
        padding-top: 100px;
        height: 75%;
        width: auto;
    }

    .blog {
        width: 350px;
        height: auto;
    }

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

    .eventlink {
        margin-top: 80px;
        height: 100px;
    }

    .eventheaderlink {
        margin-bottom: -80px;
        margin-top: 20px;
    }

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

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

    .carousel-item img {
        margin-left: auto;
        margin-right: auto;
        height: 500px;
        width: auto;
        max-width: none;
    }

    .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;
    }

    /* Desktop restore: original layout — fixed-height container, no inner
       scroller (mobile files add their own; see mw300-600). */
    .container-fluid {
        height: calc(100% - 25px);
        overflow-y: visible;
    }


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


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


    /* Footer parity with index on desktop: pageheader (net 130px) + this
       height puts the footer exactly where index's .content places it. */
    .container-fluid-content {
        height: calc(100% - 160px);
    }
}