﻿@import url("../css2.html");

* {
  padding: 0;
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 500;
}

:root {
}

button {
  width: 100%;
  height: 62px;
  background-color: #1974d2;
  border: none;
  margin-top: 25.5px;
  font-weight: 600;
  line-height: 15px;
  font-size: 19px;
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
}

input[name="phone2"] {
  background-color: rgb(240, 255, 255);
  padding-left: 76px;
  height: 50px;
  border: none;
  border-bottom-width: medium;
  border-bottom-style: none;
  border-bottom-color: currentcolor;
  width: 323px;
  border-bottom: 2px solid #c2c2c2;
}

input[name="phone2"].error {
    color: red;
   } 

@media all and (max-width: 500px) {
    input[name="phone2"] {
       width: 260px;
      } 
}

.h12 {
  text-align: center;
}
.h22 {
  padding: 10px;
  margin: auto;
}

.main {
  max-width: 404px;
  height: 100%;
  margin: auto;
  margin-top: 1px;
}
.error {
  border-bottom: 1px solid red;
}
.error-text {
  color: red;
}

.img__tink {
  display: flex;

  padding-bottom: 17px;
}

h1 {
  text-align: center;
  font-size: 27px;
  line-height: 32px;
  padding-bottom: 15px;
  margin-top: 91px; /* Значення за замовчуванням для всіх пристроїв */
}

@media (max-width: 768px) {
  /* Змінюємо margin-top для мобільних пристроїв */
  h1 {
    margin-top: 25px;
  }
}
h2 {
  margin-top: 15px;
}

.main > p {
  color: #1974d2;
  font-size: 23px;
  text-align: center;
  padding-left: 20.79px;
  padding-right: 20.91px;
  padding-top: 9.6px;
  padding-bottom: 9.6px;
  background-color: #add8e6;
  width: 197.7px;
  margin: 0 auto;
  border-radius: 14px;
}

form {
  margin-top: 41px;
}

form > input {
  width: 100%;
  border-left: none;
  border-right: none;
  border-top: none;
  border-color: #c2c2c2;
}

form > input[placeholder] {
  font-size: 16px;
  line-height: 32px;
  transition: 0.3s;
  color: black;
  margin-top: 23.07px;
}

form > input[placeholder]:focus {
  outline: none !important;
}

input[type="checkbox"] {
  width: 25px;
  height: 25px;
  background-color: #f2f2f2;
  outline: none !important;
  border-radius: 5px;
  cursor: pointer;
}

/* form > input[type="tel"]{
    border-right: 1px solid #C2C2C2;
} */

.radio__and__text {
  display: grid;
  grid-template-columns: 1fr 10fr;
  margin-top: 25px;
}

.left {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.plusses {
  margin-top: 40px;
}

.box_for_plusses {
  display: grid;
  grid-template-columns: 1fr 10fr;
  margin-top: 15px;
}

.for_img {
  display: flex;
  justify-content: flex-start;
  align-self: center;
}

.for_text {
  text-align: left;
  display: flex;
  align-items: center;
}

.main > button {
  width: 100%;
  height: 62px;
  background-color: #1974d2;
  border: none;
  margin-top: 45.5px;
  font-weight: 600;
  line-height: 15px;
  font-size: 19px;
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
}

/* .main > button:hover{
    opacity: .8; Если по кайфу будет то можно раскомментировать
} */

@media (max-width: 414px) {
  .main {
    max-width: 90%;
  }
  form {
    margin-top: 11px;
  }
}
