html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Raleway", sans-serif;
  font-size: 20px;
  margin: 0px;
  padding: 0px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: space-between;
}

a {
  text-decoration: none;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.header {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.container {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 0px;
  padding: 0px;
}

.offer {
  width: 100%;
  text-align: center;
  height: 60px;
  background-color: #2c2d40;
}

.text-gradient {
  font-size: 16px;
  background-image: linear-gradient(90deg, #f9ecf4 45%, #4d9aff 55%);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  width: 100%;
  text-align: center;
}

/* Topnav настройки */

.topnav {
  height: 180px;
  width: 100%;
  position: absolute;
  top: 50px;
  background-color: transparent;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.logo-container {
  width: 150px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  margin-left: 120px;
}

@media screen and (max-width: 600px) {
  .topnav {
    height: 100px;
    width: 100%;
  }
  .logo-container {
    margin-left: 30px;
  }
}

.topnav a {
  font-family: "Raleway", sans-serif;
  font-size: 16px;
  font-weight: 300;
  transition: color 0.3s;
  color: rgba(44, 45, 64, 1);
}

.topnav a.nav-link {
  padding: 10px 30px 5px;
  margin-left: 30px;
}

.topnav a.nav-btn {
  width: 160px;
  height: 46px;
  background: #4d9aff;
  box-shadow: 0px 4px 4px rgba(82, 125, 189, 0.907498);
  border-radius: 50px;
  position: static;
  margin: 0px 150px;
}

a.nav-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  font-weight: 400;
}

.topnav a:hover {
  color: black;
  font-weight: bold;
}

.topnav .nav-icon {
  display: none;
  color: #2c2d40;
}

@media screen and (max-width: 600px) {
  .topnav .nav-link:not(:first-child) {
    display: none;
  }
  .topnav .nav-btn {
    display: none;
  }
  .topnav .nav-icon {
    float: right;
    display: block;
    position: absolute;
    right: 30px;
    top: auto;
  }
}

@media screen and (max-width: 600px) {
  .topnav.responsive {
    position: relative;
  }
  .topnav.responsive .nav-icon {
    position: absolute;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
    color: #2c2d40;
  }
  .topnav.responsive .nav-btn {
    display: none;
    right: 30px;
    top: auto;
  }
}

.row-first {
  background: radial-gradient(
    86.52% 86.52% at 50% 50%,
    rgba(12, 87, 233, 0.5) 0%,
    rgba(118, 117, 212, 0.334685) 34.38%,
    rgba(222, 146, 192, 0.171875) 68.23%
  );
  height: auto;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.container-first {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  margin-top: 250px;
  margin-bottom: 80px;
}

.column1 {
  width: 50%;
  padding: 30px 100px 100px 100px;
}

.column2 {
  padding-right: 80px;
}

@media (max-width: 600px) {
  .container-first {
    margin-top: 60px;
  }
  .column1 {
    width: 100%;
    margin: 0;
    padding: 10px 40px;
  }
  .column2 {
    width: 100%;
    margin: 0;
    padding: 30px 30px;
  }
  img.big {
    width: 100%;
  }
  img.middle {
    width: 80%;
  }
  .row-first {
    height: auto;
  }
  p.headline {
    margin: 20px 20px;
  }

  .card-container {
    padding: 0px;
    margin: 0;
  }
  .card {
    margin: 0px;
    width: 100%;
  }
  #text {
    font-size: 16px;
    padding: 10px 30px;
    text-align: left;
  }

  .btn-last {
    margin: 0 30px;
  }

  a.btn-last {
    width: 100%;
    margin: auto;
    padding: 0 20px;
  }

  .feature {
    width: 100%;
    padding: 0px;
    margin: 0 200px;
  }
}

h1 {
  font-size: 40px;
  line-height: 55px;
  color: rgba(44, 45, 64, 1);
}

p.first {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 300;
  font-size: 18px;
  line-height: 30px;
}

.row-dark {
  background-color: #2c2d40;
  height: auto;
  display: flex;
  justify-content: center;
  float: left;
  flex-wrap: wrap;
  margin-top: 60px;
  margin-bottom: 40px;
  padding-bottom: 100px;
  padding-top: 40px;
}

.row-last {
  background: radial-gradient(
    86.52% 86.52% at 50% 50%,
    rgba(12, 87, 233, 0.5) 0%,
    rgba(118, 117, 212, 0.334685) 34.38%,
    rgba(222, 146, 192, 0.171875) 68.23%
  );
  height: 350px;
  display: flex;
  justify-content: center;
  padding: 20px;
  margin: 50px 0 0px;
}

/* Варианты для оформления текста */
p {
  font-family: "Raleway";
  font-style: normal;
  font-size: 14px;
  font-weight: 300;
  line-height: 30px;
}

p.cardtext {
  font-size: 16px;
  font-family: "Raleway";
  font-style: normal;
  font-weight: 300;
  line-height: 24px;
}

p.prise {
  font-family: "Raleway";
  font-style: normal;
  font-size: 30px;
  font-weight: 300px;
  line-height: 0px;
}

p.general {
  padding: 10px 200px 40px;
  text-align: center;
  font-weight: 300;
  font-size: 18px;
  line-height: 30px;
}

.button-first {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin: 50px 0 30px;
  width: 280px;
  height: 60px;
}

a.button-first {
  font-size: 18px;
  color: white;
  background-color: rgba(77, 154, 255, 1);
  padding: 20px 30px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 50px;
  text-align: center;
}

.btn-last {
  text-align: center;
  width: 600px;
  height: 100px;
  background: linear-gradient(
    90deg,
    #4d9aff 24.14%,
    #ffe9f6 100%,
    #e5ddf1 100%
  );
  border-radius: 20px;
  display: flex;
  float: left;
  align-items: center;
  justify-content: space-around;
  color: white;
}

.card-container {
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  padding: 30px 150px 30px;
}

.card {
  width: 350px;
  height: 300px;
  border: 1px solid rgba(82, 125, 189, 0.907498);
  border-radius: 20px;
  margin: 10px;
  padding: 30px 30px;
  display: flex;
  flex-direction: column;
  align-items: space-around;
}

.cardtext {
  width: 300px;
}

.headline {
  width: 100%;
  display: flex;
  height: 80px;
  background-color: transparent;
  justify-content: flex-end;
  flex-direction: column;
  float: left;
  align-items: center;
  flex-wrap: wrap;
}

p.headline {
  font-size: 30px;
  line-height: 40px;
  font-weight: 400;
  text-align: center;
}

footer {
  width: 100%;
  background-color: #2c2d40;
  margin: 0px auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
}

.footer-item {
  color: rgba(245, 245, 245, 1);
  font-size: 14px;
  line-height: 20px;
  font-weight: 200px;
  padding: 30px 10px 20px;
}

.feature {
  width: 450px;
  height: 100px;
  border: 1px solid rgba(82, 125, 189, 0.907498);
  border-radius: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  margin: 10px 10px;
  padding: 0 30px;
  justify-items: space-between;
  font-size: 16px;
  font-family: "Raleway";
  font-style: normal;
  font-weight: 300;
  line-height: 26px;
}

button {
  background-color: rgba(245, 245, 245, 1);
  width: 300px;
  height: 250px;
  border: 1px solid rgba(82, 125, 189, 0.907498);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10px;
  padding: 5px;
  justify-items: space-between;
  cursor: pointer;
}

button:hover {
  background: #cbe1ff;
  border: 5px solid #4d9aff;
  border-radius: 20px;
}

a.btn {
  color: rgba(82, 125, 189, 0.907498);
  text-align: center;
  font-size: 20px;
}

a.btn:hover {
  color: white;
}

.checkbox {
  text-align: center;
  color: white;
  font-size: 20px;
  font-weight: 300;
}
