:root {
  --primary: #122562;
}

* {
  box-sizing: border-box;
}

html {
  position: relative;
  font-size: 14px;

  @media (min-width: 768px) {
      font-size: 16px;
  }
}

html,
body {
	height: 100%;
}

body {
	margin: 0;
	min-width: 320px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
  max-width: 100%;
  padding: 0;
  background-color: #EAEFFA;
  color: #000;
  font-family: "Bricolage Grotesque", sans-serif;
  scroll-behavior: smooth;
}

#app {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

main {
	flex: 1;
  padding: 60px 0;
}

.container {
  max-width: 1166px;
  margin: 0 auto;
  width: 100%;
  padding: 0 15px;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0 0 10px;
  color: #000;
  font-weight: 700;
}

p {
  margin: 0 0 10px;
}

strong {
  color: #000;
}

a {
  text-decoration: none;
  color: #000;
}

a:hover {
  text-decoration: none;
}

.btn {
  color: #fff;
  background: var(--primary);
  padding: 9px 18px;
  border-radius: 6px;
  border: 1px solid var(--primary);
  transition: background 0.3s ease, color 0.3s ease;
  margin: 0;
}

.space-bottom {
  margin-bottom: 40px;
}

header {
  padding: 20px 0;
  background: var(--primary);
}

header .container {
  display: flex;
  align-items: center;
  gap: 50px;
  justify-content: space-between;
}

header nav {
  display: flex;
  align-items: center;
  gap: 15px;
}

header a {
  color: #fff;
}

input,
textarea,
select {
  background-color: #fff;
  border-radius: 6px;
  border: 1px solid #E5E5E5;
  padding: 10px;
  width: 100%;
  color: #000;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: none;
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23122562' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
  padding-right: 36px;
}

label {
  display: block;
  margin-bottom: 20px;
}

h1 {
  font-size: 50px;
  text-align: center;
}

h2 {
  font-size: 30px;
  margin-bottom: 30px;
}

footer {
  padding: 20px 0;
  background: var(--primary);
  color: #fff;
  text-align: center;
}

footer h2 {
  color: #fff;
}

footer form {
  display: flex;
  gap: 10px;
  max-width: 350px;
  margin: 0 auto;
}

footer form input {
  margin: 0;
}

footer form .btn {
  background: #DC143C;
  border: 1px solid #E5E5E5
}

.img-holder {
  overflow: hidden;
  border-radius: 6px;
  font-size: 0;
}

.img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cards-list {
  display: grid;
  gap: 20px;

  @media (min-width: 768px) {
    grid-template-columns: repeat(2, 1fr);
  }

  @media (min-width: 1024px) {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

.card {
  color: #000;
}

.card:hover img {
  transform: scale(1.05);
}

.card .img-holder {
  height: 230px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 15px;
}

.card img {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}

.card h2 {
  margin-bottom: 10px;
}

.page-title {
  margin-bottom: 43px;
  text-align: center;
}

.content-section .img-holder {
  margin-bottom: 40px;
  position: relative;
}

.content-section .youtube-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: .3s background;
  cursor: pointer;
}

.content-section .youtube-link:hover {
  background: rgba(0, 0, 0, 0.3);
}

.content-section .youtube-link img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: auto;
}

.event-body {
  margin-bottom: 40px;
}

.content-section a:not([class]) {
  color: var(--primary);
}

.event-registration {
  list-style: none;
  counter-reset: li;
  padding: 0;
  margin: 0;
}

.event-registration li {
  counter-increment: li;
}

.event-registration h2::before {
  content: counter(li) ". ";
  font-weight: bold;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
}

table thead th {
  background: #DFE2E9;
  border-bottom: 1px solid #eee;
}

table thead th:first-child {
  border-top-left-radius: 6px;
}

table thead th:last-child {
  border-top-right-radius: 6px;
}

table th,
table td {
  padding: 10px;
  text-align: left;
}

table th,
table td {
  border-right: 1px solid #eee;
}

table th:last-child,
table td:last-child {
  border-right: none;
}

table tbody tr:nth-child(even) {
  background: #F8FAFF;
}

table tbody tr:nth-child(odd) {
  background: #fff;
}

.col-sm {
  width: 50px;
}

.event-registration form {
  max-width: 600px;
  width: 100%;
  margin-bottom: 40px;
}

.custom-list {
  padding: 0;
  margin: 0 0 40px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.payment-methods label {
  display: flex;
  align-items: center;
  gap: 16px;
}

.payment-methods .fake-label {
  display: flex;
  gap: 8px;
  align-items: center;
}

.payment-methods .fake-label img {
  width: 40px;
  height: 40px;
}

.alert-msg {
  padding: 15px;
  border-radius: 6px;
  background-color: #f1c40f;
  color: #34495e;
  margin-bottom: 10px;
}

.modal.show .modal-backdrop {
	opacity: 1;
	visibility: visible;
}

.modal.show .modal-content {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, -50%);
}

.modal-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1040;
	background-color: rgba(0, 0, 0, .5);
	opacity: 0;
	visibility: hidden;
	transition: .3s opacity, .3s visibility;
}

.modal-content {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, 0);
	z-index: 1050;
	width: 100%;
	max-width: 1160px;
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 0 4px 30px rgba(0, 0, 0, .1);
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	transition: .3s transform, .3s visibility, .3s opacity;
}

.video-modal .video-holder {
	position: relative;
	padding-top: 50%;
}

.video-modal .video-holder iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}