/* 1600px */
@media screen and (max-width: 1600px) {


.heading_large h1 {
    font-size: 7vw;
}
.heading_medium h1 {
    font-size: 5vw;
}

.home_heading h1 {
    font-size: 3.4vw;
}
.home_about h2 {
    font-size: 35px;
}
.home_about .block_50_content {
    gap: 20px;
}
.home_link img {
    max-height: 90px;
}

.article_heading_content h1 {
    font-size: 50px;
}

}

/* 1400px */
@media screen and (max-width: 1400px) {


.fas .menu_text {
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    letter-spacing: 0.1em;
    font-weight: 400;
}

.header_menu {
    gap: 25px;
}

.article_heading_content h1 {
    font-size: 42px;
}

.row_card .gallery_round {
    flex-direction: column;
    gap: 0;
}
.album_headings {
    flex-direction: column;
    gap: 20px;
}

.championship_about {
    aspect-ratio: 1/1;
}

.list_item_text {
    width: 100%;
}
.card_buttons {
    width: 100%;
    justify-content: start;
}

.list_item_content {
    flex-direction: column;
    gap: 5px;
    align-items: baseline;
}

.championship_calendar .list_item {
    padding: 2% 0;
}

.article_content p {
    padding: 1.5% 5%;
}

.home_heading_content {
    gap: 40px;
}

.timeline_item {
    width: 90%;
}

.social_title h5  {
    font-size: 20px;
}

}

/* 1200px */
@media screen and (max-width: 1200px) {

.header_nextrace {
    display: none;
}
.menu_list .header_nextrace {
    display: flex;
}
.header_nav {
    position: relative;
    left: unset;
    transform: translateX(0);
}

.content_block_text .news_image {
    max-height: 160px;
}

.full_container {
    padding: 3%;
}
.standard_menu {
    padding: 3%;
}
.car_archive {
    padding: 8% 3%;
}

.current_car_page, .car_card {
    flex-direction: column;
}
.current_car_page {
    padding: 8% 3%;
}

.current_car_page .hex_pattern {
    top: -500px;
    right: -200px;
    rotate: 180deg;
    left: unset;
    bottom: unset;
}

.car_grid {
    gap: 60px;
}

.driver_grid, .page_articles {
    grid-template-columns: 1fr 1fr 1fr;
}
.driver_grid {
    gap: 30px;
}

.championship_about {
    aspect-ratio: 3/1;
}


.heading_fluid {
    flex-direction: column;
    gap: 20px;
    padding: 6% 3%;
}

.block_50 {
    flex-direction: column-reverse;
    gap: 40px;
    padding: 5% 3%;
}
.invert_block {
    flex-direction: column;
    padding: 0 3% 6% !important;
}
.invert  {
    flex-direction: column;
}

.home_about {
    flex-direction: column;
}
.home_about .content_block {
    gap: 40px;
}
.home_about .text_block {
    width: 80%;
    padding: 8% 0;
}
.home_about .image_block {
    position: relative;     
}
.home_about .image_block:before {
    content: " ";
    width: 100%;
    height: 40%;
    position: absolute;
    z-index: 5;
    top: 0;
    left: 0;
    background: linear-gradient(0deg, rgba(246,246,246,0) 0%, rgba(246,246,246,1) 100%);     
}

.bg_block {
    border-radius: 10px;
} 

.contact_content {
    padding: 6% 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 50px;
}
.contact_content .content_group {
    width: 100% !important;
}

.social_grid {
    grid-template-columns: 1fr 1fr 1fr;
}
.ig_post:nth-of-type(7), .ig_post:nth-of-type(8) {
    display: none;
}

.social_heading h1, .title_block h3{
    font-size: 2.2vw;
}
.social_heading {
    flex-direction: column;
    gap: 15px;
}
.social_heading .social_icon {
    height: 35px; width: 35px;
}
.social_heading .social_icons {
    gap: 14px;
}

.album-gallery {
    columns: 3;
}

.season_grid, .season_row {
    grid-template-columns: 1fr 1fr 1fr;
}
.season_row .season_card:nth-of-type(1) {
    display: none;
}

.partners_grid {
    grid-template-columns: 1fr;
    gap: 10px;
}

.news_article_content .width_60 {
    width: 76%;
}
.article_content p {
    padding: 1.75% 5%;
}
.news_article_content {
    padding: 5% 0;
}

.grid_container {
    padding: 3% 3%;
}

.partner .partner_logo {
    aspect-ratio: 3/2;
}

.about_facts_content {
    width: 90%;
    gap: 10px;
    display: grid; flex-direction: row;
    grid-template-columns: 1fr 1fr 1fr;
}

.timeline_year_content {
    width: 95%;
}

.timeline_year_title {
    font-size: 50px;
}


.about_heading {
    height: 75vh;
    min-height: 720px;
}

.footer_menu ul {
    column-gap: 100px;
}

.home_heading_content {
    flex-direction: column;
    gap: 30px;
}
.home_heading h1 {
    font-size: 5vw;
}
.heading_news {
    max-width: none;
}
.heading_news_image img {
    width: 90px;
}

.team_heading .fluid_content {
    width: 85%;
}

.team_nav {
    grid-template-columns: 1fr 1fr;
}
header .dropdown_link:is(:nth-of-type(3)) {
    border-top: #060606 1px solid;
}

.additional_galleries .list_item {
    flex-direction: column;
    align-items: start;
    gap: 15px;
    padding: 3% 0;
}
.list_item_content {
    width: 100%;
    flex-direction: column;
    align-items: start;
    gap: 10px;
}

.article_heading {
    flex-direction: column;
}
.article_heading_content {
    padding: 4% 2%;
    box-sizing: border-box;
}

.cars_intro .hex_pattern {
    right: -400px;
    bottom: -200px;
}

.row_info h2 {
    font-size: 36px;
}

.heritage_image_tag {
    font-size: 12px;
    padding: 6px 10px;
}

.timeline_item {
    width: 90%;
}
.timeline {
    padding-bottom: 6%;
}

.alumni_grid {
    grid-template-columns: repeat(5, 1fr);
}

}

/* 1000px */
@media screen and (max-width: 1000px) {

.heading_content {
    flex-direction: column;
}
.cars_heading .heading_content {
    flex-direction: column-reverse;
}

.light_title br {
    display: none;
}
.heading_addition, .heritage_heading .heading_addition {
    width: 100%;
}

.heading_content .partner_badge {
    max-width: 300px;
}

.footer_partners {
    display: none;
}

.heritage_row > :nth-child(1) { grid-area: a; }
.heritage_row > :nth-child(2) { grid-area: b; }
.heritage_row > :nth-child(3) { grid-area: c; }

.heritage_row {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "a b"
      "c c";
}


.footer_socials .social_icons {
    justify-content: end;
}
.footer_menu li {
    align-self: flex-start;
}

.list_item_text {
    flex-direction: column;
}
.season_list .card_detail {
    width: unset;
}
.card_detail_group {
    justify-content: unset;
    gap: 2%;
}
.season_list {
    gap: 20px;
}
.card_tracklayout {
    height: 70px; width: 70px;
}

.news_article_content .width_60 {
    width: 90%;
}

.article_content p {
    padding: 2% 5%;
}
.news_article_content {
    padding: 8% 0;
}


.heading_home {
    height: auto;
    flex-direction: column;
}
.heading_home_main {
    height: 85vh;
    width: 100%;
}
.heading_home_side {
    height: auto;
    width: 100%;
    aspect-ratio: 1/1;
}


.footer_main {
    padding: 4% 2%;
}
.social_group_title {
    display: none;
}

.fluid_content {
    flex-direction: column;
    gap: 20px;
}

.achievements_grid {
    grid-template-columns: 1fr;
}

.timeline_content p {
    font-size: 13px;
}

.social_title h5  {
    font-size: 18px;
}
.social .social_title {
    flex-direction: column;
    text-align: center;
}


}

/* 920px */
@media screen and (max-width: 920px) {

header {
    padding: 20px 25px 0;
}
.shrink, .light_header .shrink {
    padding: 20px 25px;
}
.shrink .menu_icon {
    padding: 0;
    background: none;
    backdrop-filter: unset;
}


.light_header .shrink .header_content {
    background: none;
    background-color: none;
}
.shrink .header_content {
    background-color: #021D4A;
    background: rgba(0,0,0,0.2);
    border-radius: 4px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: all 0.15s ease-in;
}
.header_nav {
    display: none;
}
.menu_overlay {
    padding: 0 25px;
}

.menu_icon {
    display: flex;
}

.achievements_grid {
    grid-template-columns: 1fr;
}

.menu_list {
    margin-top: 20px;
}

.menu_list .header_nextrace {
    display: block;
    margin: 0;
    text-align: left;
    text-transform: uppercase;
    padding: 4% 8% 6%;
}

.driver_grid, .page_articles {
    grid-template-columns: 1fr 1fr;
}

.grid_container {
    padding: 6% 3%;
}


.footer_lower {
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    background: none;
    backdrop-filter: unset;
}

.timeline_intro {
    width: 80%;
}

}

/* 850px */
@media screen and (max-width: 850px) {

.logo {
    position: relative;
    left:unset;
    transform: translate(0);
    width: 170px;
}

.home_heading::after {
    height: 60%;
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 100%);
}
.heading_large .hex_pattern {
    right: -180px;
}

.category_menu {
    flex-direction: column !important;
    align-items: baseline;
}
.heritage_menu {
    position: relative;
    top: 0;
    padding: 2% 3%;
}

.category_link {
    width: 100%;
}
.category_link a {
    padding: 12px 20px;
    width: 100%;
}

.album-gallery {
    columns: 2;
}

.list_grid {
    padding: 5%;
}
.additional_galleries {
    padding: 3% 5%;
}
.additional_galleries h4 {
    font-size: 21px;
}

.team_nav {
    grid-template-columns: 1fr;
}
.dropdown_link .linkimage {
    width: 20%;
}
header .dropdown_link:is(:nth-of-type(2)) {
    border-top: #060606 1px solid;
}

.album_headings {
    justify-content: left;
    width: 100%;
}
.album_info {
    text-align: left;
    width: 100%;
}

.timeline_intro {
    padding: 6% 0;
}
.timeline_item {
    flex-direction: column;
    gap: 0;
    background-color: #fff;
}
.timeline_content {
    padding: 5%;
}
.timeline_content, .timeline_image {
    width: 100%;
}
.timeline_content p {
    font-size: 15px;
}
.timeline_item:nth-of-type(2n) {
    flex-direction: column;
}

.additional_galleries .list_item {
    gap: 20px;
    padding: 6% 0;
}

.contact_label, .contact_field {
    width: 100%;
    text-align: left;
}
.contact_groups {
    flex-direction: column;
}

.footer_menu ul {
    grid-template-columns: 1fr 1fr;
}

.timeline_year_container {
    width: 90%;
}

.about_heading {
    height: auto;
    background-size: 140%;
}
.about_heading .heading_content {
    padding: 15% 0;
}
.about_heading .heading_content h1 {
    font-size: 18vw;
}

.title_joint h1 {
    margin: 0;
    margin-bottom: -30px;
}
.timeline_year_title {
    font-size: 42px;
}

.album-gallery {
    columns: 2;
}

.testimonial_block_content {
    padding: 20% 0;
}
.testimonial_block_content p {
    font-size: 16px;
    width: 85%;
}

.timeline_intro h4 {
   font-size: 24px;
}

.row_card {
    flex-direction: column-reverse;
    padding: 0 3%;
}
.row_card .row_info, .row_card .gallery_images {
    width: 100%;
}
.row_card .gallery_images {
    border-radius: 0;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}
.row_info {
    padding: 6% 0 8%;
    gap: 15px;
}
.row_card .gallery_image:last-of-type {
    display: none;
}
.row_card .gallery_round {
    flex-direction: row;
    gap: 10px;
}

.partner_logo img {
    width: 75%;
    max-height: 100%;
}

.cars_intro {
    flex-direction: column;
}
.cars_intro .car_main {
    width: 100%;
    padding: 8% 3% 0;
    box-sizing: border-box;
}
.cars_intro .car_image {
    width: 100%;
}
.cars_intro .partner_badge {
    max-width: 300px;
}
.cars_intro .car_info_container {
    gap: 30px;
}

.cars_intro .hex_pattern {
    right: -500px;
    bottom: -100px;
}

.content_double_text {
    flex-direction: column;
    gap: 20px;
}
.content_5050 {
    flex-direction: column;
}
.inset_block {
    padding: 8% 3%;
}
.content_5050 .content_block {
    width: 100%;
}
.featured_news {
    border-top-right-radius: 0;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}
.content_5050 .content_block_text {
    padding: 5% 0;
}
.latest_news {
    justify-content: space-between;
}
.home_partners_container {
    flex-direction: column;
    padding: 8% 2%;
    align-items: center;
    gap: 20px;
}
.home_partners_grid, .home_partners_content {
    width: 80%;
}

.social_group_icons {
    gap: 8px;
}
.footer_socials {
    gap: 30px;
    justify-content: center;
}

.heading_medium {
    height: 60vh;
}

.heritage_heading {
    gap: 15px;
}

h2 {
    font-size: 36px;
}

.heading_large h1 {
    font-size: 9vw;
}
.heading_medium h1 {
    font-size: 7vw;
}
.fluid_content h1 {
    font-size: 9vw;
}
.home_heading h1 {
    font-size: 7vw !important;
}

.heritage_heading .heading_addition h4 {
    font-size: 18px;
}

.alumni_grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem 1%;
}


}

/* 768px */
@media screen and (max-width: 768px) {

.compact_heading .heading_content {
    gap: 10px;
}
.compact_heading {
    padding: 10% 30px;
}

.heritage_row {
    grid-template-columns: 1fr;
    grid-template-areas:
"a" 
"b" 
"c";
}

.article_heading_content h1 {
    font-size: 36px;
}

.article_content p {
    padding: 2.5% 5%;
    font-size: 16px;
}

.team_heading .fluid_content {
    width: 100%;
}

.championship_calendar .list_item {
    padding: 4% 0;
}

.footer_main {
    flex-direction: column;
    padding: 6% 0 4%;
    gap: 40px;
}
.social_group_title {
    display: flex;
}
.footer_menu {
    padding: 0 8%;
}
.footer_menu ul {
    gap: 30px;
}
.footer_link a {
    font-size: 24px;
}
.footer_lower_text {
    gap: 5px;
}
.footer_lower_left {
    gap: 10px;
}
.footer_lower_left img {
    height: 30px;
}

button a {
    font-size: 15px;
    padding: 8px 20px;
}

.championship_about {
    aspect-ratio: 3/2;
}

.content_double_text {
    padding: 8%;
}

.alumni_grid {
    grid-template-columns: repeat(3, 1fr);
}

.contact_heading {
    padding: 0 3% 6%;
}

.social .title_block {
    flex-direction: column;
    gap: 10px;
}

.social {
    padding-bottom: 4%;
}

.social_grid {
    grid-template-columns: 1fr 1fr;
}
.ig_post:nth-of-type(5), .ig_post:nth-of-type(6) {
    display: none;
}

.social_heading h1, .title_block h3 {
    font-size: 3.5vw;
}


.article_title {
    font-size: 34px;
}

.partners {
    padding: 8% 3%;
}
.partner_row {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr 1fr 1fr;
}
.partner_logo a {
    display: flex;
    justify-content: center;
}

.image_blocks {
    grid-template-columns: repeat(1, 1fr);
}

.heading_lines {
    background-position: left top;
}


.heading_nextrace h3 {
    font-size: 16px;
}

.car_stats .label {
    width: 45%;
}

.heading_titles p {
    font-size: 16px;
    line-height: 1.1em;
}

.heading_container {
    padding-bottom: 5%;
}

.featured_news {
    aspect-ratio: 1/1;
}
.content_block_text .news_article {
    flex-direction: column;
}
.content_block_text .news_image {
    max-height: unset;
    width: 100%;
}

.car_name {
    font-size: 36px;
}

.home_heading_content {
    gap: 20px;
}

.heading_news_content {
    gap: 4px;
}
.heading_news .news_title {
    font-size: 15px;
}
.heading_news .uppertag {
    font-size: 10px;
}
.heading_news .news_date {
    font-size: 11px;
}

.page_articles {
    grid-template-columns: 1fr;
}


}

/* 576px */
@media screen and (max-width: 576px) {

.alumni_grid {
    grid-template-columns: repeat(2, 1fr);
}

.heading_large .hex_pattern {
    right: -340px;
}

.full_container {
    padding: 5% 3%;
}
.home_partners_container {
    padding: 10% 0;
}
.timeline {
    padding-bottom: 10%;
}

.article_heading_content h1 {
    font-size: 30px;
}

.standard_menu {
    padding: 5% 3%;
}

.heading_large h1 {
    font-size: 10vw;
}
.heading_medium h1 {
    font-size: 9vw;
}
.fluid_content h1 {
    font-size: 11vw;
}

.heading_large, .hero_slide {
    height: 75vh !important;
}
.heading_medium {
    height: 50vh;
}
.heading_titles {
    gap: 12px;
}
.home_heading h1 {
    font-size: 7vw !important;
}
.home_heading h5 {
    font-size: 16px !important;
}

.home_partners_grid, .home_partners_content {
    grid-template-columns: 1fr 1fr;
}

.row_card .gallery_image:nth-last-of-type(-n+2) {
    display: none;
  }

.footer_menu ul {
    gap: 30px;
    grid-template-columns: 1fr;
}

.menu_icon {
    padding: 12px 16px;
}

.partner {
    flex-direction: column;
    width: 100%;
    padding: 8% 0 !important;
}
.partner .partner_logo {
    width: 80%;
}
.partner .partner_content {
    width: 80%;
}

.about_heading .heading_content {
    padding: 20% 0;
}

.social_group_title {
    font-size: 12px;
}
.social_group .social_icon {
    width: 20px; height: 20px;
}

.timeline_year_image {
    aspect-ratio: 4/5;
}

.heading_home_side {
    aspect-ratio: 1/1;
}

.album-gallery {
    columns: 1;
}

.card_top {
    align-items: center;
}
.card_details {
    text-align: right;
}
.card_detail {
    font-size: 12px;
}

.footer_main {
    padding: 10% 0 8%;
    gap: 40px;
}
.footer_lower_text, .footer_lower_text:first-of-type {
    text-align: center;
    gap: 10px;
    flex-direction: column;
}
.footer_lower_left img {
    display: none;
}

.partners {
    padding: 10% 3%;
}
.partner_row {
    gap: 40px;
    grid-template-columns: 1fr 1fr;
}

.driver_grid {
    grid-template-columns: 1fr;
}

.card_tracklayout {
    height: 50px; width: 50px;
}

}

/* 460px */
@media screen and (max-width: 460px) {

.timeline_year_title {
    font-size: 35px;
}

.footer_contact .social_icons {
    flex-direction: column;
}

}