.masterholder {
    display: flex;
    align-self: center;
    flex-flow: column nowrap;
    width: 96%;
    gap: 3rem;
    min-height: 40rem;
    padding: 1rem;
    padding-block: 3rem;
}

.outerholder {
    display: flex;
    flex-flow: row nowrap;
    align-self: center;
    max-width: 90rem;
    width: 100%;
    border-radius: 0.8rem;
    background-color: rgba(11, 25, 31, 0.7);
    box-shadow: 2px 2px 15px 0px #00000078;
    padding-inline: 2rem;
    padding-block: 2rem;
}

#whereareyou {
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    gap: 10%;
}

#whereareyou .innerholder:first-child {
    max-width: 48rem;
}

#whereareyou img {
    min-width: 15rem;
    width: 15rem;
    height: auto;
    /*padding-block: 2rem;*/
}

#aboutme {
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    gap: 10%;
    /*padding-block: 1.5rem;*/
}

#aboutme .innerholder:first-child {
    max-width: 48rem;
}

#aboutme img {
    min-width: 15rem;
    width: 15rem;
    height: auto;
    padding-block: 2rem;
}

#theprojects {
    justify-content: center;
    flex-flow: column nowrap;
    align-items: center;
    /*padding-block: 3rem;*/
    padding-bottom: 4rem;
    row-gap: 2rem;
}

#theprojects .innerholder h2 {
    font-size: 20px;
    color: rgb(213, 213, 213);
}

#theprojects .innerholder:first-child {
    flex-flow: column nowrap;
    max-width: 65rem;
    text-align: center;
}

#theprojects .innerholder:last-child {
    justify-content: center;
    gap: 5%;
    max-width: 70rem;
    width: 100%;
}

#theprojects .innerholder:last-child a:link, #theprojects .innerholder:last-child a:visited {
    width: 30%;
    padding: 1rem;
    flex-flow: column nowrap;
    text-align: center;
    box-shadow: 0px 0px 30px rgba(0, 169, 164, 0.4);
    border-radius: 0.7rem;
    background-color: rgba(18, 18, 18, 0.465);
    background: linear-gradient(305deg, rgba(0, 46, 45, 0.6) 20%, rgba(17, 17, 17, 0.6) 80%);
    text-decoration: none;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4,0,0.2,1);
    transition-duration: 150ms;
}

#theprojects .innerholder:last-child a:hover, #theprojects .innerholder:last-child a:active {
    box-shadow: 0px 0px 16px rgb(1, 255, 213);
    scale: 105%;
}

.plistimg {
    width: 5rem;
    height: auto;
    padding-top: 1rem;
}


.innerholder {
    display: flex;
}

.columntextholder {
    flex-flow: column nowrap;
}

.columntextholder h1 {
    font-size: 35px;
    font-weight: bolder;
}

.columntextholder h2 {
    font-size: 20px;
    color: rgb(213, 213, 213);
}

#biolink {
    animation: none;
    width: 15rem;
    margin-block: 1.5rem;
    padding-block: 1rem;
}

#footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    height: 3rem;
    text-align: center;
    background-color: rgba(11, 25, 31, 0.7);
    border-radius: 1.8rem 1.8rem 0 0;
}

/* Small laptop screen and large tablet */
@media (max-width: 1250px) {

    .columntextholder h1 {
        font-size: 28px;
        font-weight: bolder;
    }

    .columntextholder h2 {
        font-size: 18px;
        color: rgb(213, 213, 213);
    }

    #theprojects .innerholder h2 {
        font-size: 18px;
    }

    #whereareyou img, #aboutme img {
        width: 12rem;
        min-width: 12rem;
    }

}

/* Change to column based layout */
@media (max-width: 935px) {

    #whereareyou img, #aboutme img {
        padding-block: 2rem;
        width: 8rem;
        min-width: 8rem;
    }

    #whereareyou img {padding-bottom: 3rem;}

    #whereareyou, #aboutme {
        flex-flow: column-reverse nowrap;
    }

    #theprojects .innerholder:first-child {
        text-align: left;
    }

    #theprojects .innerholder:last-child {
        flex-flow: column nowrap;
        justify-content: center;
        gap: 1rem;
    }

    #theprojects .innerholder:last-child a:link, #theprojects .innerholder:last-child a:visited {
        width: 100%;
    }

    .plistimg {
        width: 3rem;
    }

}


@media (max-width: 570px) {

    #theprojects .innerholder:first-child {
        text-align: center;
    }

    .columntextholder {
        text-align: center;
        align-items: center;
    }

    #theprojects .innerholder:last-child a:link, #theprojects .innerholder:last-child a:visited {
        text-align: left;
    }

    #theprojects .innerholder:last-child a {
        display: flex;
    }

    .plistimg {
        display: flex;
        align-self: center;
    }

}


/* Shrink Footer */
@media (max-width: 665px) {
    #footer {
        flex-flow: column nowrap;
        height: auto;
        gap: unset;
        padding-block: 1rem;
    }

    #footer p {
        margin: 5px;
    }

    #footer div {
        display: none;
    }
}