:root{
    --card_color:rgba(255, 255, 255, 0.15);
}
html,body{
    height: 100%;
    color: rgb(255, 255, 255);
    background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 35%, rgba(0,212,255,1) 100%);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
a{
    text-decoration: none;
    color: inherit;
}
.card{
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background-color: var(--card_color) ;
    max-width: 400px;
    width: 100vw;
    height: 100vh;
    max-height: 350px;
    border-radius: 25px;
    box-shadow: 1px 1px 15px -9px var(--card_color) ;
    
}
.lan_card{
    margin: 10px;
    background-color: #012169 ;
    width: 250px;
    height: 180px;
    max-height: 350px;
    border-radius: 25px;
    box-shadow: 1px 1px 15px -9px rgba(0, 0, 0, 0.4) ;
}
#sp_card:hover,#en_card:hover  {
    color: rgb(28, 0, 104);
    background-color: rgb(255, 255, 255);
}


.lan_card h2{
    
    position: relative;
    top: 40%;
    left: 50%;
    transform: translate(-50%,-50%);
}
#sp_card{
    background-color: rgb(255, 123, 0);
}
.main{
    position: relative;
    top: 30%;
    left: 50%;
    text-align: center;
    transform: translate(-50%,-50%);
}
h1{
    margin-bottom: 50px;
}
.language{
    width: fit-content;
    display: flex;
    margin: auto;
}
.word,.translation{
    text-align: center;
    text-transform: uppercase;
}
.word{
    
    padding-top: 0.8em;
    font-size: 3rem;
    font-weight: 500;
}
.translation{
    padding-top: 0.4em;
    font-size: 1.3rem;
    font-weight: 400;
}

.manip{
    position: absolute;
    width: 100%;
    display: flex;
    bottom: 10%;
}
.show,.save,.know{
    width: 50%;
    text-align: center;
    
}

.know button:hover ,.save button:hover  {
    color: rgb(255, 255, 255);
    background-color: rgb(22, 189, 0);
}
#card_button{
    height: 100%;
}
button{
    height: 40px;
    width: 120px;
    color: rgb(43, 43, 43);
    border: 2px solid rgb(43, 43, 43);
    background-color: white;
    border-radius: 5px;
    
    font-weight: 600;
    z-index: 10;
    
}

@media only screen and (max-width: 400px) {
    .card {
      max-height: 800px
    }
    #card_button{
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
  }