:root {
  --accent-color: #212121;
  --text-color: #000;
  --background-color: #fff;
  --additional-text-color: #757575;
  --background-color2: #2f303a;
  --button-background: #f5f4fa;
  --WebStudio-color: #2196f3;
  --companys-color: #afb1b8;
  --line-color: #ececec;
}

body {
  font-family: Roboto;
  letter-spacing: 0.03em;
  list-style: none;
}

.container {
  /* outline: solid red; */
  width: 1200px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}

section{
  animation-name: section-invisible;
  animation-duration: 4000ms;
  animation-iteration-count: 1;
  opacity: 1;
}

@keyframes section-invisible {
 0%{
  opacity: 0;
 }

 50%{
  opacity: 0;
 }

 100%{
  opacity: 1;
 }
}

.welcome-box-title{
  font-family: Roboto;
  color: var(--text-color);
  font-size: 100px;
  font-weight: 700;
  line-height: 1.38;
}

.welcome-box-title1{
  font-family: Raleway;
  color: var(--WebStudio-color);
  font-size: 100px;
  font-weight: 700;
  line-height: 1.38;
}

.welcome-box-title2{
  font-family: Raleway;
  color: var(--text-color);
  font-size: 100px;
  font-weight: 700;
  line-height: 1.38;
}

.welcome-box{
  display: flex;
justify-content: center;
align-items: center;
  position: fixed;
  animation-name: welcome-box;
  animation-duration: 4000ms;
  animation-iteration-count: 1;
  opacity: 0;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  transform: translate(1000000px, 0px);
}

@keyframes welcome-box {
  0%{
    transform: translate(-1000px, 0px);
    opacity: 0;
  }

  50%{
    opacity: 1;
    transform: translate(0px, 0px);
  }

  100%{
    opacity: 0;
    transform: translate(1000px, 0px);
  }
}

*:focus {
  outline: none;
}

*,
::after,
::before {
  box-sizing: border-box;
}

/*header*/

.header {
  padding-top: 24px;
  padding-bottom: 16px;
}

.header-title1 {
  font-family: Raleway;
  color: var(--WebStudio-color);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.38;
}

.header-title2 {
  font-family: Raleway;
  color: var(--text-color);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.38;
}

.header-link:focus,
.header-link:hover {
  outline: none;
  color: var(--WebStudio-color);
}

.header-contact:focus,
.header-contact:hover {
  outline: none;
  color: var(--WebStudio-color);
}

.header-link {
  /* transition-timing-function: cubic-bezier(1, 0.99, 0, -0.01); */
  transition-duration: 250ms;
  transition-property: color;
  transition-delay: cubic-bezier(0.4, 0, 0.2, 1); 
  position: relative;
  color: var(--accent-color);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.header-link::after {
  width: 100%;
  content: "";
  height: 4px;
  opacity: 0;
  position: absolute;
  top: 48px;
  transition-duration: 400ms;
  transition-delay: 0s;
  background-color: var(--WebStudio-color);
  border-radius: 2px;
  display: block;
}

.header-link:hover::after {
  opacity: 1;
}

.header-link:visited:after {
  opacity: 1;
  
}

.header-contact {
  color: var(--additional-text-color);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.header-container {
  display: flex;
  align-items: center;
}

.header-list {
  display: flex;
  align-items: center;
  gap: 50px;
}

.header-navigation {
  margin-right: 344px;
  margin-left: auto;
}

.header-pictures {
  width: 10px;
  height: 16px;
  transition-duration: 250ms;
  transition-property: fill;
  transition-delay: cubic-bezier(0.4, 0, 0.2, 1); 
  fill: var(--additional-text-color);
  margin-right: 10px;
}

.header-contact:hover {
  color: var(--WebStudio-color);
}

.header-item:hover .header-pictures {
  fill: var(--WebStudio-color);
}

.header-picture {
  width: 16px;
  height: 12px;
}

.header-container .header-list .header-item {
  
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.header-contact{
  transition-duration: 250ms;
  transition-property: color;
  transition-delay: cubic-bezier(0.4, 0, 0.2, 1); 
}

.header-links {
  display: flex;
  flex-wrap: nowrap;
}

/* .line{
  margin-top: 28px;
  width: 48px;
height: 4px;
border-radius: 2px;
background: var(--WebStudio-color);
} */

/*about*/

.about-container {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 1600px;
  height: 100%;
  background-image: linear-gradient(#2f303a66, #2f303a66),
    url(../images/people.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(47, 48, 58, 0.4), rgba(47, 48, 58, 0.4); /* або rgba(255, 255, 255, 1),rgba(255, 255, 255, 1) */
  padding-top: 200px;
  padding-bottom: 200px;
  border-radius: 4px;
}

.about-title {
  color: var(--background-color);
  max-width: 696px;
  text-align: center;
  font-size: 44px;
  font-weight: 900;
  line-height: 1.36;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 auto 30px;
}
/* 30px це низ */

.about-button {
  transition-duration: 250ms;
  transition-property: background-color;
  transition-delay: cubic-bezier(0.4, 0, 0.2, 1); 
  color: var(--background-color);
  width: 216px;
  height: 50px;
  display: block;
  margin: 0 auto;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.87;
  letter-spacing: 0.06em;
  cursor: pointer;
  border-radius: 4px;
  background: var(--WebStudio-color);
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
}

.about-button:hover {
  background: rgb(108, 108, 255);
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
}

/*main*/

.main {
  padding-top: 94px;
  padding-bottom: 59px;
}

.main-list {
  display: flex;
  gap: 30px;
}

.main-title {
  color: var(--text-color);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.14;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.main-list .main-item::before {
  display: block;
  width: 270px;
  height: 120px;
  padding: 25px 100px;
  background-color: var(--button-background);
  margin-bottom: 30px;
  border-radius: 4px;
}

.main-list .main-item:first-child::before {
  content: url(../images/antenna1.jpg);
}

.main-list .main-item:nth-child(2)::before {
  content: url(../images/clock1.jpg);
}

.main-list .main-item:nth-child(3)::before {
  content: url(../images/diagram1.jpg);
}

.main-list .main-item:last-child::before {
  content: url(../images/astronaut1.jpg);
}

.main-text {
  color: var(--additional-text-color);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.71;
}

/* team */

.team {
  padding-top: 59px;
  padding-bottom: 94px;
}

.team-list {
  display: flex;
  gap: 30px;
  margin-top: 50px;
}

.team-title1 {
  color: var(--text-color);
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.16;
}

.team-item {
  position: relative;
  width: 370px;
  height: 294px;
}

.team-logo {
  width: 370px;
  height: 294px;
  flex-shrink: 0;
}

.team-container {
  top: 224px;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(47, 48, 58, 0.8);
  width: 370px;
  height: 70px;
}

.team-text {
  color: var(--background-color);
  text-align: center;
  font-family: Roboto;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.42px;
  text-transform: uppercase;
}

/*hero*/

.hero {
  padding-top: 94px;
  padding-bottom: 94px;
  background-color: var(--button-background);
}

.hero-list {
  display: flex;
  gap: 30px;
  margin-top: 50px;
}

.hero-article {
  box-shadow: 0px 2px 1px 0px rgba(0, 0, 0, 0.2),
    0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);
}

.hero-article {
  background-color: var(--background-color);
  padding-bottom: 30px;
}

.hero-title1 {
  color: var(--text-color);
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.16;
}

.img-hero {
  width: 270px;
  height: 260px;
  flex-shrink: 0;
  margin-bottom: 30px;
}

.hero-title {
  color: var(--text-color);
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.18;
}

.hero-text {
  color: var(--additional-text-color);
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.18;
  margin-top: 10px;
}

.picturis-list {
  display: flex;
  justify-content: center;

  padding-top: 16px;
  padding-left: 32px;
  padding-right: 32px;
}

.pictures-item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: 100%;
  padding: 12px;
}

.hero-pectures {
  transition-duration: 250ms;
  transition-property: background-color, fill;
  transition-delay: cubic-bezier(0.4, 0, 0.2, 1); 
  width: 20px;
  height: 20px;
  fill: var(--additional-text-color);
}

.pictures-link {
  width: 44px;
  height: 44px;
  border-radius: 100%;
  padding: 12px;
}

.pictures-item:hover {
  background-color: var(--WebStudio-color);
}

.pictures-item:hover .hero-pectures {
  fill: var(--background-color);
}

.pictures-link:focus .hero-pectures {
  fill: var(--background-color);
}

.pictures-link:focus {
  background-color: var(--WebStudio-color);
  fill: var(--background-color);
}

/* companys  */

.company-container {
  padding-top: 94px;
  padding-bottom: 94px;
}

.companys-titel {
  color: var(--accent-color);
  text-align: center;
  font-family: Roboto;
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.08px;
  margin: 0 auto;
  margin-bottom: 50px;
}

.companys-list {
  display: flex;
  gap: 30px;
  justify-content: center;
}

.companys-item {
  width: 170px;
  display: flex;
  height: 92px;
  border-radius: 4px;
  border: 1px solid var(--companys-color);
  justify-content: center;
  align-items: center;
}

.companys-item:hover {
  border: 1px solid var(--WebStudio-color);
}

.companys-item:hover .companys-picture {
  fill: var(--WebStudio-color);
}

.companys-picture {
  transition-duration: 250ms;
  transition-property: fill, border;
  transition-delay: cubic-bezier(0.4, 0, 0.2, 1); 
  fill: var(--companys-color);
  width: 106px;
  height: 60px;
}

.companys-item:focus .compan-link {
  fill: var(--WebStudio-color);
  border: 1px solid var(--WebStudio-color);
}

.compan-link:focus .companys-picture {
  fill: var(--WebStudio-color);
}

/*footer*/

.footer {
  /* display: flex;
  justify-content: space-between; */
  background-color: var(--background-color2);
  padding-top: 60px;
  padding-bottom: 60px;
  padding-right: 215px;
}

.footer-title1 {
  color: var(--WebStudio-color);
  font-family: Raleway;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.38;
}

.footer-title2 {
  color: var(--background-color);
  font-family: Raleway;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.38;
}

.footer-list2 {
  display: flex;
  justify-content: center;
}

.footer-text {
  color: var(--background-color);
  font-family: Roboto;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.42px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-item {
  margin-top: 9px;
}

.footer-link {
  color: var(--additional-text-color);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.71;
}

.footer-address {
  color: var(--background-color);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.71;
  margin-top: 20px;
}

.footer-pictures-container2 {
  margin-left: 70px;
}

.footer-container {
  display: flex;
}

.footer-pictures-item {
  transition-duration: 250ms;
  transition-property: background-color;
  transition-delay: cubic-bezier(0.4, 0, 0.2, 1); 
  display: flex;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 100%;
  width: 44px;
  height: 44px;
  justify-content: center;
  align-items: center;
  margin-right: 10px;
}

.footer-pictures-item:hover {
  background-color: var(--WebStudio-color);
}

.footer-pectures {
  width: 20px;
  height: 20px;
  fill: var(--background-color);
}

.footer-picture-list {
  display: flex;
}

.footer-pictures-item {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* .footer-pictures-link:focus {
  background-color: var(--WebStudio-color);
  fill: var(--background-color);
} */

.footer-pictures-link {
  width: 44px;
  height: 44px;
  border-radius: 100%;
  padding: 12px;
}

.sing-up {
  margin-left: 93px;
}

.sing-up-titele {
  margin-bottom: 20px;
  color: #fff;
  font-family: Roboto;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.42px;
  text-transform: uppercase;
}

.sing-up-table {
  margin-right: 12px;
  width: 358px;
  height: 50px;
  padding-left: 16px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(33, 150, 243, 0);
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
}

.sing-up-button {
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: 0.96px;
  padding-left: 28px;
  padding-right: 28px;
  padding-top: 10px;
  padding-bottom: 10px;
  color: #fff;
  width: 200px;
  height: 50px;
  border-radius: 4px;
  background: var(--WebStudio-color);
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
}
.sing-up-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.sing-up-picture {
  width: 24px;
  height: 24px;
}

.sing-up-text {
  margin-right: 10px;
  /* color: #fff;
  text-align: center;
  font-family: Roboto;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: 0.96px; */
}

.backdrop {
  position: fixed;
  background: rgba(128, 128, 128, 0.4);
  left: 0px;
  right: 0px;
  top: 0px;
  bottom: 0px;
  backdrop-filter: blur 0.5;
}

.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.modal {
  width: 528px;
  height: 581px;
  background-color: var(--background-color);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 4px;
  background: var(--background-color);
  box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.12),
    0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 2px 1px 0px rgba(0, 0, 0, 0.2);
}

.modal-button {
  width: 30px;
  height: 30px;
  padding: 6px, 6px, 6px, 6px;
  border-radius: 50%;
  border: solid rgba(0, 0, 0, 0.1);
  background-color: var(--background-color);
  display: flex;
  justify-content: center;
  align-items: center;
}

.knopka {
  display: flex;
  justify-content: flex-end;
  padding-top: 8px;
  padding-right: 8px;
}

.modal-picture {
  width: 18px;
  height: 18px;
}

.modal-title {
  color: var(--accent-color);
  text-align: center;
  font-family: Roboto;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.6px;
  margin-bottom: 2px;
}

.modal-list-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-subtitle {
  color: var(--additional-text-color);
  margin-top: 10px;
  margin-bottom: 4px;
  font-family: Roboto;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.12px;
}

.modal-korobka {
  width: 448px;
  height: 40px;

  padding: 11px 0px 11px 12px;
  border-radius: 4px;
  background: var(--background-color);
  border: 1px solid rgba(33, 33, 33, 0.2);
}

.modal-korobka:hover {
  border: 1px solid var(--WebStudio-color);
}

.modal-korobka:hover .modal-picture {
  fill: var(--WebStudio-color);
}

.modal-picture {
  width: 18px;
  height: 18px;
  fill: var(--text-color);
}

.modal-table-text {
  width: 406px;
  border: none;
}

.modal-coment-korobka {
  width: 448px;
  height: 120px;
  border-radius: 4px;
  border: 1px solid rgba(33, 33, 33, 0.2);
}

.modal-coment-text {
  padding-left: 16px;
  padding-top: 12px;
  resize: none;
  border: none;
  width: 416px;
  height: 96px;
  color: rgba(117, 117, 117, 0.5);
  font-family: Roboto;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.12px;
}

.button-container {
  display: flex;
  margin-top: 30px;
  justify-content: center;
}

.modal-button-submit {
  width: 200px;
  height: 50px;
  border-radius: 4px;
  background: var(--WebStudio-color);
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
  color: var(--background-color);
  text-align: center;
  font-family: Roboto;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 30px; /* 187.5% */
  letter-spacing: 0.96px;
}

.coordination {
  display: flex;
  justify-content: center;
  padding-top: 20px;
}

/* .select {
  appearance: none;
 
} */

.checkbox {
  border: var(--text-color) solid;
  width: 16px;
  border-radius: 4px;
  height: 15px;
}

.select:checked {
  background-image: url(../symbol-defs.svg#icon-icon-check);
  background-color: var(--WebStudio-color);
}

.coordination-text {
  color: #757575;
  font-family: Roboto;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 171.429% */
  letter-spacing: 0.42px;
  margin-right: 5px;
}

.coordination-href {
  color: #2196f3;
  font-family: Roboto;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.42px;
  text-decoration-line: underline;
}

