@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap");

body{
  margin: 0;
  background-color: #17020c;
  font-family: "Montserrat";
}

header {
  background-color: #efacd4;
  display: flex;
  justify-content: center;
}

#logocuk {
  width: 60px;
  margin: 15px;
  animation: rotation 1s ease-in-out;
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

#hesaplar {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hepsi-cont {
  position: relative;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 17px;
  border-radius: 10px;
  margin: 55px;
}

.hepsi {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.5s;
  border-radius: 15px;
  box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.2),
    inset -5px -5px 15px rgba(255, 255, 255, 0.1),
    5px 5px 15px rgba(0, 0, 0, 0.3), -5px -5px 15px rgba(255, 255, 255, 0.1);
}

.profil {
  background: #220212;
  border-radius: 10px 15px;
  padding: 10px;
  border: 1px solid #ad1863;
}

.hepsi-cont:hover .hepsi {
  top: -150px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.icon {
  text-decoration: none;
  color: #fff;
  display: block;
  position: relative;
}


.layer {
  width: 55px;
  height: 55px;
  transition: transform 0.5s;
}
.icon:hover .layer {
  transform: rotate(-35deg) skew(20deg);
}
.layer span {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  border: 2px solid #fff;
  border-radius: 15px;
  transition: all 0.3s;
}

.layer span,
.text {
  color: #efacd4;
  border-color: #3c0920;
}

.icon:hover.layer span {
  box-shadow: -1px 1px 3px #ad1863;
}
.icon .text {
  position: absolute;
  left: 50%;
  bottom: -5px;
  opacity: 0;
  font-weight: 500;
  transform: translateX(-50%);
  transition: bottom 0.3s ease, opacity 0.3s ease;
}
.icon:hover .text {
  bottom: -35px;
  opacity: 1;
}

.icon:hover .layer span:nth-child(1) {
  opacity: 0.2;
}
.icon:hover .layer span:nth-child(2) {
  opacity: 0.4;
  transform: translate(5px, -5px);
}
.icon:hover .layer span:nth-child(3) {
  opacity: 0.6;
  transform: translate(10px, -10px);
}
.icon:hover .layer span:nth-child(4) {
  opacity: 0.8;
  transform: translate(15px, -15px);
}
.icon:hover .layer span:nth-child(5) {
  opacity: 1;
  transform: translate(20px, -20px);
}

.logoSVG {
  font-size: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:#3c0920;
}

.logoSVG img {
  width: 40px;
}

.user {
  display: flex;
  gap: 10px;
}
.img {
  width: 80px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.name {
  font-size: 17px;
  font-weight: 700;
  color: #ad1863;
}
.isim {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  color: #fff;
}
.hesapismi {
  color: #efacd4;
  padding-top: 5px;
}

#albayingotu {
    color: #ad1863;
    margin: 55px;
    text-align: center;
    opacity: 0;
    animation: fadeUp 1s ease-out forwards;
} 
@keyframes fadeUp {
  to {
    opacity: 1;
  }
}
#albayingotu h1 {
  font-size: 65px;
  margin: 15px 0;
} 

#albayingotu p {
  font-size: 13px;
  color: #efacd4;
} 

@media screen and (max-width:720px) {
  #hesaplar {
    flex-direction: column;
  }

  .logoSVG {
    flex-direction: column;
  }

  .user {
    flex-direction: column;
  }

  .img {
    flex-direction: column;
  }

  .isim {
    flex-direction: column;
  }

  .hepsi {
    visibility: hidden;
  }

  .profil {
    visibility: hidden;
  }

  .hepsi-cont:hover .hepsi {
    visibility: hidden;
  }

  #logocuk {
    width: 60px;
    margin: 15px;
    animation: rotation 1s ease-in-out;
  }
  
  @keyframes rotation {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }

  header {
    background-color: #efacd4;
    display: flex;
    justify-content: center;
  }
  
}