@charset "utf-8";

@font-face {
    font-family: InterMedium;
    src: url(font/Inter-VariableFont_opsz,wght.ttf);
}

html {
	background: #F8F9FA;
	font-family: InterMedium;
}

body {
	margin: 0px;
	font-family: InterMedium;
	font-size: 15px;
	font-weight: 500;
}

header {
	width: 100%;
	max-width: 1400px;
	margin-inline: auto;
	margin-top: 20px;
	margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    position: sticky;
    top: 0;
    background: #F8F9FA;
    z-index: 1;
}

body {
	width: 100%;
	max-width: 1400px;
	margin-inline: auto;
}

footer {
	max-width: 1400px;
	margin-top: 20px;
}

h1, h2, h3 {
	color: #1B263B;
}

h1 {
	font-size: 64px;
	font-weight: 900;
}

h2 {
	font-size: 32px;
	font-weight: 700;
}

h3 {
	font-size: 40px;
	font-weight: 900;
}

h4 {
	color: #E63946;
	font-size: 24px;
	font-weight: 800;
}

img {
	max-width: 100%;
}

button {
	font-weight: 600;
	font-size: 16px;
	cursor: pointer;
	height: fit-content;
	width: fit-content;
}

.button {
	font-weight: 600;
	font-size: 16px;
	cursor: pointer;
	height: fit-content;
	width: fit-content;
	text-decoration: none;
}

.button-border {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	padding: 15px 30px;
	background: #F8F9FA;
	border: 1px solid #E63946;
	color: #E63946;
	border-radius: 30px;
}

.button-border:hover {
	background: #E63946;
	border: 1px solid #E63946;
	color: #FFFFFF;
}

.button-full {	
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	padding: 15px 30px;
	background: #E63946;
	border: 1px solid #E63946;
	color: #FFFFFF;
	border-radius: 30px;
}

.button-full:hover {
	background: #F8F9FA;
	border: 1px solid #E63946;
	color: #E63946;
}

.flag {
    height: 32px;
    width: 32px;
    border-radius: 100px;
}

.flags {
    display: flex;
    gap: 10px;
}

.intro {
	display: flex;
	flex-direction: row;
	gap: 40px;

}

.intro-left {
	margin-block: auto;
}

.intro-left h1 {
	margin-top: 0px;
}

.intro-text {
	color: #415A77;
	font-size: 32px;
	font-weight: 600;
}

.intro-buttons {
	display: flex;
	gap: 20px;
}

.desktop-menu {
	display: flex;
    gap: 40px;
    align-items: center;
}

.desktop-menu .menu {
	display: flex;
    gap: 30px;
    align-items: center;
}

.mobile-ball {
	display: none;
}

.desktop-ball {
	display: block;
}

.menu-item a {
    text-decoration: none;
	color: #1B263B;
}

.menu-item a:hover {
    text-decoration: underline;
}

.info-about {
	display: flex;
	gap: 20px;
	margin-top: 40px;
}

.info {
	width: 740px;
	padding: 62px;
	background: #1B263B;
	border-radius: 30px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background-image: url(images/bckgrnd_ball.png);
    background-repeat: no-repeat;
    background-position-x: 90%;
    background-position-y: 10%;
}

.info .text {
	color: #FFFFFF;
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 10px !important;
}

.info h4 {
	margin: 0px;
}

.info * {
	margin-bottom: 10px !important;
}

.info a {
	color: #E63946;
	font-size: 16px;
	font-weight: 400;
}

.location {
	display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 20px !important;
}

.location-text {
	display: flex;
    align-self: center;
    margin: 0px !important;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
}

.location * {
	margin: 0px !important;
}

.about {
	display: flex;
	gap: 20px;
	background: #EFEFEF;
	border-radius: 30px;
	padding: 20px;
	align-items: center;
}

.about-text {
	padding: 40px;
}

.about img {
	max-width: 450px;
}

.about h3 {
    margin-top: 0;
}

.sponsors {
  overflow: hidden;
  padding: 20px 0;
  margin-block: 30px;
}

.sponsors-track {
  display: flex;
  width: max-content;
  animation: scroll 30s linear infinite;
}

.sponsors-track img {
  height: 60px;
  margin: 0 40px;
  object-fit: contain;
}

/* animace */
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.plan-rules {
	display: flex;
	gap: 20px;
	margin-top: 40px;
}

.plan {
	background: #EFEFEF;
	border-radius: 30px;
	padding: 20px;
	padding: 62px;
}

.plan * {
	margin-bottom: 10px;
}

.plan h3 {
	margin: 0px;
	margin-bottom: 20px;
}

.plan h4 {
	margin: 0px;
	margin-bottom: 15px;
}

.plan a {
	color: #E63946;
	font-size: 16px;
	font-weight: 400;
}


.plan .location-text {
	color: #1B263B;
	width: 100px;
    justify-content: center;
}

.rules {
	width: 540px;
	padding: 62px;
	background: #1B263B;
	border-radius: 30px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background-image: linear-gradient(rgba(27,38,59,0.9), rgba(27,38,59,0.9)), url(images/kresba.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 90%;
}

.rules h3 {
	color: #FFFFFF;
	margin-block: 20px;
}

.rules p {
	color: #FFFFFF;
	margin-bottom: 40px;
	font-size: 16px;
	font-weight: 600;
}

.registration {
	background: #E63946;	
	background-image: linear-gradient(rgba(230,57,70,0.9), rgba(230,57,70,0.9)), url(images/bckgrnd_balls.png);
	border-radius: 30px;
	padding: 62px;
	text-align: center;
	margin-top: 20px;
}

.registration h3 {
	margin: 0px;
	color: #FFFFFF;
}

.registration p {
	color: #FFFFFF;
}

.registration button {
	margin-inline: auto;
}

.registration #reg-form {	
	background: #EFEFEF;
    border-radius: 30px;
    padding: 62px;
}

.registration form {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 20px;
}

.registration form input {
	background: #F8F9FA;
	border: 1px solid #BED5EF;
	border-radius: 5px;
	padding: 10px;
}

.registration form label {
	font-size: 20px;
	font-weight: 700;
}

.reg-teams {
	display: flex;
	flex-direction: row;
}

.reg-teams input[type="number"] {
	max-width: 25px;
}

.reg-teams .form-value {
	align-items: center;
}

.team-names {
	display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-row {
	display: flex;
    flex-direction: row;
    width: 100%;
    gap: 10px;
}

.form-value {
	width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

footer {
	background: #1B263B;
	border-radius: 30px;
	padding: 62px;
	margin-bottom: 20px;
}

.main-footer {
	display: flex;
	justify-content: space-between;
	margin-bottom: 40px;
	gap: 20px;
}

.main-footer .text-b {
	font-weight: 800;
	font-size: 16px;
	color: #F8F9FA;
}

.main-footer .text {
	font-weight: 600;
	font-size: 16px;
	color: #F8F9FA;
}

.main-footer .footer-poradatel{
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.main-footer .text * {
	font-weight: 600;
	font-size: 16px;
	color: #F8F9FA;
	text-decoration: none;
}

.footer-logo img {
	height: 50px;
}

.footer-menu {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footer-menu a {	
	color: #E63946;
	font-size: 16px;
	font-weight: 600;
}

.social-follow {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.social-icons {
	display: flex;
	flex-direction: row;
	gap: 24px;
}

.contacts {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.contacts .contact-detail {
	display: flex;
	flex-direction: row;
	gap: 16px;
	align-items: center;
}

.footer-text {
	font-weight: 600;
	font-size: 12px;
	color: #F8F9FA;
	text-align: center;
	margin-bottom: 5px;
}

.footer-text * {
	font-weight: 600;
	font-size: 12px;
	color: #F8F9FA;
	text-align: center;
	margin-bottom: 5px;
}

/* Kontejner loaderu */
#loader-container {
	text-align: center;
    display: flex;
    flex-direction: column;
}

/* Loader kolečko */
#loader {
	border: 8px solid #f3f3f3;
	border-top: 8px solid #E63946;
	border-radius: 50%;
	width: 60px;
	height: 60px;
	animation: spin 1s linear infinite;
	margin: 0 auto;
}

/* Text pod loaderem */
#loader-text {
	margin-top: 10px;
	font-size: 18px;
    color: #E63946;
    font-weight: bolder;
}

/* Otáčení */
@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

#reg-sent a {
	color: #E63946;
	text-decoration: none;
}

#reg-sent a:hover {
	text-decoration: underline;
}

.mobile-menu {
    display: none;
}

.mobile-menu-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-toggle {
    font-size: 32px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
}

.mobile-menu-items {
    display: none;
    flex-direction: column;
    gap: 16px;
    position: absolute;
    top: 50px;
    right: 0px;
    width: max-content;
    background: #EFEFEF;
    padding: 20px;
    border-radius: 20px;
}

.mobile-menu-items.active {
    display: flex;
}

.mobile-menu-items a {
    text-decoration: none;
}

.countdown {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.countdown div {
  text-align: center;
}

.countdown span {
  display: block;
  font-size: 40px;
  font-weight: bold;
}

.countdown small {
  font-size: 14px;
}

@media only screen and (min-width: 0px) and (max-width: 767px){
	body {
		padding-inline: 20px;
        width: calc(100% - 40px);
	}

	.desktop-menu {
		display: none;
	}

    .mobile-menu {
        display: flex;
    }

	.about {
		flex-wrap: wrap;
	}

	.intro {
		flex-wrap: wrap;
	}

	.info-about {
		flex-wrap: wrap;
	}

	.info {
		flex-wrap: wrap;
	}

	.plan-rules {
		flex-wrap: wrap;
	}

	.form-row {
		flex-wrap: wrap;
	}

	.main-footer {
		flex-wrap: wrap;
	}

	.rules {
		width: auto;
	}

	.registration {
		padding: 30px;
	}

	.about img {
		width: 290px;
	}

	.reg-teams {
	    flex-direction: column;
	}

	.plan {
		padding: 40px;
	}

	.mobile-ball {
		display: block;
		margin: auto;
	}

	.desktop-ball {
		display: none;
	}

	.registration #reg-form {
		padding: 40px;
	}

	.intro-buttons {
		flex-direction: column;
	}

	.button {
		width: calc(100% - 60px);
	}
}

@media only screen and (min-width: 768px)  and (max-width: 1399px){
	body {
		padding-inline: 20px;
        width: calc(100% - 40px);
	}

	.desktop-menu {
		display: none;
	}

    .mobile-menu {
        display: flex;
    }
	
	.about {
		flex-wrap: wrap;
	}
}