@import url('http://fonts.cdnfonts.com/css/gill-sans:wght@500&display=swap');

html {
  font-family: "Gill Sans", sans-serif;
  font-weight: 500;
  text-align: center;
}
body {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url(Doubs.png);
  background-repeat: no-repeat;
  background-size: cover;
}

main {
  background-color: rgb(255, 255, 255);
  padding: 10px 3rem;
  border-radius: 8px;
  box-shadow: 10px 10px rgb(171 206 0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all .5s ease;
}

main:hover {
  transform: translate(10px, 10px);
  box-shadow: 0px 0px rgb(118, 172, 241);
}

main div {
  margin-bottom: 2rem;
  width: 30vw;
}

main .profile img {
  width: 25%;
  border-radius: 50%;
  transition: all .5s ease;
}

main .profile img:hover {
  cursor: pointer;
  transform: translate(10px, 10px);
}

main .profile h1 {
  font-size: 2rem;
  font-weight: bolder;
}

a {
  text-decoration: none;
}

a div {
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  background-color: rgb(0 0 0);
  box-shadow: 10px 10px rgb(171 206 0);
}

a div:hover {
  background-color: rgb(171 206 0);
  box-shadow: 10px 10px rgb(0 0 0);
}

a div:hover p {
  color: black;
}

a div img {
  width: 2rem;
}

a div p {
  display: inline;
  color: white;
  text-align: center;
  position: relative;
  top: -0.5rem;
}

a div:active {
  transform: translate(10px, 10px);
  box-shadow: 0px 0px rgb(183, 124, 238);
}

.footer {
    text-align: center;
    font-size: 1.3rem;
}

.footer a {
    text-decoration:none;
}

.circulo {
    background: rgb(221, 221, 221);
    border-radius: 52px;
    width: 38px;
    height: 38px;
    text-align: center;
    font-size: 10px;
    color: rgb(32, 32, 32);
}

.circulo:hover {
    background: rgb(171 206 0);
    color: rgb(255, 255, 255);
    -webkit-box-shadow: 2px 2px 2px rgba(50, 50, 50, 0.77);
    -moz-box-shadow: 2px 2px 2px rgba(50, 50, 50, 0.77);
    box-shadow: 2px 2px 2px rgba(50, 50, 50, 0.77);
}

@media (max-width: 900px) {
  main {
    width: 80%;
    padding: 1.5rem;
    box-shadow: none;
  }

  main:hover {
    transform: none;
    box-shadow: none;
  }

  main .profile h1 {
    font-size: 1.5rem;
    margin-top: 2rem;
  }

  main .profile img {
    width: 30%;
  }

  main .profile img:hover {
    transform: none;
    box-shadow: 10px 10px rgb(183, 124, 238);
  }

  main div {
    width: 70vw;
  }
}

@media (max-width: 400px) {
  main a div p span {
    display: none;
  }
}
