ul {
  list-style: none;
  padding-left: 0;
}

footer {
  background-color: #1f263f;
  color: #bbb;
  line-height: 1.5;
  font-family: Arial, Helvetica, sans-serif;
  position: relative;
  bottom: 0;
  width: 100%;
}

footer a {
  text-decoration: none;
  color: #eee;
}

html,
body {
  min-height: 100vh;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

footer {
  margin-top: auto;
}


.social-icons-footer {
  display: none;
}

footer a:hover {
  text-decoration: underline;
  transition: text-decoration 1s ease;
  color: rgb(236, 14, 77);
  transition: color 0.3s ease;

}

.ft-title {
  color: #fff;
  font-size: 1.375rem;
  padding-bottom: 0.625rem;
  border-bottom: 3px solid rgb(255, 255, 255);
  padding-bottom: 1px;

}

footer .container {
  flex: 1;
}

.ft-main {
  padding: 1.25rem 1.875rem;
  display: flex;
  flex-wrap: wrap;
}

.ft-main-item {
  padding: 1.25rem;
  min-width: 12.5rem;
}



.ft-legal {
  padding: 0.4rem 1.875rem;
  background-color: rgb(8, 27, 43);
}

.ft-legal-list {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.ft-legal-list li {
  margin: 0.125rem 0.625rem;
  white-space: nowrap;
}

.ft-legal-list li:nth-last-child(2) {
  flex: 1;
}

.ft-legal-list .home {
  margin-left: 52%;
  white-space: nowrap;
  text-align: justify;
}

.ft-main {
  justify-content: center;
}

@media only screen and (max-width: 1150px) {
  .ft-main {
    justify-content: center;
    margin-bottom: 55px;
  }

  .ft-logo {
    display: none;
  }

  .social-icons-footer {
    display: block;
      justify-content: center; 
  margin: 0 auto;

  }


  .social-icons-footer img {
    width: 2.3rem;
    margin-left: 0.5rem;
  }

  @media only screen and (max-width: 350px) {
    .social-icons-footer img {
      width: 2.1rem;
      margin-left: 0.5rem;
    }

  }

  .ft-legal-list li {
    display: none
  }

  .ft-legal {
    bottom: 0;
    width: 100%;
    position: fixed;
    padding-left: 0;
    padding-right: 0;
  }

  .ft-legal-list {
    justify-content: center;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .social-icons-footer {
    display: flex;
    align-items: center;
  }

  .social-icons-footer img[src="images/youtube.png?v=52"] {
    width: 2.5rem;
  }


}