

/*Phones*/
@media screen and (max-width: 576px) {
    :root {
        --navbar_height: 4rem;
        --navbar_expanded: 4rem; /*No expanded navbar --> Side navbar in this mode*/
    }

    footer {
        flex-direction: column;
        text-align: center;
        padding-top: 1rem;
        gap: 1rem;
    }

    .hero {
        aspect-ratio: 2/1;
    }

    .footer_img {
        display: none;
    }
    .footer_social { gap: 0; } .footer_text { margin: 0 }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    p {
        font-size: .92rem;
    }

    p a {
        font-size: .92rem;
    }

    .header_home_icon {
        height: 60%;
    }

    #top_nav {
        display: none;
    }

    nav a {
        font-size: .5rem;
    }

    .search svg {
        height: 85%;
    }

    .search_dialog {
        width: 85vw;
    }

    .hero > div {
        width: 90%;
    }

    .main_wrapper, .discover, #general_information, #robosub, #thank_you,
    .auv_section, #new_sponsors {
        width: 95dvw;
    }

    .quick_link_object {
        width: calc(50dvw - 1.5rem);
    }

    .quick_link_object_2 {
        width: 100%;
        height: 8rem;
        flex-direction: row;
        padding:1rem;
    }

    .quick_link_object_2 .quick_link_content {
        padding-top: 2rem;
    }

    .quick_link_object_2 .quick_link_content_source {
        border-bottom: solid 2px var(--text_inverted);
    }

    .quick_link_object_2 img, .quick_link_object_2 svg {
        width: unset;
        height: 100%;
        order: 1;
        border-radius: 1rem;
    }

        .quick_link_object_2 hr {
        display: none;
    }

    .upper_offset_row {
        position: relative;
        gap: 1rem;
        flex-direction: column;
        margin: 1rem 0;
    }

    #robosub {
        flex-direction: column;
    }

    #robosub > * {
        width: 100%;
    }

    #general_information > h1 {
        margin: 0;
    }

    #general_information p {
        width: 90%;
    }

    .content_text > p {
        width: 90%;
        margin-left: 5%;
    }

    .info_box {
        padding: 0 1rem;
        width: 85%;
    }

    .info_box > h2 {
        margin: 1rem 0 0;
    }

    .documentation {
        gap: .5rem;
    }

    #filter_button {
        display: block;
        height: calc(4rem * .70);
    }

    #docs_list {
        width: 100%;
        align-items: center;
    }

    .discover_object {
        width: 90%;
    }

    #doc_menu {
        position: fixed;
        top: 4rem;
        right: -50%;
        width: 30%;
        height: calc(100dvh - 6rem);
        z-index: 1;
        border: none;
        border-radius: 1rem 0 0 1rem;
        transition: 600ms ease-in-out;
        margin: 0;
    }

    #thank_you > * {
        flex-grow: 1;
    }

    .members {
        width: 100%;
    }

    .card_container {
        width: 75vw;
        margin-top: 1rem;
    }

    .card_back h3 {
        margin: 1rem 0 0 0;
    }

    .card_back p {
        font-size: 1.15rem;
    }

    #media_main > div {
        width: 85%;
        gap: .5rem;
    }

    .media_container {
        width: 48%;
    }

    .media_container::before {
        font-size: .8rem;
    }

    #image_controls {
        top: unset;
        bottom: 7%;
    }

    #shroud::before {
        display: none;
    }

    #image_controls button {
        width: 3rem;
    }

    #close_enlarged {
        width: 3rem;
    }

    #image_title, #shroud:before {
        font-size: 1rem;
    }

    #thank_you {
        flex-direction: column;
    }

    #thank_you {
        margin-bottom: 1rem;
    }

    #thank_you > *{
        width: 100%;
    }

    #thank_you img {
        width: 100%;
    }

    #sponsor_list {
        width: 85%;
    }

    .sponsor_wrapper {
        flex-direction: column;
    }

    .sponsor_text {
        width: 100%;
        max-width: none;
    }

    .sponsor_wrapper a {
        font-size: 1rem;
    }

    .sponsor_wrapper > img {
        width: 100%;
    }

    .section_title {
        font-size: 1.2rem;
    }

    .documentation_main > * {
        width: 85%;
    }

    .sub_section_text {
        width: 100%;
    }

    .sub_section_text p, .documentation_main .row .row_content p {
        width: 90%;
        margin-left: 5%;
    }

    .documentation_main .row {
        flex-direction: column;
        padding: 0;
    }

    .documentation_main .row .row_content {
        width: 100%;
    }

    .sub_section_text > * {
        width: 100%;
        padding: 0;
    }

    .row_content {
        width: 100%;
    }

    .documentation_main .figure_row {
        flex-direction: row;
    }

    .image_row, .row {
        flex-direction: column;
    }

    .image_row .row_figure {
        width: 90%;
    }

/*    Sponsor Page  */
    .sponsor_wrapper img {
        max-width: 100%;
        width: 100%;
    }

    #packets {
        flex-direction: column;
        gap: 1rem;
    }

    .sponsorship_packet {
        width: 100%;
    }
}

/*Tablets*/
@media screen and (min-width: 577px) and (max-width: 768px) {
    :root {
        --navbar_height: 4rem;
        --navbar_expanded: 4rem; /*No expanded navbar --> Side navbar in this mode*/
    }

    footer {
        padding: 0;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    h3 {
        font-size: 1.15rem;
    }

    p {
        font-size: 1rem;
    }

    #top_nav {
        display: none;
    }

    nav a {
        font-size: 1rem;
    }

    .search_dialog {
        width: 85vw;
    }

    .hero > div {
        width: 90%;
    }

    .main_wrapper, .discover, #general_information, #robosub, #thank_you,
    .auv_section, #new_sponsors, #sponsor_list {
        width: 90%;
    }

    .quick_link_object {
        width: calc(50dvw - 3rem);
    }

    .upper_offset_row {
        position: relative;
        gap: 2rem;
    }

    #general_information > h1 {
        margin: 0;
    }

    .info_box {
        padding: 0 1rem;
        width: 25%;
    }

    .info_box > h2 {
        margin: 1rem 0 0;
    }

    #filter_button {
        display: block;
        height: calc(4rem * .70);
    }


    #docs_list {
        width: 100%;
        align-items: center;
    }

    .discover_object {
        width: 90%;
    }

    #doc_menu {
        position: fixed;
        top: 4rem;
        right: -50%;
        width: 25%;
        height: calc(100dvh - 6rem);
        z-index: 1;
        border: none;
        border-radius: 1rem 0 0 1rem;
        transition: 600ms ease-in-out;
        margin: 0;
    }

    #thank_you > * {
        flex-grow: 1;
    }

    .members {
        width: 85%;
    }

    .card_container {
        width: 25vw;
    }

    .card_back h3 {
        margin: 1rem 0 0 0;
    }

    #media_main > div {
        width: 85%;
    }

    .media_container {
        width: 30%;
    }

    #image_controls {
        top: unset;
        bottom: 7%;
    }

    #shroud::before {
        display: none;
    }

    #image_title, #shroud:before {
        font-size: 1.2rem;
    }

    .sponsor_wrapper > img {
        width: 50%;
    }

    .documentation_main > * {
        width: 85%;
    }

    .documentation_main .row {
        flex-direction: column;
    }

    .documentation_main .row .row_content {
        width: 100%;
    }

    .documentation_main .figure_row {
        flex-direction: row;
    }

    /*    Sponsor Page*/
    #packets {
        flex-direction: column;
        gap: 1rem;
    }

    .sponsorship_packet {
        width: 100%;
    }
}

/*Tablets and Small Desktops*/
@media screen and (min-width: 769px) and (max-width: 992px) {
    :root {
        --navbar_height: 4rem;
        --navbar_expanded: 7rem; /*No expanded navbar --> Side navbar in this mode*/
    }

    footer {
        padding: 0;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    p {
        font-size: 1rem;
    }

    .header_home_icon {
        height: 70%;
    }

    #top_nav {
        display: none;
    }

    nav a {
        font-size: 1rem;
    }

    .search_dialog {
        width: 85vw;
    }

    .hero > div {
        width: 90%;
    }

    .main_wrapper, .discover, #general_information, #robosub, #thank_you,
    .auv_section {
        width: 90%;
    }

    .upper_offset_row {
        position: relative;
        gap: 2rem;
    }

    #general_information > h1 {
        margin: 0;
    }

    .info_box {
        padding: 0 1rem;
        width: 25%;
    }

    .info_box > h2 {
        margin: 1rem 0 0;
    }

    #filter_button {
        display: block;
    }


    #docs_list {
        width: 100%;
        align-items: center;
    }

    .discover_object {
        width: 90%;
    }

    .quick_link_object {
        width: calc(50% - 1rem);
        flex-grow: 0;
    }

    #doc_menu {
        position: fixed;
        top: 5rem;
        right: -50%;
        width: 25%;
        height: calc(100dvh - 7rem);
        z-index: 1;
        border: none;
        border-radius: 1rem 0 0 1rem;
        transition: 600ms ease-in-out;
        margin: 0;
    }

    #thank_you > * {
        flex-grow: 1;
    }

    .members {
        width: 85%;
    }

    .card_container {
        width: 25vw;
    }

    .card_back h3 {
        margin: 1rem 0 0 0;
    }

    #media_main > div {
        width: 85%;
    }

    .media_container {
        width: 30%;
    }

    #image_controls {
        top: unset;
        bottom: 7%;
    }

    #image_controls button, #close_enlarged {
        width: 3rem;
    }

    #shroud::before {
        display: none;
    }

    #shroud:before {
        font-size: 1.2rem;
    }

    #sponsor_list {
        width: 85%;
    }

    .sponsor_wrapper > img {
        width: 50%;
    }

    .documentation_main > * {
        width: 85%;
    }

    .documentation_main .row {
        flex-direction: column;
    }

    .documentation_main .row .row_content {
        width: 100%;
    }

    .documentation_main .figure_row {
        flex-direction: row;
    }

    /*    Sponsor Page*/

    #packets {
        flex-direction: column;
        gap: 1rem;
    }

    .sponsorship_packet {
        width: 100%;
    }
}

/*Desktops*/
@media screen and (min-width: 993px) and (max-width: 1200px) {
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .header_home_icon {
        height: 70%;
    }

    nav a {
        font-size: 1rem;
    }

    .search_dialog {
        width: 85vw;
    }

    .hero > div {
        width: 90%;
    }

    .main_wrapper, .discover, #general_information, #robosub, #thank_you,
    .auv_section {
        width: 85%;
    }

    .upper_offset_row {
        position: relative;
        gap: 2rem;
    }

    #general_information > h1 {
        margin: 0;
    }

    .info_box {
        padding: 0 1rem;
        width: 25%;
    }

    .info_box > h2 {
        margin: 1rem 0 0;
    }

    #doc_menu {
        width: 15%;
    }

    #docs_list {
        width: 65%;
    }

    .discover_object {
        width: 95%;
    }

    #thank_you > * {
        flex-grow: 1;
    }

    .members {
        width: 85%;
    }

    .card_container {
        width: 17vw;
    }

    .card_back h3 {
        margin: 1rem 0 0 0;
    }

    #media_main > div {
        width: 85%;
    }

    .media_container {
        width: 30%;
    }

    #sponsor_list {
        width: 85%;
    }

    .sponsor_wrapper > img {
        max-width: 50%;
    }

    .documentation_main > * {
        width: 85%;
    }

/*    Sponsor Page*/
    .sponsorship_packet {
        width: 49%;
    }
}

/*Large Desktops*/
@media screen and (min-width: 1201px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .main_wrapper, .discover, #general_information, #robosub, #thank_you,
        .auv_section {
        width: 75%;
    }

    .upper_offset_row {
        position: relative;
    }

    #general_information > h1 {
        margin: 0;
    }

    .info_box {
        padding: 0 1rem;
        width: 25%;
    }

    .info_box > h2 {
        margin: 1rem 0 0;
    }

    #doc_menu {
        width: 20%;
    }

    #docs_list {
        width: 65%;
    }

    .discover_object {
        width: 90%;
    }

    #thank_you > * {
        flex-grow: 1;
    }

    .card_container {
        width: 17vw;
    }

   .card_back h3 {
        margin: 1rem 0 0 0;
    }

    .documentation_main > * {
        width: 75%;
    }

    #image_title {
        font-size: 1.5rem;
    }

/*    Sponsor Page*/
    .sponsorship_packet {
        width: 48%;
    }
}

/*Any thing larger is the default css. This site was developed on my
    2560px width 27" monitor*/

