* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
   
    background: linear-gradient(60deg, #313a77, #000000);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    
}

.info-cards{
    display: flex;
    width: 1200px;
    margin: 0 auto 0 auto;
    height: 150px;
    justify-content: space-between;
    background:
    linear-gradient(20deg, #18226e, #000000);
    border-radius: 1.5rem;
    margin-top: 3rem;
    border: 2px solid rgba(255, 255, 255, 0.404);
     overflow: hidden;
    position: relative;
    
}

.info-cards p{
    color: rgba(255, 255, 255, 0.644);
    margin: 1rem;
    margin-top: 1.5rem;
}
.card-nothing{
    background:
    linear-gradient(to bottom, #363e79, #00041a);
    width: 1600px;
    height: 150px;
    right: -95rem;
    border-radius: 4rem 1.5rem  1.5rem  4rem;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: absolute;

    display: flex;
    align-items: center;   
}

.card-nothing i{
    position: absolute;
    left: 1.5rem;         
    top: 50%;              
    transform: translateY(-50%);
    font-size: 2rem;       
    color: white;
    
}

.card-nothing:hover{
    transform: translateX(-1400px);
  box-shadow: 0px 12px 25px rgba(0, 0, 0, 0.25);
}
.card-nothing p{
    color: #ffffff;
    font-size: 3rem;
    margin: 0 auto 0 auto;
    margin-right: 21rem;
    
}

.change{
    background-color: white;
    color: #151b46;
}
a{
    text-decoration: none;
    color:#d5d8e6ce;
    font-weight: 700;
}

li{
    list-style: none;
}

header {
    display: flex;
    background: 
    linear-gradient(60deg, #44509b, #151b46);
    border-bottom:2px solid #ffffff50;
    justify-content: space-between;
    padding: 1rem;
    align-items: center;
    color: #171E4A;
    gap: 10px;
    height: 80px;
    
   
}

.head{
    color: rgba(255, 255, 255, 0.699);
    display: flex;
    width: 500px;
    justify-content: space-between;
    
    
}

.head h1{
    margin-top: 0.5rem;
}
.github-icon i {
    font-size: 40px;
    transition: all 0.3s ease;
    
}
.github-icon i:hover{
  color: #fff;

}



.img-riwi img{
    width: 200px;
}

.modulos:hover {
    transition: background-position 1s ease, color 1 ease;
    background-position: top left;
    color: white;
   
}

button{
    background: 
    linear-gradient(1deg, #6a77ca, #080b20);
    border: none;
    font-size: 1rem;
    margin: 10px;
    padding: 1rem;
    border-radius: 1rem;
    border-bottom: 5px solid #0000009a;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

button:hover{
    transform: translateY(-5px);
    box-shadow: 0px 10px 10px #070e3ad5; 
   
    transition: 
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease,
        color 0.3s ease; 
}

.card{
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    align-items: center;
    background:
    linear-gradient(20deg, #44509b, #151b46 );
    width: 300px;
    border-radius: 2rem;
    padding: 2rem;
    border: 2px solid #ffffff50;
    transition: 
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease,
        color 0.3s ease; 
        border: 0.3 ease;
    text-align: center;
}

.card h2{
    color: #c2bae481;
    font-size: clamp(1.3rem, 3vw, 2rem);
}

.card:hover{
    transform: translateY(-10px);
    box-shadow: 0px 15px 25px #f8f8f82c;
    background: 
    linear-gradient(150deg, #44509b, #151b46 );;
     border: 2px solid white;
    color: white; 
}

.card:hover * {
    color: white !important;
}

.modulos {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 0 1rem;
  
    
}
.myName{
    color: #cdd3ff;
      text-shadow:
    0 0 5px rgb(167, 158, 255),
    0 0 10px rgb(167, 158, 255),
    0 0 10px rgb(167, 158, 255),
    0 0 10px rgb(167, 158, 255);
}

.city-​of-knowledge{
    background:
    linear-gradient(20deg, #44509b, #151b46 );
    width: 1300px;
    border-radius: 2rem;
    padding: 2rem;
    border: 2px solid #ffffff50;
    transition: 
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease,
        color 0.3s ease; 
        border: 0.3 ease;
        margin-top: 3rem;
        height: 27rem;
        color: #cdd3ff;
        position: relative;
        overflow: hidden;
}
.city-​of-knowledge:hover{
    transform: translateY(-10px);
    box-shadow: 0px 15px 25px #f8f8f82c;
    background: 
    linear-gradient(150deg, #44509b, #151b46 );;
     border: 2px solid white;
    color: white; 
}

.members-list li:hover{
          text-shadow:
    0 0 3px rgb(167, 158, 255),
    0 0 3px rgb(167, 158, 255),
    0 0 3px rgb(167, 158, 255),
    0 0 3px rgb(167, 158, 255);
}

.info-city{
    width: 600px;
    z-index: 1000;
    
}


.members-list li{
  
    margin-bottom: 5px;
  
}
.img-city img {
    width: 800px;
    border-radius: 2rem 2rem 0 0;
    filter: brightness(40%);
    position: absolute;
    right: 0.5px;
    top: 180px;
    transform: rotate(-20deg); 
    transition: all 0.3s ease, top 0.3s ease;
    box-shadow: 0 2px 20px black;
}

.img-city img:hover {
    transform: rotate(-20deg) translateY(-100px); 
    filter: brightness(100%);
    
  
 
}

.city-​of-knowledge h2,
.city-​of-knowledge p{
    padding: 0.5rem;
}
.container-celulas{
    display: flex;
  
    flex-direction: column;
    margin: 0 auto 0 auto;
}

p{
    font-size: 17px;
}

.buttom-view{
    height: 60px;
    width: 100px;
    position: absolute;
    right: 30px;
    top: 5px;
}
footer {
    margin-top: auto;
    text-align: center;
    padding: 20px 0;
}

footer h4{
    color: #7a84c4c2;
    font-size: clamp(.8rem, 2vw, 1rem);
}


@media (max-width: 800px) {
  .info-cards {
    width: 95%;
    flex-direction: column;
    height: auto;
  }

  .card-nothing {
    width: 100%;
    right: -100%;
  }

  .card-nothing:hover {
    transform: translateX(-90%);
  }

  .container-celulas {
    width: 100%;
  }

  .city-​of-knowledge {
    width: 95%;
    height: auto;
  }

  .info-city {
    width: 100%;
  }

  .img-city img {
    width: 90%;
    position: relative;
    top: 0;
    right: 0;
    transform: rotate(0deg);
    margin-top: 1rem;
  }
}

@media (max-width: 600px) {
  header {
    flex-direction: column;
    height: auto;
    gap: 0.5rem;
  }

  .head {
    width: 100%;
    justify-content: center;
    gap: 1rem;
  }

  .img-riwi img {
    width: 150px;
  }

  .info-cards p {
    font-size: 15px;
  }

  .card-nothing p {
    font-size: 1.5rem;
    margin-right: 0;
  }

  .city-​of-knowledge {
    padding: 1.5rem;
  }

  .buttom-view {
    position: relative;
    right: 0;
    top: 0;
    margin-top: 1rem;
  }
}

@media (max-width: 430px) {
  .head h1 {
    font-size: 1.2rem;
  }

  .card h2 {
    font-size: 1.2rem;
  }

  p {
    font-size: 14px;
  }

  .img-city img:hover {
    transform: translateY(0);
  }
}

@media (max-width: 500px) {
  footer h4 {
    font-size: 0.8rem;
  }
}
