

:root {
    --base-color: #366068;
  --base-color-tp: #244046;
  --text-color-nav: #ffffff;
  --text-color: #383838;
  --text-color2: #b5e8f1;
  --text-color3: #413232;
  --text-color4: #000000;
  --text-color5: #ffffff;
  --text-color-fc: rgb(154, 154, 154);
  --text-color-hover: rgb(126, 126, 126);
  --color-nav: #d35f5f00;
  --color-nav-gr: #ce8a8a00;
  --color-1: #ffffff9d;
  --color-1-gr: #d78f8fc0;
  --color-2: #b0e0f8e0;
  --color-2-gr: #2b89fbd0;
  --color-3: #ececece0;
  /*--color-3-gr: rgb(83, 180, 170);*/
  --color-3-gr: #a8d5ebc4;
  --color-4: #b2b2b2a0;
  --color-4-gr: #b2b2b200;
  --color-5: #ecc3c320;
  --color-5-gr: #ed555548;
  --color-nav-nt: #c75454;
  --color-1-nt: #cb6c6c;
  --color-shadow: #000000b0;
  --color-backgroundtp-cta2: #30545cc3;
   --color-backgroundtp-cta3: #3a666f6a;

  /* fc = figcaption, gr = gradient, nt = not transparent, tp = transparent */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: 'Times New Roman', Times, serif;
    color: var(--text-color);
}
/*
#bg-zoom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('/images_biathlon/background/DSC04101.jpeg');
    background-size: cover;
    background-position: center center;
    z-index: -1;
    transform: scale(1);
    transform-origin: center center;
    will-change: transform;
}*/


body {
    padding: 1em;
    background-color: var(--base-color);
    padding-top: 9em;
}

/* Initial hidden state
.page-content {
  opacity: 0;
  transition: opacity 2.5s ease;
}

/* Visible state after load 
.page-content.loaded {
  opacity: 1;
}*/


h1, h2, h3 {
    font-family: Georgia, 'Times New Roman', Times, serif;
}

nav {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 1000;
    background-image: linear-gradient(to right, /*hsla(0, 60%, 47%, 0.7),*/ #c84c4cd0, rgba(0, 0, 0, 0.523), var(--base-color-tp));
    background-color: rgba(34, 34, 34, 0.646);
    color: white;
    margin-top: 0;
    display: flex;
    align-items: center;
    padding: 0.2em 1em;
    gap: 1rem;
}

nav ul {
    display: flex;
    align-items: center;
    list-style-type: none;
    gap: 5px;
    margin: 0;
    padding: 0;
    flex: 1;
}

nav li:first-child {
    margin-right: auto;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    font-size: clamp(1rem, 5vw + 0.5rem, 2.5rem);
}

nav li:not(:first-child) {
    font-size: clamp(10px, 1.5vw + .25rem, 18px);
    min-width: calc(30px + 4vw);
    text-align: center;
    /*border-left: #3c3c3c 1px solid;*/
}

nav a {
    text-decoration: none;
    padding: 0.3em;
    color: var(--text-color-nav);
    display: flex;         /* make link fill container */
    align-items: center;   /* vertically center text */
    justify-content: center;
    height: 100%;          /* fill li height */
    width: 100%;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    position: relative;
}

.main-nav {
    text-decoration: none;
    padding: 0.3em;
    color: var(--text-color-nav);
    display: flex;         /* make link fill container */
    align-items: center;   /* vertically center text */
    justify-content: center;
    height: 100%;          /* fill li height */
    width: 100%;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    position: relative;
}

/* Die Linie vorbereiten */
nav li:first-child a::after {
    content: '';
    position: absolute;
    bottom: 10px; /* Abstand unter dem Text */
    width: 0;
    height: 3px;
    background-color: var(--text-color-nav);
    transition: width 0.3s ease;
}

nav li:first-child a:hover::after {
    width: 90%;
}

/* Die Linie vorbereiten */
nav li:not(:first-child) .main-nav::after {
    content: '';
    position: absolute;
    bottom: 0; /* Abstand unter dem Text */
    width: 0;
    height: 2px;
    background-color: var(--text-color-nav);
    transition: width 0.3s ease;
}

nav li:not(:first-child) .active-nav::after {
    content: '';
    position: absolute;
    bottom: 0; /* Abstand unter dem Text */
    width: 90%;
    height: 2px;
    background-color: var(--text-color-nav);

}

nav li:not(:first-child) .main-nav:hover::after {
    width: 90%;
}

nav li:not(:first-child) .main-nav:hover {
    /*box-shadow: 2px 4px 8px 0px var(--color-shadow);*/
    transform: translateY(-3px);
    background-color: var(--color-nav);   
}

.dropbtn {
    text-decoration: none;
    font-family: 'Times New Roman', Times, serif;
    padding: 0.3em;
    margin-right: 0;
    color: var(--text-color-nav);
    background-color: transparent;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: auto;
    width: auto;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    position: relative;
    text-align: center;
    font-size: clamp(10px, 1.5vw + .25rem, 18px);
}

/* Die Linie vorbereiten */
.dropbtn::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0; /* Abstand unter dem Text */
    width: 0;
    height: 2px;
    background-color: var(--text-color-nav);
    transition: width 0.3s ease;
}

.dropbtn:hover::after {
    width: 90%;
}

.dropdown {
    position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  text-align: center;
  font-size: clamp(10px, 1.5vw + .25rem, 16px);
  min-width: clamp(90px, 3vw + 80px, 120px);
  border-radius: none;
  box-shadow: 0px 8px 16px 0px var(--color-shadow); 
  z-index: 1;
  padding-top: 20px;
  /* background-color: var(--color-1-nt); */
}

.dropdown-content a {
    color: var(--text-color-nav);
    padding: 15px 10px;
    text-decoration: none;
    display: block;
    border-radius: none; 
    /*box-shadow: 3px 6px 8px var(--color-shadow);*/
    margin: 0;
    z-index: 2;
    background-color: var(--base-color);
}

.dropdown-content a:hover {
    background-color: #574444;
    box-shadow: 4px 8px 8px 0px var(--color-shadow);
    transform: translateY(-1px);
    z-index: 3;
}

/* Mobile hamburger + more-panel styles */
.more-toggle { display: none; }
.hamburger{
    background: transparent;
    border: none;
    padding: 0.2em;
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
    align-items: center;
    justify-content: center;
}
.hamburger .bar{ display:block; width:20px; height:2px; background:var(--text-color-nav); border-radius:1px; }
.more-panel{ display:none; position:absolute; top:100%; right:1rem; background: linear-gradient(to bottom, rgba(20,20,20,0.95), rgba(34,34,34,0.95)); padding:0.5em; border-radius:0.5em; box-shadow:0 8px 20px rgba(0,0,0,0.4); flex-direction:column; min-width:180px; z-index:1200; }
.more-panel.open{ display:flex; }
.more-panel .panel-link{ color:var(--text-color-nav); padding:0.6em 0.8em; text-decoration:none; display:block; }
.more-panel .panel-link:hover{ background:rgba(255,255,255,0.03); }
.panel-dropdown .dropdown-content{ position: static; box-shadow:none; background:transparent; padding:0; margin-top:0; }

.dropdown.open .dropdown-content{ display:block; }

@media (max-width: 820px){
    /* show only first three items + the hamburger */
    nav ul li.mobile-hide{ display: none; }
    .more-toggle{ display: flex; align-items: center; }
    nav ul { align-items: center; justify-content: flex-end; gap: 0.4rem; }
    nav li:first-child { margin-right: auto; }
    nav li:not(:first-child) { 
        min-width: 0;  
        font-size: clamp(15px, 2vw + .25rem, 22px);
        margin-left: .5em;
    }

    .hamburger{ padding: 0.4em; padding-left: 1.2em; }

    .dropbtn {
        font-size: clamp(15px, 2vw + .25rem, 22px);
        padding: 0.5em;
    }

    .dropdown-content {
        font-size: clamp(15px, 2vw + .25rem, 22px);
    }
}

@media (max-width: 550px){
    /* extra small adjustments */
    nav ul { gap: 0.3rem; }
    .hamburger .bar{ width:18px; height:2px; }
}


.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn { 
    /*box-shadow: 2px 4px 8px 0px var(--color-shadow);*/
    transform: translateY(-3px);
}

/*------------------------------------------------------------------*/

header, section {
    margin: 1.5em auto;
    width: 100%;
    max-width: 1500px;
    /*background-color: var(--color-1); */
    padding: min(1em, 15%);
    border-radius: 1em;
    box-shadow: 0px 8px 16px 0px var(--color-shadow);
}

header#intro {
    position: relative;
    margin-top: -200px;
    padding-top: 200px;
    height: 60vw;
    background-image: url("/images_biathlon/LA1_4120.jpg");
    background-size:cover;
    background-position: center ;
    background-color: rgba(74, 74, 74, 0.454);
}

.header-caption {
    position: absolute;
    bottom: 1.5em;
    left: 2%;
    transform: translateX(-2%);
    font-size: clamp(0.6rem, 1.3vw, 1rem);
    color: rgb(60, 60, 60);
    text-align: left;
    margin: 0;
}

h1 {
    position: absolute;
    top: 4em;
    right: 2%;
    transform: translateX(2%);
    text-align: right;
    font-size: clamp(3rem, 5vw + .5rem, 5rem);
    color: var(--text-color);
}

.flex-container {
    position: absolute;
    top: 20vw;
    right: 2%;
    transform: translateX(2%);
    text-align: left;
    align-items: center;
    max-width: 35vw;
    margin: auto 0 auto auto;
    padding: 11vw 0;
    /*height: 35em;*/
}

.scs-link a {
    text-decoration: none;
    color: var(--text-color);
}

.scs-link a:hover {
    color: var(--text-color-hover);
    /*text-shadow: 2px 2px 4px var(--color-shadow);*/
}


@media (max-width: 1500px) {
    h1 {
        top: 3.5em;
    }
}

@media (max-width: 1000px) {
    h1 {
        /*font-size: clamp(2rem, 4.5vw + .5rem, 4rem);*/
        right: 4%;
        top: 7em;
        display: none;
    }

    .flex-container {
        top: 37vw;
    }

    header#intro {
        height: 90vw;
    }
}

@media (max-width: 820px) {
   /* h1 {
        right: 50%;
        transform: translateX(50%);
        position: absolute;
        top: 8.6em;
        text-align: center;
        color: rgb(141, 141, 141);
        width: 100%;
    }*/

    /*.flex-container {
        top: 120vw;
        position: absolute;
        text-align: center;
        max-width: 100%;
        margin: 0 0 0 -10px;
        padding: 5px;
        color: white;
        background-color: rgba(33, 33, 33, 0.836);
    }*/

    .flex-container {
        display: none;
    }

    .same-text-container-for-mobile-only {
        display: none;
    }


    .scs-link a {
        color: white;
    }

    header#intro {
        height: 120vw;
        background-position: 20% center;
        background-image: linear-gradient(to bottom, hsla(0, 60%, 47%, 0), hsla(0, 60%, 47%, 0), hsla(0, 60%, 47%, 0), var(--base-color)), url("/images_biathlon/LA1_4120.jpg");
        box-shadow: none;
    }

    header, section {
        margin: 1.5em auto;
        /*background-color: var(--color-1); */
        padding: 0px;
        border-radius: 1em;
        box-shadow: 0px 8px 16px 0px var(--color-shadow);
    }
    
    body {
        padding: 1em 0;
        padding-top: 10em;
    }
}


@media (max-width: 700px) {
   /* h1 {
        right: 50%;
        transform: translateX(50%);
        position: absolute;
        top: 8.6em;
        text-align: center;
        color: rgb(141, 141, 141);
        width: 100%;
    } */

    .flex-container {
        display: none;
    }

    header#intro {
        height: 190vw;
        background-position: 20% center;
    }

    header, section {
        margin-top: -200px;
        padding-top: 200px;
        margin: 1.5em auto;
        /*background-color: var(--color-1); */
        padding: 0px;
        border-radius: 1em;
        box-shadow: 0px 8px 16px 0px var(--color-shadow);
    }
    
    body {
        padding: 1em 0;
        padding-top: 10em;
    }
}


header img#picture1 {
    margin: 0;
    max-width: 100%;
    height: clamp(230px, 50vw, 360px);
    border-radius: 1em;
    object-fit: cover;
    object-position: top;
    align-items: center;
}

.text-container {
    margin: 0;
    padding: 0;
}

.text-container p {
    margin: 0.75em 0 1em 0;
    font-size: 1.25rem;
    /*text-align: justify;
    hyphens: auto; */    
}

h2 {
    font-size: clamp(1.5rem, 2vw + .5rem, 2.5rem);
    text-align: center;
}

/*------------------------------------------------------------------*/

section {
    padding: 1em min(0.5em, 15%);
    /*background-color: var(--color-2); */
    text-align: center;
    color: var(--text-color2);

    img {
    max-width: 100%;
    border-radius: 1em;
    object-fit: cover;
    object-position: top;
    margin: 0 0 0 auto;
    } 

    h2 {margin: 0 0 0.5em 0;}
}

.same-text-container-for-mobile-only {
    display: none;
}

@media (max-width: 820px) {

     .same-text-container-for-mobile-only {
        position: relative;
        text-align: center;
        max-width: 100%;
        margin: 0;
        padding: 10px;
        /*height: 35em;*/
        color: white;
        background-image: linear-gradient(to bottom, var(--base-color), hsla(0, 0%, 18%, 0.343), hsla(0, 0%, 18%, 0.343), hsla(0, 0%, 18%, 0.343), hsla(0, 0%, 18%, 0.343), var(--base-color));
        background-color: rgba(33, 33, 33, 0.291);
        border-radius: 0;
        display: flex;
        font-size: 1.5rem;
        box-shadow: none;
    }

    /*.same-text-container-for-mobile-only {
        display: block;
        max-width: 90%;
        margin: 0 auto;
        text-align: center;
        color: var(--text-color2);
    }*/

    .same-text-container-for-mobile-only p {
        margin: 0.75em 0 1em 0;
        font-size: 1.25rem;
        line-height: 1.3;
    }

    .same-text-container-for-mobile-only a {
        color: white;
    }
}

/*------------------------------------------------------------------*/


section#support {
    background-image: url("/images_biathlon/IMG_0327-wide.JPG");
    background-size: cover;
    background-position: 25% 50%;
    background-color: rgba(74, 74, 74, 0.454);
    color: var(--text-color2);
}

section#support .support-content {
    max-width: 50em;
    margin: 0 auto;
    text-align: center;
    margin-right: 10px;
    margin-left: auto;
}

.flex-container2 {
    max-width: 50vw;
    margin-left: auto;

}

.text-container2 {
    /*flex: 0 1 65em;*/
    margin: 2em 3vw .5em 3vw;
    line-height: 1.3;
    max-width: 60vw;
}

@media (max-width: 550px) {
    section#support {
        background-size: cover;
        background-position: 20% 50%;
    }

    section#support .support-content {
        max-width: 100%;
        text-align: center;
        margin: auto;
    }

    .flex-container2 {
        max-width: 100%;
        margin: auto;
    }

    .text-container2 {
        /*flex: 0 1 65em;*/
        margin: auto;
        max-width: 100%;
    }
}

.text-container2 p {
    margin: 0.75em 3vw 1em 3vw;
    font-size: 1.25rem;
    text-align: center;
}

.grid-container1 {
    margin-top: .5em;
    margin-bottom: 1em;
    margin-left: 1vw;
    margin-right: 1vw;
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
    grid-template-rows: 0.5fr 0.5fr;
    grid-template-areas: 
    "img-2"
    "img-3"
    /*"img-4 img-1"*/;
    column-gap: 3vw; 
    row-gap: 1vw;
}
.img-grid-container1 { display: none; }

.grid-container1 img {
    height: 100%;
    width: 100%;
    border-radius: 1em;
    margin: auto; 
}

.cta-button2 {
    margin: auto;
    width: 100%;
    max-width: 400px;
    height: 90%;
    display: inline-block;
    text-decoration: none;
    color: var(--text-color2);
    background-color: var(--color-backgroundtp-cta2);
    border-style: double;
    border-color: var(--text-color2);
    border-radius: .5em;
    padding: 0.5em;
    border-radius: .5em;
    place-content: center;
    box-shadow: 0 4px 10px var(--color-shadow);
    transition: box-shadow 0.3s ease, transform 0.3s ease;

   img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 10px auto;
    max-height: 220px;
   }

   h3 {
    font-size: clamp(0.1rem, 1vw + .4rem, 2rem);
    font-weight: 100;
    }
   h4 {
    font-size: clamp(0.1rem, 1.3vw + .4rem, 2rem);
    text-decoration: underline; 
    line-height: 2;
    }
   h5 {
    font-size: clamp(0.1rem, 1.2vw + .5rem, 2rem);
   }
}

.cta-button2:hover {
    scale: 1.05; 
    /* transition: scale 0.2s ease-in-out; */
    box-shadow: 0 6px 18px var(--color-shadow);
    transform: translateY(-3px);
} 

@media (max-width: 550px) {
    .img-grid-container1 { display: block; }
    .grid-container1 {
        margin-top: 5px;
        margin-bottom: 1em;
        margin-left: 1vw;
        margin-right: 1vw;
        display: grid;
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 1fr 1fr 1fr;
        grid-template-areas: 
        "img-2 img-1"
        "img-2 img-1"
        "img-3 img-1"
        /*"img-4 img-1"*/;
        column-gap: 3vw; 
        row-gap: 1vw;
    }

    .grid-container1 img {
        height: 100%;
        width: 100%;
        border-radius: 1em;
        margin: auto; 
    }


    section#support {
        background-image: linear-gradient(to right bottom, hsla(0, 60%, 47%, 0.412), rgba(0, 0, 0, 0.353));
        background-size: cover;
        background-position: 25% 50%;
        background-color: rgba(74, 74, 74, 0.454);
        color: var(--text-color2);
    }
}

/*------------------------------------------------------------------*/

section#sponsors {
    /* background-color: var(--color-3); */
    background-image: linear-gradient(to left bottom, var(--color-3), var(--color-3-gr));
    color: var(--text-color3);

    h2 {margin: 0.5em 0 0.8em 0;}
}

#sponsors .sponsors-content {
    max-width: 60em;
    margin: 0 auto;
}

section#sponsors-rest {
    background-color: white;
    border-radius: 1em 1em 0 0;
    box-shadow: none;
    background-image: linear-gradient(to right, var(--base-color), white, white, white, white, var(--base-color));
    color: var(--text-color3);
    margin-bottom: -5em !important;

    h2 {margin: 1em 0 1em 0;}
}

#sponsors-rest .sponsors-rest-content {
    max-width: 60em;
    margin: 0 auto;
}

@media (max-width: 1000px) {
section#sponsors-rest {
    background-color: white;
    border-radius: 1em 1em 0 0;
    box-shadow: none;
    background-image: linear-gradient(to right, white, white);
}
}

.sponsor-type {
    font-size: clamp(0.9rem, 1vw + .5rem, 1.3rem);
    margin-top: 2em;
    margin-bottom: -0.5em;
}

.Thankyou {
    font-size: clamp(0.9rem, 1vw + .5rem, 1.3rem);
    margin-top: 2.5em;
    margin-bottom: 1.3em;
}

.grid-container2 {
    margin-top: 1.5vw;
    margin-bottom: 2vw;
    margin-left: auto;
    margin-right: auto;
    display: grid;
}

.grid-container2 img {
    height: auto;
    width: 100%;
    border-radius: .5em;
    
}

.grid-container2 img:hover {
    scale: 1.06;
    transition: scale 0.2s ease;
}

.gc2_1 {
    width: 90%;
    grid-template-columns: 0.3fr repeat(2, 1fr) 0.3fr;
    grid-template-rows: 1fr;
    grid-template-areas: 
    "img-3 img-1 img-2 img-4";
    column-gap: 5vw; 
    row-gap: 3vw;
    
}

.cta-button3 {
    margin: auto;
    max-width: 100%;
    max-height: 100%;
    aspect-ratio: 16 / 9;
    display: inline-block;
    text-decoration: none;
    color: var(--text-color3);
    background-color: var(--color-backgroundtp-cta3);
    border-style: none;
    border-color: var(--text-color3);
    border-radius: .5em;
    padding: 0.5em;
    place-content: center;
    box-shadow: 0 4px 10px var(--color-shadow);
    transition: box-shadow 0.3s ease, transform 0.3s ease;

   h5 {
    font-size: clamp(1rem, 1.5vw, 1.8rem);
   }
}

.cta-button3:hover {
    box-shadow: 0 6px 18px var(--color-shadow);
    transform: translateY(-3px);
    scale: 1.05;
}

.gc2_2 {
    width: 65%;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    grid-template-areas: 
    "img-1 img-2 img-3";
    column-gap: 3vw; 
    row-gap: 3vw;
}

.gc2_3 {
    width: 75%;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
    grid-template-areas: 
    "img-1 img-2 img-3 img-4";
    column-gap: 2vw; 
    row-gap: 3vw;
}

.gc2_4 {
    width: 70%;
    grid-template-columns: 0.5fr repeat(2, 1fr) 0.5fr;
    grid-template-rows: 1fr;
    grid-template-areas: 
    "img-3 img-1 img-2 img-4";
    column-gap: 4vw; 
    row-gap: 3vw;
}

.gc2_5 {
    width: 75%;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: 1fr;
    grid-template-areas: 
    "img-1 img-2 img-3 img-4 img-5";
    column-gap: 2.5vw; 
    row-gap: 3vw;
}

.sponsor-figure figcaption {
    margin-top: clamp(0.2em, 1vw, 0.7em);
    text-align: center;
    font-size: clamp(0.4em, 1.3vw, 1em);
    color: var(--text-color3);
}

.sponsor-figure2 figcaption {
    margin-top: clamp(0.2em, 1vw, 0.7em);
    text-align: center;
    font-size: clamp(0.4em, 1.2vw, 0.85em);
    color: var(--text-color3);
}

@media (max-width: 550px) {
    .gc2_1 {
        width: 75%;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 1fr;
        grid-template-areas: 
        "img-1 img-2";
        column-gap: 5vw; 
        row-gap: 3vw;
        margin-top: 20px;
        
    }


    .gc2_2 {
        width: 70%;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: 1fr;
        grid-template-areas: 
        "img-1 img-2 img-3";
        column-gap: 3vw; 
        row-gap: 3vw;
        margin-top: 20px;
    }
    
    .sponsor-figure figcaption {
        margin-top: clamp(0.2em, 1vw, 0.7em);
        text-align: center;
        font-size: clamp(0.8em, 1.5vw, 1.2em);
        color: var(--text-color3);
    }
}
/*------------------------------------------------------------------*/

section#fotos {
    /* background-color: var(--color-4); */
    background-image: linear-gradient(to bottom, var(--color-4), var(--color-4-gr));
}

#fotos .fotos-content {
    max-width: 75em;
    margin: 0 auto;
}

.grid-container3 {
    margin-top: 1vw;
    margin-bottom: 1vw;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    width: 97%;
    align-items: center;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr 1fr;
    grid-template-areas: 
    "img-1 img-1 img-2 img-3"
    "img-1 img-1 img-4 img-4";
    gap: calc(.5em + .5vw);
}

.grid-container3 img {
    height: 100%;
    width: 100%;
    border-radius: .5em;
    transition: scale 0.3s ease;
}

.grid-container3 img:hover {
    scale: 1.01;
}

/*------------------------------------------------------------------*/

section#athlete-profile {
    /*background-color: var(--base-color); */
    background-image: linear-gradient(to right, var(--color-5), var(--color-5-gr));
    /*box-shadow: none;*/
}

.athlete-profile-content {
    display: flex;
    flex-wrap: wrap;
    /*border: #ff0000 1px solid;*/
}

.text-container-ap {
    margin: auto auto auto 3vw;
    max-width: 60vw;
    text-align: center;
    /*border: #00ff37 1px solid;*/
}
.text-container-ap h2 {
    margin: 0.75em 3vw 1em 3vw;
    font-size: clamp(1.5rem, 2vw + .5rem, 2.5rem);
    text-align: center;
    color: var(--text-color5);
}

.not-flex-container3 {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    /*border: #0077ff 1px solid;*/
    width:40vw;
    margin-right: 5vw;
}

.cta-button {
    margin: 2vw ;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    background-color: none;
    border-style: double;
    border-color: var(--text-color);
    padding: 0em;
    border-radius: .5em;
    box-shadow: 0 4px 10px var(--color-shadow);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    width: auto;
}

.cta-button:hover {
    scale: 1.07;
    /* transition: scale 0.2s ease-in-out; */
    box-shadow: 0 6px 18px var(--color-shadow);
    transform: translateY(-3px);
}

.logo1 {
    align-items: center;
    margin: clamp(1em, 4.5vw, 1.2em);
    width: clamp(20px, 16vw, 100px);
    border-radius: 0.5em;
}


@media (max-width: 1000px) {
   .logo1 {
    align-items: center;
    margin: clamp(0.8em, 3.5vw, 1em);
    width: clamp(20px, 15vw, 80px);
    border-radius: 0.5em;
}
}

@media (max-width: 700px) {
   .logo1 {
    align-items: center;
    margin: clamp(0.8em, 3.5vw, 1em);
    width: clamp(20px, 15vw, 80px);
    border-radius: 0.5em;
}

.text-container-ap {
    margin: auto;
    max-width: 100%;
    text-align: center;
    /*border: #00ff37 1px solid;*/
}
.text-container-ap h2 {
    margin: 0.75em 3vw 1em 3vw;
    font-size: clamp(1.4rem, 1.8vw + .5rem, 2.3rem);
    text-align: center;
}

.not-flex-container3 {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    /*border: #0077ff 1px solid;*/
    width: 100%;
    margin: auto;
}
}

/*------------------------------------------------------------------*/

.fotograf {
  margin: 0;
  padding: 0;
  display: inline-block;
}

.fotograf figcaption {
  font-size: clamp(0.6em, 1vw, 0.8em);
  color: var(--text-color-fc);
  text-align: center;
  margin-top: 0.1em;
}


footer {
    padding-bottom: 1em;
    text-align: center;
    margin-top: 3em;
    margin-bottom: 2em;
}

footer a {
    margin: 0 1em;
    text-decoration: none;
    color: var(--text-color4);
}

footer a:hover {
    text-decoration: underline;
}

