* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html,
h1,
body,
h2,
h3,
h4,
h5,
h6,
table,
tr,
td,
th,
ol,
button,
p,
a,
ul,
li,
img {
  margin: 0;
  padding: 0;
}

body {
  margin-top: 100px;
  background-color: #24272e;
  color: white;
  font-family: 'Cabin', sans-serif;
}

footer > p {
	margin-top: 10px;
	color: #fff;
	text-align: center;
}

footer {
	position: relative;
	bottom: 0;
	left: 0;
	width: 100%;
	background: #191a1f;
	padding: 20px calc((100% - 1170px) / 2) 20px;
}

.center_image {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin: 20px 0;
}

main {
	margin-top: 30px;
  margin-bottom: 60px;
	margin-left: 244px;
	margin-right: 224px;
}

h1 {
	font-size: 36px;
	font-weight: 700;
}

ul, ol {
	line-height: 25px;
	margin-top: 20px;
  margin-left: 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 18px;
}

main > div:first-of-type > ul{
  list-style-type: none;
  margin-left: 5px;
  font-size: 16px;
  width: 230px;
  line-height: 18px;
  font-weight: 400;
}

main > div:first > ul > li {
  text-decoration: none;
  color: white;
}

main > p {
	line-height: 32px;
	margin-top: 40px;
	font-size: 18px;
}

td {
  padding-top: 8px;
  padding-bottom: 8px;
}

table {
  border-collapse: collapse;
  width: fit-content;
  border-spacing: 0;
}

 table {
  display: block;
  margin: 30px auto;
  border-collapse: collapse
}

 tbody {
  width: 100%;
  background-color: #262626;
}

 table td {
  border: 1px solid rgba(255,255,255,.3);
  padding: 10px
}

main > h1, main > h2, main > h3 {
	margin-top: 40px;
  color: #f8ff14;
}

h1 + p, h2 + p {
	margin-top: 0;
}

header {
	position: fixed;
  width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: #191a1f;
	padding: 10px calc((100% - 1170px) / 2);
	z-index: 5;
  top: 0;
}

main > div:first-of-type {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.list__container {
  margin-top: 30px;
  justify-content: space-between;
  gap: 20px;
  display: flex;
  align-items: center;
}

main > div:first-of-type > img {
  width: 66%;
}

.header_buttons {
  display: flex;
  gap: 20px;
}

.header_buttons a {
  white-space: nowrap;
  border-radius: 6px;
  padding: 9px 21px;
  border: 1px solid #f8ff14;
}

.questions-title {
  font-weight: 700;
  font-size: 24px;
  color: white;
  margin-top: 60px;
  margin-bottom: 30px;
}

.dropdown {
  min-width: 15em;
  position: relative;
  margin-top: 16px;
} 

.sitemap_list {
  margin-left: 16px;
  list-style-type: none;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.sitemap_list a {
  color: #fff;
  text-decoration: none;
}

.select {
  background: #2a2f3b;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 2px #2a2f3b solid;
  border-radius: 0.5em;
  padding: 12px 16px;
  cursor: pointer;
}

.selected {
  font-size: 18px;
  font-weight: 500;
}

.select-clicked {
  border: 1px #FFD60E solid;
  border-bottom: none;
}

.caret {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #fff;
  transition: 0.3s;
}


.caret-rotate {
  transform: rotate(180deg);
}

.menu {
  list-style: none;
  background: #323741;
  border: 1px #363a43 solid;
  box-shadow: 0 0.5em 1em rgba(0, 0, 0, 0.2);
  border-radius: 0.5em;
  color: #9fa5b5;
  top: 3em;
  width: 100%;
  opacity: 0;
  display: none;
  transition: 0.2s;
  z-index: 1;
  margin-top: 16px;
}

.menu li {
  padding: 12px 16px;
  border-radius: 0.5em;
  cursor: pointer;
  font-size: 15px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.menu-open {
  display: block;
  opacity: 1;
  margin-left: 0;
  background-color: #353D52;
}

.dropdown__element {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
}

.dropdown--last {
  margin-bottom: 93px;
}


.header_buttons a:last-of-type {
  background-color: #f8ff14;
  color: black;
}

@media (max-width: 1200px) {
	header {
		padding: 10px 20px;
	}

  .registration {
    align-self: center;
  }

  .list__container {
    flex-direction: column;
    gap: 40px;
    align-items: start;
  }

  .license__container > {
    align-self: center;
  }

  main > div:first-of-type {
    flex-direction: column;
  }

  main > div:first-of-type > img {
    align-self: center;
    width: 70%;
  }
}

@media (max-width: 1024px) {
	header {
    flex-direction: column;
    gap: 14px;
		flex-wrap: wrap;
	}
}

header > div > svg:first-of-type {
	width: 250px;
	height: 117px;
}

@media (max-width: 920px) {
  .sport__container {
    flex-direction: column;
    gap: 30px ;
  }

  .sport {
    width: 100%;
  }
}
@media (max-width: 720px) {
  header > div:first-of-type {
    gap: 20px;
  }
  .center_image  {
    width: 100%;
  }
  footer {
    padding: 120px calc((100% - 1170px) / 2) 20px;
  }
  header > div > svg:first-of-type {
		width: 150px;
		height: 87px;
	}	

  header {
    padding: 5px;
  }

  main > div:first-of-type > img {
    width: 100%;
  }

  .mobile {
    width: 100%;
  }

  .bonuses {
    width: 100%;
  }

  .registration {
    width: 100%;
  }

}

.header_links, .footer_links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.header_links a, .footer_links a {
  font-weight: bold;
  color: #f8ff14;
}

.footer_links {
  justify-content: center;
  margin: 20px 0;
}

nav {
	position: relative;
	width: 100%;
}

@media (max-width: 1024px) {
  body {
    margin-top: 180px;
  }
	header > div:first-of-type {
		justify-content: center;
	}

	nav {
		max-width: 100%;
	}
}

@media (max-width: 768px) {
	header > div:first-of-type {
		min-height: 50px;
	}
}

nav ul {
	width: 100%;
	list-style: none;
	display: flex;
	align-items: center;
  flex-direction: row;
	justify-content: flex-end;
	flex-wrap: wrap;
}

@media (max-width: 1024px) {
	nav ul {
		justify-content: center;
	}
}

@media (max-width: 768px) {
	nav ul {
		display: inline-flex;
		align-items: center;
		padding-bottom: 20px;
		flex-direction: column;
		transition: all 0.3s linear;
	}
}

nav ul li {
	position: relative;
	margin: 0 10px 20px !important;
}

@media (max-width: 1024px) {
	nav ul li {
		margin: 0 45px;
		height: 35px;
		line-height: 35px;
	}
}

@media (max-width: 768px) {
	nav ul, nav {
		width: 125px;
	}
	nav ul li {
		margin: 0 0 5px !important;
		text-align: center;
		height: auto;
	}
}

nav ul li:first-child {
	margin-left: 0;
}

nav ul li a {
	background-color: #f8ff13;
}

nav ul li a,
nav ul li span {
	font-size: 14px;
	padding: 10px 15px;
	color: #232939;
	text-decoration: none;
	font-weight: 700;
	text-transform: uppercase;
}

nav ul li a:hover,
nav ul li span:hover {
	color: #affc80;
}

nav ul li.current-menu-item span {
	color: #affc80;
}

@media (max-width: 768px) {
	#nav-icon {
		display: none;
	}
}

.container {
	padding: 40px calc((100% - 1070px) / 2) 100px;
}

@media (max-width: 1200px) {
	.container {
		padding: 40px 20px 100px;
	}
}

@media (max-width: 768px) {
	header {
		justify-content: center;
    flex-wrap: nowrap;
	}

  .header__logo {
    width: 270px;
  }
}

h1 {
	font-size: 36px;
  color: #f8ff14;
	font-weight: 700;
}

li::marker {
  color: #f8ff14;
}

footer > div:last-of-type {
  display: none;
}

@media (max-width: 1200px) {
	main {
		margin-top: 50px;
		margin-left: 116px;
		margin-right: 99px;
	}
}

@media (max-width: 720px) {
  main {
    margin-left: 16px;
    margin-right: 16px;
    margin-bottom: 80px;
  }

  footer > div:last-of-type > a {
    text-decoration: none;
    display: inline-block;
    margin-top: 46px;
    margin-bottom: 42px;
    position: absolute;
    font-size: 18px;
    line-height: 21px;
    font-weight: 700;
    padding: 12px 0;
    text-transform: uppercase;
    text-align: center;
    width: calc(50% - 17px);
    bottom: 100px;
  }


  footer > div:last-of-type {
    display: flex;
    background-color: #232939;
    padding-right: 12px;
    gap: 10px;
  }

  footer > div:last-of-type > a:first-of-type {
    color: black;
    background-color: #f8ff13;
    left: 12px;
  }

  footer > div:last-of-type > a:last-of-type {
    border: 1px solid #f8ff13;
    right: 12px;
  }

  footer > p {
    margin-bottom: 10px;
  }
}

a {
  color: white;
  text-decoration: none;
}

.yellowlink {
  color: #f8ff14;
}

.small__images {
	display: flex;
	justify-content: space-between;
	padding: 0 30px;
	position: absolute;
	bottom: 16px;
	width: 100%;
	white-space: nowrap;
	gap: 10px;
}

@media (max-width: 1200px) {
  .bonus-image {
    background-position: 50%;
  }

  .bonus-image--second {
    background-position: 25%;
  }
}

@media (max-width: 720px) {
  .bonus-image-container {
    width: calc(100% - 32px);
    margin-left: 0px;
    margin-right: 0px;
    height: 273px;
  }

  .bonus-image--second {
    background-position: 25%;
  }

}

.main__feedback-title {
  font-size: 24px;
  color: white;
  font-weight: 700;
  line-height: 29px;
  display: flex;
  justify-content: center;
  align-items: center;
}



@media (max-width: 1200px) {
  main > div:last-of-type > div {
    padding: 30px 34px;
    gap: 35px;
  }

  main > div:last-of-type > div > p {
    line-height: 23px;
  }
}

@media (max-width: 720px) {
  main > div:last-of-type > div {
    padding: 30px 34px;
    gap: 35px;
    text-align: center;
    flex-direction: column;
  }

  main > div:last-of-type > div > p {
    text-align: center;
  }

  main > div:last-of-type {
    gap: 30px;
  }
}