html,
body {
  margin: 0;
  height: 100%;
  overflow-x: hidden;
  font-family: "Cormorant Garamond", serif;
  position: relative;
  z-index: 99;
  background-color: var(--primary-color);
}

:root {
  --primary-color: #010b26;
  --button-color: #f1f3f9;
}

@media screen and (max-width: 600px) {
  .footer{
    height: 550px !important;
  }
  .footer h1 {
    font-size: 11px ;
  }
  .contact img{
    max-width:40px;
    width: 100%;
    height: auto;
  }
  .footer a {
    font-size: 11px;
  }
  .footer-social img{

    width: 35px !important;
    height: 30px !important;
  }
  .footer-social{
    margin-left: -55px;

  }
  .footer p{
    font-size: 11px !important;
  }
}


@keyframes myrotation {
  from {
    rotate: 0deg;
  }
  to {
    rotate: 360deg;
  }
}

.footer {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top-right-radius: 100vmax;
  border-top-left-radius: 100vmax;
  width: 100%;
  height: 1200px;
  background-image: url("./assets/img/background.png");
  background-repeat: no-repeat;
  background-size: 140% 100%;
  background-position: center;
}

.footer-animated-img {
  width: 20%;
  margin-top: -9%;
  margin-bottom: 5%;
  animation: myrotation 20s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.footer p {
  color: white;
  font-size: 24px;
}

.footer h1 {
  color: white;
}

.footer a {
  text-decoration: none;
  color: white;
  font-size: 30px;
  font-weight: 300;
}

.contact {
  display: flex;
  flex-direction: row;
  width: 10%;
  justify-content: space-between;
  margin-bottom: 5%;
}

.adress {
  margin-top: 5%;
}

.city {
  margin-bottom: 5%;
}

.phone {
  margin-bottom: 5%;
}

.footer-social {
  @media screen and (min-width: 1928px ) {
    display: flex;
    flex-direction: row;
    width: 20%;
    justify-content: space-between;
    top: -520px;
    position: relative;
  }
  display: flex;
  flex-direction: row;
  margin-top: 10%;
  margin-bottom: 5%;
  width: 20%;
  justify-content: space-between;
}

.footer-yazi{
  @media screen and (min-width: 1928px ) {
    top: -550px;  
    position: relative;
    
  }
}