/* 
    Created on : 12. 8. 2024, 13:31:51
    Author     : miled
*/
:root {
    --black: #000;	
    --white: #fff;
    --blue: #30b8ed;
    --red: #e31f26;
    --light-grey: #f6f6f6;
    --middle-light-grey: #eaeaea;
    --dark-grey: #575757;	
    --light-blue: #7bdaff;
    --light-blue-alt: #25c0fc;
    --default: #333;
    --pink: #ff5e8f;
    --dark-blue: #16254c;
    --middle-blue: #0063ad;
}

body {
  font-family: "Poppins", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.logo {
    width: 180px;
}

header {
    padding-top: 2rem;
    padding-bottom: 2rem;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 10;
    transition: all 0.3s;
    background: var(--white);    
    padding-top: 1rem;
    padding-bottom: 1rem;    
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-link {
    color: var(--white);
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 400;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--light-blue);
}

.nav-link.active {
    color: var(--light-blue);
}

.nav-item .btn {
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
}

.scrolled .nav-link {
    color: var(--dark-blue);
}

.scrolled .nav-link:hover,
.scrolled .nav-link:focus {
    color: var(--light-blue-alt);
}

.scrolled .nav-link.active {
    color: var(--light-blue-alt);
}

.scrolled .nav-item .btn-outline-light {
    color: var(--blue);
    border-color: var(--blue);
}

.scrolled .nav-item .btn-outline-light:hover {
    color: var(--white);
    background-color: var(--light-blue-alt);
    border-color: transparent;
}

.flag {
  width: 1rem;
  margin-right: 0.5rem;
}

.menu-langs {  
  margin-left: 0.75rem;
}

.menu-langs .dropdown-menu {
  min-width: 7rem;
}

.dropdown-menu {
  border: 0;
  box-shadow: 0 5px 32px rgba(0,0,0,0.15);
  padding: 1rem 0.5rem;
  background: rgba(255,255,255,0.2);
}

.dropdown-item {
    color: var(--white);
}

.scrolled .dropdown-menu {
  box-shadow: 0 5px 32px rgba(0,0,0,0.15);
  padding: 1rem 0.5rem;
  background: rgba(255,255,255,1);
}

.scrolled .dropdown-item {
    color: var(--default);
}

.main {
    padding-top: 80px;
    padding-bottom: 80px;    
}

.main-privacy {
    padding-top: 200px;
}

.main-pink {
    background: var(--pink);
    border-bottom: 4px solid var(--white);
}

.main h1 {
    font-weight: 800;
    color: var(--dark-blue);
}

.main h2 {
    font-weight: 700;
    color: var(--dark-blue);
    margin-top: 3rem;
    font-size: 1.8125rem;
}

.main h3 {
    font-weight: 700;
    color: var(--dark-blue);
    font-size: 1.25rem;
    margin-top: 1rem;
}

.blue {
    color: var(--blue);
}

.pink {
    color: var(--pink);
}

.dark-blue {
    color: var(--dark-blue);
}

.middle-blue {
    color: var(--middle-blue) !important;
}

.main p,
.main ul {
    font-weight: 300;
    color: var(--dark-grey);
    font-size: 1.125rem;
}

.main p strong {
    color: var(--dark-blue);
}

.secondary {
    background-image: radial-gradient(circle, #0063ad, #000);
    background-size: cover;
    padding-top: 100px;
    padding-bottom: 100px;
    border-bottom: 4px solid var(--white);
}

.secondary h1 {
    font-weight: 800;
    color: var(--white);
}

.secondary p {
    font-weight: 300;
    color: rgba(255,255,255,0.8);
    font-size: 1.125rem;
}

.banner img {
    max-height: 520px;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: left -40px;
    object-position: left -40px;    
} 

.contest-container {
    padding-top: 2rem;
}

.contest-item {
    background: var(--white);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.3s;
}

.contest-item:hover {
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    transform: scale(1.03);
}

.end-date {
    position: absolute;
    left: 1rem;
    top: 1rem;
    font-size: 0.75rem;
    display: inline-block;
    padding: 4px 8px;
    background: rgba(255,255,255,0.5);
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.link-share {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 0.75rem;
    display: inline-block;
    padding: 4px 8px 4px 28px;
    background-color: rgba(255,255,255,0.5);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M 19.71875 5.28125 L 18.28125 6.71875 L 24.5625 13 L 11 13 C 7.144531 13 4 16.144531 4 20 C 4 23.855469 7.144531 27 11 27 L 11 25 C 8.226563 25 6 22.773438 6 20 C 6 17.226563 8.226563 15 11 15 L 24.5625 15 L 18.28125 21.28125 L 19.71875 22.71875 L 27.71875 14.71875 L 28.40625 14 L 27.71875 13.28125 Z'/%3E%3C/svg%3E");
    background-size: 1rem;
    background-position: 8px 50%;
    background-repeat: no-repeat;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    color: var(--blue);
    text-decoration: none;
    transition: all 0.3s;
}

.link-share:hover,
.link-share:focus {
    background-color: rgba(255,255,255,1);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='%23e31f26'%3E%3Cpath d='M 19.71875 5.28125 L 18.28125 6.71875 L 24.5625 13 L 11 13 C 7.144531 13 4 16.144531 4 20 C 4 23.855469 7.144531 27 11 27 L 11 25 C 8.226563 25 6 22.773438 6 20 C 6 17.226563 8.226563 15 11 15 L 24.5625 15 L 18.28125 21.28125 L 19.71875 22.71875 L 27.71875 14.71875 L 28.40625 14 L 27.71875 13.28125 Z'/%3E%3C/svg%3E");
    color: var(--red);
}

.logo-container {
    width: 120px;
    height: 120px;
    position: absolute;
    left: 50%;
    margin-left: -60px;
    background: var(--white);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    top: 350px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-container-main {
    width: 180px;
    height: 180px;
    background: var(--white);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -6rem;
}

.logo-container img,
.logo-container-main img {
    width: 100%;
    margin: 1rem;
}

.contest-description {
    padding: 5rem 2rem 2rem 2rem;
    text-align: center;
    color: var(--red);
    font-weight: 600;
    text-transform: uppercase;
}

.contest-item h2 {
    color: var(--blue);
    text-align: center;
    font-weight: 800;
    padding-left: 2rem;
    padding-right: 2rem;
    margin-bottom: 2rem;
}

.contest-item .btn {
    display: block;
    margin-left: 2rem;
    margin-right: 2rem;
}

.contest-item {
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.btn-outline-danger {
    border-color: var(--red);
    color: var(--red);
}

.btn-outline-danger:hover,
.btn-outline-danger:focus {
    border-color: var(--red);
    color: var(--white);
    background-color: var(--red);
}

.btn-danger {
    background-color: var(--pink);
    border-color: transparent;
}

.contest-item .btn {
    font-weight: 800;
}

footer {
    background-image: linear-gradient(to right, #000, #0063ad);
    padding-top: 4rem;
    padding-bottom: 4rem;
    color: var(--white);
    font-size: 14px;
}

footer p,
footer ul {
    color: rgba(255,255,255,0.7);
    font-weight: 300;
}

footer p strong {
    font-weight: 400;
    color: var(--white);
}

.logo-footer {
    width: 200px;
    margin-bottom: 1rem;
}

footer a {
    color: var(--white);
    text-decoration: none;
}

footer a:hover,
footer a:focus {
    color: var(--red);
}

.text-small {
    font-size: 0.8125rem;
}

footer hr {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.formular .form-check-label {
    font-size: 0.9rem;
}

.form-check-input:checked {
  background-color: var(--dark-blue);
  border-color: var(--dark-blue);
}

.form-control::-moz-placeholder {
  color: #999;
  opacity: 1;
}
.form-control::placeholder {
  color: #999;
  opacity: 1;
}

.main .formular a {
    color: var(--dark-blue);
}

.main-pink .formular a {
    color: var(--white);
}

.formular a:hover {
    color: var(--blue);
}



details {
	background: var(--light-grey);
	border: 1px solid var(--middle-light-grey);	
        margin-bottom: 1rem;
}

details:hover {
	background: var(--middle-light-grey);
}

details summary {
	font-weight: 600;
	padding: 1rem;
	font-size: 1.125rem;
}

details p {
	padding: 1rem;
	background: var(--white);
	margin: 0;
}

.intro {
    /*height: 100vh;
    max-height: 1000px;*/
    background-image: linear-gradient(to left, #0063ad, #000);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: flex-end;    
    padding-top: 160px;
}

.intro h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 18px;
    font-weight: 600;
}

.intro p {
    font-weight: 300;
    color: rgba(255,255,255,0.8);
    font-size: 1.25rem;
}

.intro img {
    width: 360px;
    margin-right: 2rem;
}

.intro .container {
    padding-bottom: 80px;
    display: flex;
    align-items: flex-end;
}

.header-above {
    height: 100vh;
    min-height: 660px;
    max-height: 1000px;
    background-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.2) 20%, rgba(0,0,0,0.7) 100%), url(../img/header_webseite.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    display: flex;
    align-items: flex-end;
}

/*.header-above h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 2rem;
}*/

.header-above img {
    width: 300px;
    max-width: 100%;
    height: auto;
}

.header-above .container {
    padding-bottom: 80px;
    display: flex;
    flex-direction: row-reverse;
}

.header-text {
 color: var(--white);
  font-size: 18px;
  max-width: 800px;
  margin-bottom: 2rem;
  margin-left: auto;
  margin-right: auto;   
  text-wrap: balance;
}

.logo-link {
    display: inline-flex;
    flex-direction: column;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.5rem;
    line-height: 1;
    transition: all 0.3s;
}

.logo-link span {
    color: var(--light-blue);
    text-transform: none;
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.3s;
}

.scrolled .logo-link {
    color: var(--blue);
    font-size: 1.25rem;
}

.scrolled .logo-link span {
    color: var(--light-blue-alt);
    font-size: 0.9rem;
}

.main-pink form .form-label {
    color: var(--white);
}

.main-pink form .form-control,
.main-pink form .form-select {
    color: var(--white);
    background-color: var(--dark-blue);
    border-color: transparent;
}

.main-pink form .form-text,
.main-pink form .form-check-label {
    color: var(--white);
}

.btn-outline-primary {
    border-color: var(--dark-blue);
    color: var(--dark-blue);
}

label.required::after,
.form-check-label.required::after {
    content: "*";
    color: #c00;
    margin-left: 0.125rem;
}

.main-pink {
    position: relative;
}

.xc-captcha {
    position: absolute !important;
}

.formular .requirement {
    display: none;
}

@media(max-width: 767px) {
    .logo {
        width: 120px;
    }

    header {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
        height: 60px;
    }
    main {
        padding-top: 60px;
    }
    .banner img {
        height: 300px;
        -o-object-fit: cover;
        object-fit: cover;
        -o-object-position: left top;
        object-position: left top;
    }    
    .main {
        padding-top: 50px;
    }
    .formular {
        margin-top: 0px;
    }
    .hide-mobile {
        display: none;
    }
    .menu-langs {
      border-left: 0;
    }
    
    .intro .container {
        flex-direction: column-reverse;
        align-items: flex-start;
    }
    .intro img {
        width: 200px;
        margin-top: 2rem;
    }
    .intro h1 {
        color: var(--white);
        font-size: 2rem;
    }
    .header-above img {
        width: 200px;
        margin-bottom: 2rem;
    }
    .header-above .container {
        display: flex;
        flex-direction: column-reverse;
        padding-bottom: 0;
    }
    .header-index {
        display: none;
    }
}