/* 
    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;	

}

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

.logo {
    width: 160px;
}

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

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

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

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

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

.menu-langs {
  border-left: 1px solid rgba(0,0,0,0.1);
  padding-left: 0.75rem;
  margin-left: 0.75rem;
}

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

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

main {
    padding-top: 80px;
}

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

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

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

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

@media(max-width: 767px) {
    .banner-intro img {
        height: 220px;
        -o-object-fit: cover;
        object-fit: cover;
    }    
}
 

.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: -60px;
    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%;
    padding: 1.25rem;
}

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

.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 {
    background: var(--blue);
    padding-top: 4rem;
    padding-bottom: 4rem;
    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;
}

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