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

html {
  --s: 66px; /* control the size*/
  --c1: #1d1d1d;
  --c2: #4e4f51;
  --c3: #000000;

  background: repeating-conic-gradient(
        from 30deg,
        #0000 0 120deg,
        var(--c3) 0 50%
      )
      calc(var(--s) / 2) calc(var(--s) * tan(30deg) / 2),
    repeating-conic-gradient(
      from 30deg,
      var(--c1) 0 60deg,
      var(--c2) 0 120deg,
      var(--c3) 0 50%
    );
  background-size: var(--s) calc(var(--s) * tan(30deg));
}
.header {
  width: 100%;
  height: 80px;
  background-color: rgba(46, 46, 46, 0.95);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
}

.logo {
  width: 130px;
  background: url(./logo.png) no-repeat;
  background-size: contain;
}

.main {
  display: flex;
  flex-direction: column;
  padding: 0 20px 20px 20px;
  gap: 20px;
  background-color: rgba(46, 46, 46, 0.95);
}

.form {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-image: linear-gradient(
    to right bottom,
    #ffffff,
    #d2c7ff,
    #a590ff,
    #7156ff,
    #0d00fe
  );
  padding: 20px;
  padding-top: 30px;
  border-radius: 5px;
  color: #353535;
}

.f {
  font-weight: bold;
}

.ok-message {
  display: none;
}

.show-ok {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: white;
  z-index: 1000;
}

#name,
#tel,
#message,
#send,
#call {
  border: none;
  border-radius: 5px;
  padding: 15px 10px;
  color: #353535;
}

#send,
#call {
  font-size: 1.1rem;
  font-weight: bold;
  background-color: #ffffff;
}

#message {
  height: 200px;
  resize: none;
}

.phone-num-a {
  text-decoration: none;
  color: #353535;
}

.phone-header {
  border: none;
  border-radius: 5px;
  padding: 15px 10px;
  color: #353535;
  background-color: #ffffff;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration:  none;
}

#name::placeholder,
#tel::placeholder,
#message::placeholder {
  font-size: 1.2rem;
  color: #353535;
}

.speach {
  color: white;
  background-color: transparent;
}

p {
  list-style-type: none;
  line-height: 1.5;
  font-size: 1.2rem;
}

li {
  list-style-type: none;
  line-height: 1.7;
  font-size: 1.4rem;
}


h2,
p {
  line-height: 1.5;
}

footer {
  padding: 0 20px 20px 20px;
  background-color: rgba(46, 46, 46, 0.95);
}

.footer {
  background-image: linear-gradient(
    to right bottom,
    #ffffff,
    #d2c7ff,
    #a590ff,
    #7156ff,
    #0d00fe
  );
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 5px;

  padding: 20px;
}

.footer > img {
  width: 80px;
}


@media (min-width: 960px) {
    .header {
        padding: 100px 100px 0 100px;
    }

    .main {
        flex-direction: row;
        justify-content: space-between;
        padding: 100px;
    }

    .form {
        order: 2;
    }

    .speach > ul > li {
        font-size: 1.8rem;
        line-height: 3.5;
    }

    .f > li{
        font-size: 1.8rem;
    }

    footer {
        padding: 0 100px 20px 100px;
    }
}
