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

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

.logo {
    width: 160px;
}

header {
    padding-top: 2rem;
    padding-bottom: 2rem;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 10;
    transition: all 0.3s;
}

header.scrolled {
    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);    
    font-weight: 600;
}

.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(--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: 100px;
    padding-bottom: 100px;
    background-image: url(../img/bg-communication3.jpg);
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: right top;
}

@media(min-width: 1800px) {
    .main {
        background-size: auto 1000px;
        background-position: right center;
    }    
}

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

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

.main p strong {
    color: var(--blue);
    font-weight: 600;
}

.secondary {
    background-image: radial-gradient(circle, #10b9f9, #004b78);
    background-size: cover;
    padding-top: 100px;
    padding-bottom: 100px;
}

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

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

.secondary p strong {
    color: var(--white);
}

.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(--red);
    border-color: transparent;
}

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

footer h1 {
    font-weight: 800;
    font-size: 2rem;
}

footer {
    background: #071518;
    padding-top: 5rem;
    padding-bottom: 4rem;
    color: var(--white);
}

footer p {
    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(--light-blue);
}

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

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

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

.formular {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    padding: 2rem;
    background: var(--white);
    margin-top: -300px;
}

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

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;
}

@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 {
    height: 100vh;
    max-height: 1000px;
    background-image: linear-gradient(to bottom,rgba(0,0,0,0) 40%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.7) 100%), url(../img/bg-delivera.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: flex-end;    
}

.intro h1 {
    color: var(--white);
    text-shadow: 2px 2px 30px #47c5e8;
    font-size: 6rem;
    font-weight: 700;
    display: flex;
    align-items: flex-end;
    line-height: 0.7;
    margin-bottom: 0.25rem;
}

.intro h1 img {
    width: 9rem;
    margin-right: 1rem;
}

.intro p {
    font-weight: 600;
    color: rgba(255,255,255,1);
    text-shadow: 2px 2px 18px #f88c31;
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
}

.intro .container {
    padding-bottom: 80px;
}

.intro .btn {
    padding-left: 1rem;
    padding-right: 1rem;
}

.logo-link {
    display: inline-flex;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.75rem;
    line-height: 1;
    transition: all 0.3s;
    align-items: flex-end;
}

.logo-link img {
    width: 2.5rem;
    margin-right: 0.75rem;
}

.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;
}

footer .logo-footer {
    color: var(--white);
    font-size: 3rem;
    font-weight: 700;
    display: flex;
    align-items: flex-end;
    line-height: 0.7;
    margin-bottom: 0.25rem;
}

footer .logo-footer img {
    width: 4rem;
    margin-right: 1rem;
}

footer hr {
    margin-top: 4rem;
}

.secondary svg {
    fill: var(--white);
    width: 96px;
    margin-bottom: 1rem;
}