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

body {
  font-family: 'Poppins', sans-serif;
}

body h1 {
  color: #282f59;
}

body p {
  color: #7c7c7c;
}

body a {
  text-decoration: none;
  color: whitesmoke;
}

.logo {
  height: 40px;
}

.row {
  display: flex;
  align-items: center;
  padding-top: 5rem;
}

.navbar {
  background-color: #4642ff;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  padding: 20px 50px;
  align-items: center;
}

.navbar ul {
  flex: 1;
  text-align: right;
}

.navbar ul li {
  list-style: none;
  display: inline-block;
  margin: 0 25px;
}

.icon {
  margin: 0;
  padding: 0;
  color: white;
  font-size: 18px;
}

.ctn {
  padding: 10px 20px;
  background: linear-gradient(-225deg, #a445b2 0%, #d41872 52%, #ff0066 100%);
  border-radius: 50px;
}

.ctn:hover {
  background: linear-gradient(-225deg, #ff0066 0%, #d41872 52%, #a445b2 100%);
}

.services {
  margin-top: 80px;
}

.container {
  padding: 2rem;
  /* display: flex; */
}

.formulare {
  text-align: center;
  font-weight: 600;
  font-size: 20px;
  padding: 10px;
  color: #282f59;
  text-decoration: underline;
}

.grid-wrapper .services-content {
  flex-basis: 33%;
}

.grid-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 33%);
  grid-gap: 2em;
  padding: 1rem;
  align-self: center;
  justify-self: center;
}

.grid-box {
  height: 275px;
  padding: 2rem;
  text-align: center;
  border-radius: 5px;
  box-shadow: 2px 2px 5px #fff;
}

.grid-box img {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.grid-box h1 {
  border-radius: 25px;
  font-weight: 600;
}

.sprava {
  background-image: linear-gradient(to right, #74ebd5 0%, #9face6 100%);
}

.button_text:hover {
    color:#d41872;
  
  }
  .button_text_white:hover {
    color:#d41872;
  
  }




.technicky {
  background-image: linear-gradient(to top, #09203f 0%, #537895 100%);
}

.poradenstvi {
  background-image: linear-gradient(to right, #74ebd5 0%, #9face6 100%);
}

.havarijni {
  background: linear-gradient(-225deg, #ff0066 0%, #d41872 52%, #a445b2 100%);
}

.predseda {
  background-image: linear-gradient(to right, #74ebd5 0%, #9face6 100%);
}

.cenik {
  background-image: linear-gradient(to top, #09203f 0%, #537895 100%);
}

.button_text {
  color: #09203f;
  font-size: 16px;
  cursor: pointer;
}

.button_text_white {
  color: whitesmoke;
}

.box_white {
  color: whitesmoke;
}

.box_blue {
  color: #09203f;
}


.footer {
  flex: 0 1 auto;
  background-color: #add8e6;
  color:#282f59;
  padding: 20px;
  margin-top: 50px;
  text-align: center;
  font-size: 14px;
  
}

.footer__text {
  font-weight: 600;
  font-size: 16px;
}


@media only screen and (min-device-width: 320px) and (max-device-width: 640px) {
  .grid-wrapper {
    grid-template-columns: repeat(1,100%);
   
  }

  .grid-box h1 {
    font-size: 16px;
  }

  .button_text,
  .button_text_white {
    font-size: 14px;
  }
}
