/*TYCPG-ENKY*/
/*HTML*/
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  color: #272727;
  font-family: 'Play', sans-serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  margin-left: auto;
  margin-right: auto;
}
section {
  padding-top: 212px;
  padding-bottom: 93px;
}
a {
  transition: all 0.3s ease-out;
  text-decoration: none;
  color: white;
}
html {
  background-color: white;
}
ul {
  list-style-type: none;
}
li {
  list-style-type: none;
}
li a img {
  width: 20px;
  height: 20px;
}
p {
  margin-left: auto;
  margin-right: auto;
}
/*CONTAINER*/
.container {
  padding-left: 30px;
  padding-right: 30px;
  width: auto;
}
/*HEADER*/
.head img {
  margin: auto;
  height: 30%;
}
.head {
  width: auto;
  padding-bottom: 684px;
}
.logo{
  text-shadow: -1px 0px 27px rgba(0,0,0,1);
  position: absolute;
  top: 189px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  font-size: 123px;
  color: white;
  text-align: center;
  padding: 20px 20px 20px 20px;
}
span {
  color: red;
}
header {
  background: url("../img/header.png") center center no-repeat;
  background-size: cover;
  -webkit-box-shadow: 0px 0px 46px 17px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0px 0px 46px 17px rgba(0, 0, 0, 0.25);
}

/*CAROUSEL*/ .carousel .carousel__slide {
  background: red;
  position: absolute;
  top: 421px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  width: 733px;
}
.carousel .carousel__slide .slide__image {
  width: 733px;
  height: 419px;
}
/*CARDGRID*/
.main{
  max-width: 1200px;
  margin: 0 auto;
}
h3 {
  padding-top: 230px;
  font-size: 40px;
  font-weight: 700;
  padding-bottom: 40px;
  margin-left: auto;
  margin-right: auto;
}
h1 {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    padding-bottom: 40px;
    padding-top: 43px;
    margin-left: auto;
    margin-right: auto;
}
p {
  font-size: 25px;
  font-weight: 400;
  text-align: center;
  padding-bottom: 40px;
  padding-top: 50px;
  margin: auto;
}
.card img {
  height: auto;
  max-width: 100%;
  vertical-align: middle;
}
.btn {
  color: #ffffff;
  padding: 0.8rem;
  font-size: 14px;
  text-transform: uppercase;
  border-radius: 4px;
  font-weight: 400;
  display: block;
  width:100%;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.25);
  background: transparent;
}
.cards {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.cards_item {
  display: flex;
  padding: 1rem;
}

.card {
  background-color: white;
  border-radius: 0.25rem;
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.card_content {
  padding: 1rem;
  background: linear-gradient(to bottom left, #ff0026 40%, #000000e1 100%);
  height: 150px;
  text-align: center;
  padding-top:30px;
  padding-bottom: 10px;

}
.card_title {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -1px;
  text-transform: capitalize;
  margin: 0px;
  padding-bottom: 20px;
  text-align: center;
}
/*FOOTER*/
.foot {
  background: #ff0026;
  width: auto;
  height: auto;
  display: flex;
  flex-direction: column;
  border-top: rgba(255, 0, 38, 0.3) 5px solid;
  -webkit-box-shadow: 0px 0px 46px 17px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0px 0px 46px 17px rgba(0, 0, 0, 0.25);
}
.footMenu {
  color: white;
  display: flex;
  justify-content: center;
  gap: 150px;
  align-items: center;
  min-height: 120px;
  padding-top: 30px;
  padding-bottom: 30px;
  padding-left: 30px;
  padding-right: 30px;
  width: auto;
  background: red;
}
.footContact__label {
  font-weight: bold;
  font-size: 16px;
  padding: 0 0 8px 0;
  text-align: left;
}
.footContact a {
  color: white;
  text-decoration: none;
}
.footLogos__label {
  text-align: right;
  margin: 0 0 10px 0;
  padding: 0;
  font-size: 14px;
}
.footLogos__row {
  display: flex;
  align-items: center;
  gap: 15px;
}
.footLogos__item {
  background: white;
  border-radius: 6px;
  padding: 6px;
  display: flex;
  align-items: center;
}
.footLogos__item img {
  height: 60px;
  display: block;
}
.cookies {
  padding-top: 10px;
  font-size: 15px;
  text-align: center;
  color: white;
}
/*DOTACE*/
.dotace {
  background: rgba(0, 0, 0, 0.25);
  padding: 20px 30px;
}
.dotace p {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  padding-top: 0;
  padding-bottom: 0;
  max-width: 800px;
}
/*RESPONSIVITY CARDS*/

@media (min-width: 40rem) {
  .cards_item {
    width: 50%;
  }
}
@media (min-width: 56rem) {
  .cards_item {
    width: 33.3333%;
  }
}
/*RESPONSIVITY CAROUSEL*/


@media (max-width: 580px) {
  .carousel .carousel__slide .slide__image {
    width: 400px;
    height: 250px;
  }
}@media (max-width: 580px) {
  .carousel .carousel__slide {
    width: 400px;
    height: 254px;
  }
}

@media (max-width: 840px) {
  .slide__image, .carousel__slide  {
    width: 500px;
    height: 300px;
  }
}
/*POSITION*/
/*1*/
@media (max-width: 1024px) {
  .carousel .carousel__slide {
    top: 636px;
  }
}
/*3*/
@media (max-width: 504px) {
  .carousel .carousel__slide {
    top: 351px;
  }
}
/*RESPONSIVITY SECTION*/

@media (max-width: 505px) {
  .logo, .head, h1  {
    font-size: 50px;
    padding-bottom: 400px;
  }
}
/*RESPONSIVITY PHONE*/
@media (max-width: 428px) {
  .logo {
    padding-bottom: 437px;
  }
}
@media (max-width: 428px) {
  .slide__image, .carousel__slide  {
    -webkit-box-shadow: 0px 0px 46px 17px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0px 0px 46px 17px rgba(0, 0, 0, 0.25);
  }
}

@media (max-width: 1026px) {
  section {
    padding-top: 341px;

  }
}
@media (max-width: 504px) {
  .slide__image .carousel__slide {
    -webkit-box-shadow: 0px 0px 46px 17px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0px 0px 46px 17px rgba(0, 0, 0, 0.25);
  }
}



@media (max-width: 428px) {
  h1  {
    font-size: 30px;
    padding-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .footMenu {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
  }

  .footContact__label, .footContact a {
    text-align: center;
  }

  .footLogos__label {
    text-align: center;
  }

  .footLogos__row {
    justify-content: center;
  }
}
