@font-face {
	font-family: 'Roboto'; 
	src: url(./Roboto-Regular.ttf); 
}

@font-face {
	font-family: 'Roboto Bold'; 
	src: url(./Roboto-Bold.ttf); 
}

:root {
  --first-color: #FFE503;
  --second-color: #6FFB18;
  --text-color: #FEFFFF;
  --body-color: #011A44;


  --body-font: 'Roboto', sans-serif;
  --body-font-bold: 'Roboto Bold', sans-serif;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;

}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body,
button,
input {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  background: linear-gradient(to right, #011A44, #6FFB18);
  color: var(--text-color);
  height: 100%;
}

.wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

h1, h2, h3 {
  font-family: var(--body-font-bold);
}

h1 {
  font-size: var(--h1-font-size);
  padding: .5rem;
  background: linear-gradient(to right, #6FFB18, #011A44);
  border-radius: .5rem;
}

h2 {
  font-size: var(--h2-font-size);
  color: var(--body-color);
}

h3 {
  font-size: var(--h3-font-size);
  color: var(--first-color);
}

p {
  line-height: 160%;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1240px;
  margin-right: 1.5rem;
  margin-left: 1.5rem;
}

.section {
  padding: 4rem 0 1rem;
  margin-top: 2rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.main {
  overflow: hidden;
  flex: 1 1 auto;
}

.header {
  width: 100%;
  background-color: var(--body-color);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  transition: background .3s;
}

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

.nav__logo {
  font-family: var(--body-font-bold);
  color: var(--first-color);
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: var(--h3-font-size);
}

.nav__logo img {
  width: 4rem;
}

.nav__toggle {
  cursor: poRoboto;
}

@media screen and (max-width: 1023px) {
  .nav__menu {
    position: fixed;
    background-color: var(--body-color);
    top: 0;
    right: -100%;
    width: 50%;
    height: 100%;
    transition: right .3s;
    padding-left: 2rem;
  }
}

.nav__list {
  padding: 5rem 0 3rem;
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
}

.nav__link {
  color: var(--text-color);
  transition: color .3s;
  font-family: var(--body-font-bold);
  font-size: var(--small-font-size);
}

.nav__link:hover {
  color: var(--first-color);
}

.nav__close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  cursor: poRoboto;
}

.show-menu {
  right: 0;
}

.button {
  display: inline-block;
  background: linear-gradient(to right, #FFE503, #6FFB18);
  padding: 1rem 3rem;
  color: var(--body-color);
  font-family: var(--body-font-bold);
  cursor: poRoboto;
  transition: background .3s;
  text-align: center;
  margin-top: .5rem;
  border-radius: .5rem;
}

.second__btn {
  background: transparent;
  color: var(--text-color);
  border: 1px solid var(--text-color);
}

.download__btn {
  background-color: var(--body-color);
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: var(--h3-font-size);
  font-family: var(--body-font-bold);
  padding: 1rem 3rem;
  justify-content: center;
  justify-self: center;
  border-radius: .5rem;
}

.btns_1_m6_v1 {
  border: 4px solid var(--first-color);
  background-color: var(--second-color);
  border-radius: 1rem;
  padding: 2rem;
  justify-items: center;
}

.left__add_1_m8_v3 {
  background: url('./1.jpg') center/cover;
  text-align: center; 
  border-radius: 1rem;
  width: 300px;
  justify-self: center;
}

.add__data_1_m8_v3 {
  background: rgba(0, 0, 0, 0.2);
  padding: 2rem;
  color: var(--text-color);
  border-radius: 1rem;
}

.left__add_1_m8_v3 img {
  justify-self: center;
}

.add__btn {
  background-color: var(--body-color);
  padding: .5rem;
  width: 200px;
  justify-self: center;
  color: var(--text-color);
  display: flex;
  justify-content: center;
  border-radius: .25rem;
}

.add__data_1_m8_v3 h2 {
  color: var(--text-color);
}

.main__container_1_m8_v3 img {
  border-radius: 2rem;
}

.main__data_1_m8_v3 {
  border: .5px solid var(--text-color);
  border-radius: .5rem;
  padding: .5rem;
  text-align: center;
  justify-content: center;
}

.footer__content a {
  color: var(--text-color);
}


.footer__info a {
  font-size: var(--small-font-size);
}

.popup {
  bottom: 0px;
  right: 0;
  width: 100%;
  padding: 1rem;
  background-color: var(--body-color);
  color: var(--text-color);
}

.popup a {
  color: var(--text-color);
}

#accept-cookies {
  background-color: var(--first-color);
  color: var(--text-color);
  border: none;
  padding: .5rem 1rem;
  margin-top: 1rem;
}


@media screen and(max-width: 340px) {
  .container {
    margin-left: 1rem;
    margin-right: 1rem;
  }


}

@media screen and (min-width: 768px) {

  .footer__info {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media screen and (min-width: 1023px) {

  .nav__menu {
    width: initial;
  }

  .nav__toggle,
  .nav__close {
    display: none;
  }

  .nav {
    display: flex;
    align-items: center;
  }

  .nav__list {
    flex-direction: row;
    padding: 0;
    align-items: center;
    column-gap: 1rem;
  }

  .section {
    margin-top: 5rem;
  }

  .main__container_1_m8_v3  {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .btns_1_m6_v1 {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .cards {
    align-items: start;
  }


}

@media screen and (min-width: 1024px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }


}