/* Small devices (landscape phones, 576px and up) */
@media (min-width: 300px) {
    body {
        background-color: #e6e6e6;
        font-family: Sans-Serif;
        margin: 0;
        padding: 0;
    }

    .bio-content {
        font-size: 18px;
        text-align: center;
    }

    .content-bottom {
        font-size: 20px;
        margin-top: 160px;
        margin-bottom: 60px;
    }

    .experience-content h4,
    p {
        margin-left: 10%;
        margin-right: 10%;
    }

    .education-content h4,
    p {
        margin-left: 10%;
        margin-right: 10%;
    }

    h3 {
        font-size: 30px;
        text-align: center;
    }

    h4 {
        margin: 0;
    }

    hr {
        background-color: #4d4d4d;
        border-width: 0;
        color: #4d4d4ded;
        height: 2px;
        margin-top: 60px;
        width: 90%;
    }

    #logo {
        left: 0;
    }

    #logo img {
        width: auto;
        height: 70px;
    }

    .main-content-container {
        display: grid;
        margin: auto;
        width: 90%;
    }

    .main-content-container * {
        width: fit-content;
    }

    .main-content-container h2 {
        font-size: 2.1em;
        margin-bottom: 0;
        padding: 0;
    }

    .main-content-container p {
        font-size: 18px;
        padding: 0;
        width: 250px;
    }

    .main-content-container img {
        width: 250px;
    }

    .navbar {
        align-items: center;
        background-color: #111111;
        display: flex;
        font-size: 25px;
        position: fixed;
        width: 100%;
        height: 70px;
    }

    .navbar a {
        color: #F6ED9B;
        background: linear-gradient(to top right, #936329, #F6ED9B);
        -webkit-text-fill-color: transparent;
        -webkit-background-clip: text;
        height: 100%;
        text-decoration: none;
    }

    .nav-list {
        list-style-type: none;
        display: flex;
        right: 0;
    }

    .nav-list-item {
        display: inline-block;
        padding: 62.5px 50px;
    }

    .navbar .nav-list-link:hover {
        background-color: #333333;
    }

    .toggle-button {
        position: absolute;
        top: 1rem;
        right: 1rem;
        display: none;
        flex-direction: column;
        justify-content: space-between;
        width: 40px;
        height: 40px;
    }

    .toggle-button .bar {
        height: 6px;
        width: 100%;
        background-color: #F6ED9B;
        border-radius: 10px;
    }

    .text-content {
        display: flex;
        flex-direction: column;
        margin: auto;
        text-align: center;
    }

    .text-content h2 {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .text-content p,
    h2 {
        margin: auto;
    }

    #top-content {
        padding-top: 80px;
    }

    ul {
        margin-block-start: 0em;
        margin-block-end: 0em;
    }

    @media (max-width: 1500px) {
        .navbar {
            flex-direction: column;
            align-items: flex-start;
        }

        .navbar a {
            color: #F6ED9B;
            background: linear-gradient(to top right, #936329, #F6ED9B);
            -webkit-text-fill-color: transparent;
            -webkit-background-clip: text;
        }

        .nav-list {
            background: #111111;
            display: none;
            flex-direction: column;
            font-size: 18px;
            padding: 0;
            text-align: center;
            width: 100%;
        }

        .nav-list.active {
            display: flex;
        }

        .nav-list-item {
            padding: .5rem 1rem;
        }

        .nav-list-link {
            border-top-color: #F6ED9B;
            border-top-style: solid;
            border-width: 1px;
        }

        #bottom-link {
            border-bottom-color: #F6ED9B;
            border-bottom-style: solid;
            border-bottom-width: 1px;
        }

        .toggle-button {
            display: flex;
        }
    }

    * {
        box-sizing: border-box
    }

    /* Slideshow container */
    .slideshow-container {
        width: 90%;
        position: relative;
        margin: auto;
        margin-bottom: 100px;
        padding-top: 100px;
        z-index: -1;
    }

    .slideshow-container img {
        height: 400px;
        position: relative;
        margin: auto;
        margin-bottom: 0px;
        padding-top: 50px;
        z-index: -1;
    }

    /* Hide the images by default */
    .mySlides {
        display: none;
    }

    /* Caption text */
    .text {
        color: #f2f2f2;
        font-size: 30px;
        padding: 8px 12px;
        padding-bottom: 70px;
        position: absolute;
        bottom: 8px;
        width: 100%;
        text-align: center;
        text-shadow: 6px 5px #000000;
    }

    /* Fading animation */
    .fade {
        animation-name: fade;
        animation-duration: 2.0s;
    }

    @keyframes fade {
        from {
            opacity: .6
        }

        to {
            opacity: 1
        }
    }

    div .gallery {
        display: inline-block;
        margin: 5px;
        border: 1px solid #ccc;
        width: 350px;
    }

    div .gallery img {
        height: 300px;
        width: 100%
    }

    div .desc {
        padding: 15px;
        text-align: center;
    }

    .gallery-container {
        padding-top: 100px;
        text-align: center;
    }

    .gallery-container-personal {
        text-align: center;
    }

    .gallery-container-personal img {
        max-width: 80%;
        height: 400px;
    }

    .nav-spacer {
        padding-top: 60px;
    }

    .form-container {
        font-size: 18px;
        max-width: 400px;
        background: #FAFAFA;
        padding: 30px;
        margin: 50px auto;
        box-shadow: 1px 1px 25px rgba(0, 0, 0, 0.35);
        border-radius: 10px;
        border: 6px solid #305A72;
    }

    .form-heading {
        font-weight: bold;
        font-style: italic;
        border-bottom: 2px solid #ddd;
        margin-bottom: 20px;
        font-size: 15px;
        padding-bottom: 3px;
    }

    input,
    select {
        height: 30px;
    }

    input,
    select,
    textarea {
        width: 100%;
        margin-bottom: 20px;
        font-size: 20px;
    }
}


/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    body {
        background-color: #e6e6e6;
        font-family: Sans-Serif;
        margin: 0;
        padding: 0;
    }

    .content-bottom {
        font-size: 20px;
        margin-top: 160px;
        margin-bottom: 60px;
    }

    .experience-content h4,
    p {
        margin-left: 10%;
        margin-right: 10%;
    }

    .education-content h4,
    p {
        margin-left: 10%;
        margin-right: 10%;
    }

    h3 {
        font-size: 30px;
        text-align: center;
    }

    h4 {
        margin: 0;
    }

    hr {
        background-color: #4d4d4d;
        border-width: 0;
        color: #4d4d4ded;
        height: 2px;
        margin-top: 100px;
        width: 90%;
    }

    #logo {
        left: 0;
    }

    #logo img {
        width: 500px;
        height: auto;
    }

    .main-content-container {
        display: grid;
        margin: auto;
        width: 90%;
    }

    .main-content-container * {
        width: fit-content;
    }

    .main-content-container h2 {
        font-size: 2.5em;
        margin-bottom: 0;
        padding: 0;
    }

    .main-content-container p {
        font-size: 20px;
        padding: 0;
        width: 580px;
    }

    .main-content-container img {
        width: 470px;
    }

    .navbar {
        align-items: center;
        background-color: #111111;
        display: flex;
        font-size: 25px;
        position: fixed;
        width: 100%;
        height: 142px;
    }

    .navbar a {
        color: #F6ED9B;
        background: linear-gradient(to top right, #936329, #F6ED9B);
        -webkit-text-fill-color: transparent;
        -webkit-background-clip: text;
        height: 100%;
        text-decoration: none;
    }

    .nav-list {
        list-style-type: none;
        display: flex;
        right: 0;
    }

    .nav-list-item {
        display: inline-block;
        padding: 62.5px 50px;
    }

    .navbar .nav-list-link:hover {
        background-color: #333333;
    }

    .toggle-button {
        position: absolute;
        top: 2.2rem;
        right: 2rem;
        display: none;
        flex-direction: column;
        justify-content: space-between;
        width: 60px;
        height: 60px;
    }

    .toggle-button .bar {
        height: 8px;
        width: 100%;
        background-color: #F6ED9B;
        border-radius: 10px;
    }

    .text-content {
        display: flex;
        flex-direction: column;
        margin: auto;
        text-align: center;
    }

    .text-content h2 {
        margin-bottom: 20px;
    }

    .text-content p,
    h2 {
        margin: auto;
    }

    #top-content {
        padding-top: 100px;
    }

    ul {
        margin-block-start: 0em;
        margin-block-end: 0em;
    }

    @media (max-width: 1500px) {
        .navbar {
            flex-direction: column;
            align-items: flex-start;
        }

        .navbar a {
            color: #F6ED9B;
            background: linear-gradient(to top right, #936329, #F6ED9B);
            -webkit-text-fill-color: transparent;
            -webkit-background-clip: text;
        }

        .nav-list {
            background: #111111;
            display: none;
            flex-direction: column;
            padding: 0;
            text-align: center;
            width: 100%;
        }

        .nav-list.active {
            display: flex;
        }

        .nav-list-item {
            padding: .5rem 1rem;
        }

        .nav-list-link {
            border-top-color: #F6ED9B;
            border-top-style: solid;
            border-width: 1px;
        }

        #bottom-link {
            border-bottom-color: #F6ED9B;
            border-bottom-style: solid;
            border-bottom-width: 1px;
        }

        .toggle-button {
            display: flex;
        }
    }

    @media (max-width: 600px) {
        #logo {
            visibility: hidden;
        }
    }

    * {
        box-sizing: border-box
    }

    /* Slideshow container */
    .slideshow-container {
        width: 90%;
        position: relative;
        margin: auto;
        margin-bottom: 100px;
        padding-top: 170px;
        z-index: -1;
    }

    .slideshow-container img {
        height: 600px;
        position: relative;
        margin: auto;
        margin-bottom: 20px;
        padding-top: 100px;
        z-index: -1;
    }

    /* Hide the images by default */
    .mySlides {
        display: none;
    }

    /* Caption text */
    .text {
        color: #f2f2f2;
        font-size: 50px;
        padding: 8px 12px;
        padding-bottom: 200px;
        position: absolute;
        bottom: 8px;
        width: 100%;
        text-align: center;
        text-shadow: 6px 5px #000000;
    }

    /* Fading animation */
    .fade {
        animation-name: fade;
        animation-duration: 2.0s;
    }

    @keyframes fade {
        from {
            opacity: .6
        }

        to {
            opacity: 1
        }
    }

    div .gallery {
        display: inline-block;
        margin: 5px;
        border: 1px solid #ccc;
        width: 500px;
    }

    div .gallery img {
        height: 500px;
        width: 100%
    }

    div .desc {
        padding: 15px;
        text-align: center;
    }

    .gallery-container {
        padding-top: 200px;
        text-align: center;
    }

    .gallery-container-personal {
        text-align: center;
    }

    .gallery-container-personal img {
        max-width: 80%;
        height: 500px;
    }

    .nav-spacer {
        padding-top: 200px;
    }

    .form-container {
        font-size: 22px;
        max-width: 600px;
        background: #FAFAFA;
        padding: 30px;
        margin: 50px auto;
        box-shadow: 1px 1px 25px rgba(0, 0, 0, 0.35);
        border-radius: 10px;
        border: 6px solid #305A72;
    }

    .form-heading {
        font-weight: bold;
        font-style: italic;
        border-bottom: 2px solid #ddd;
        margin-bottom: 20px;
        font-size: 20px;
        padding-bottom: 3px;
    }

    input,
    select {
        height: 30px;
    }

    input,
    select,
    textarea {
        width: 100%;
        margin-bottom: 20px;
        font-size: 20px;
    }
}


/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    body {
        background-color: #e6e6e6;
        font-family: Sans-Serif;
        margin: 0;
        padding: 0;
    }

    .content-bottom {
        font-size: 20px;
        margin-top: 160px;
        margin-bottom: 60px;
    }

    .experience-content h4,
    p {
        margin-left: 10%;
        margin-right: 10%;
    }

    .education-content h4,
    p {
        margin-left: 10%;
        margin-right: 10%;
    }

    h3 {
        font-size: 30px;
        text-align: center;
    }

    h4 {
        margin: 0;
    }

    hr {
        background-color: #4d4d4d;
        border-width: 0;
        color: #4d4d4ded;
        height: 2px;
        margin-top: 100px;
        width: 90%;
    }

    #logo {
        left: 0;
    }

    #logo img {
        width: 500px;
        height: auto;
    }

    .main-content-container {
        display: grid;
        grid: auto / auto auto;
        grid-row: 1;
        margin: auto;
        text-align: center;
        width: 90%;
    }

    .main-content-container * {
        width: fit-content;
    }

    .main-content-container h2 {
        font-size: 3em;
        margin-bottom: 0;
        padding: 0;
    }

    .main-content-container p {
        font-size: 30px;
        padding: 0;
        padding-right: 100px;
        width: 580px;
    }

    .main-content-container img {
        width: 500px;
    }

    .navbar {
        align-items: center;
        background-color: #111111;
        display: flex;
        font-size: 25px;
        position: fixed;
        width: 100%;
        height: 142px;
    }

    .navbar a {
        color: #F6ED9B;
        background: linear-gradient(to top right, #936329, #F6ED9B);
        -webkit-text-fill-color: transparent;
        -webkit-background-clip: text;
        height: 100%;
        text-decoration: none;
    }

    .nav-list {
        list-style-type: none;
        display: flex;
        right: 0;
    }

    .nav-list-item {
        display: inline-block;
        padding: 62.5px 50px;
    }

    .navbar .nav-list-link:hover {
        background-color: #333333;
    }

    .toggle-button {
        position: absolute;
        top: 2.2rem;
        right: 2rem;
        display: none;
        flex-direction: column;
        justify-content: space-between;
        width: 60px;
        height: 60px;
    }

    .text-content {
        display: flex;
        flex-direction: column;
        margin: auto;
        text-align: center;
    }

    .toggle-button .bar {
        height: 8px;
        width: 100%;
        background-color: #F6ED9B;
        border-radius: 10px;
    }

    #top-content {
        padding-top: 200px;
    }

    ul {
        margin-block-start: 0em;
        margin-block-end: 0em;
    }

    @media (max-width: 1500px) {
        .navbar {
            flex-direction: column;
            align-items: flex-start;
        }

        .navbar a {
            color: #F6ED9B;
            background: linear-gradient(to top right, #936329, #F6ED9B);
            -webkit-text-fill-color: transparent;
            -webkit-background-clip: text;
        }

        .nav-list {
            background: #111111;
            display: none;
            flex-direction: column;
            padding: 0;
            text-align: center;
            width: 100%;
        }

        .nav-list.active {
            display: flex;
        }

        .nav-list-item {
            padding: .5rem 1rem;
        }

        .nav-list-link {
            border-top-color: #F6ED9B;
            border-top-style: solid;
            border-width: 1px;
        }

        #bottom-link {
            border-bottom-color: #F6ED9B;
            border-bottom-style: solid;
            border-bottom-width: 1px;
        }

        .toggle-button {
            display: flex;
        }
    }

    @media (max-width: 600px) {
        #logo {
            visibility: hidden;
        }
    }

    * {
        box-sizing: border-box
    }

    /* Slideshow container */
    .slideshow-container {
        width: 90%;
        position: relative;
        margin: auto;
        margin-bottom: 100px;
        padding-top: 170px;
        z-index: -1;
    }

    .slideshow-container img {
        height: 1000px;
        position: relative;
        margin: auto;
        margin-bottom: 100px;
        padding-top: 170px;
        z-index: -1;
    }

    /* Hide the images by default */
    .mySlides {
        display: none;
    }

    /* Caption text */
    .text {
        color: #f2f2f2;
        font-size: 80px;
        padding: 8px 12px;
        padding-bottom: 200px;
        position: absolute;
        bottom: 8px;
        width: 100%;
        text-align: center;
        text-shadow: 6px 5px #000000;
    }

    /* Fading animation */
    .fade {
        animation-name: fade;
        animation-duration: 2.0s;
    }

    @keyframes fade {
        from {
            opacity: .6
        }

        to {
            opacity: 1
        }
    }

    div .gallery {
        display: inline-block;
        margin: 5px;
        border: 1px solid #ccc;
        width: 650px;
    }

    div .gallery img {
        height: 600px;
        width: 100%
    }

    div .desc {
        padding: 15px;
        text-align: center;
    }

    .gallery-container {
        padding-top: 300px;
        text-align: center;
    }

    .gallery-container-personal {
        text-align: center;
    }

    .gallery-container-personal img {
        max-width: 80%;
        height: 600px;
    }

    .nav-spacer {
        padding-top: 200px;
    }

    .form-container {
        font-size: 26px;
        max-width: 600px;
        background: #FAFAFA;
        padding: 30px;
        margin: 50px auto;
        box-shadow: 1px 1px 25px rgba(0, 0, 0, 0.35);
        border-radius: 10px;
        border: 6px solid #305A72;
    }

    .form-heading {
        font-weight: bold;
        font-style: italic;
        border-bottom: 2px solid #ddd;
        margin-bottom: 20px;
        font-size: 24px;
        padding-bottom: 3px;
    }

    input,
    select {
        height: 30px;
    }

    input,
    select,
    textarea {
        width: 100%;
        margin-bottom: 20px;
        font-size: 20px;
    }
}