@import url('https://fonts.googleapis.com/css2?family=Righteous&display=swap');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Righteous', cursive;
}

body{
    background-color: #a793ff;;
}

footer > section > h3 > a {
    text-decoration: none;
    color: #67697c;
}

footer > section > h3 {
    transform: translateX(-300%);
    opacity: 0;
    animation: initializationX 1s ease-in-out forwards;
}

.container{
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

.calculator{
    border-radius: 7px;
    width: 400px;
    height: 500px;
    transform: translateX(-300%);
    opacity: 0;
    animation: initializationX .8s ease-in-out forwards;
}

#display-calculator{
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    color: white;
    border-radius: 7px;
    background-color: #253D5B;
    width: 100%;
    height: 90px;
    margin-bottom: 8px;
}

#button-calculator{
    color: white;
    gap: 2px;
    display: grid;
    grid-template: 1fr 1fr 1fr 1fr 1fr / 1fr 1fr 1fr 1fr;
    width: 100%;
    height: 400px;
}

.button{
    font-size: 25px;
    line-height: 70px;
    text-align: center;
    border-radius: 3px;
    background-color: #253D5B;;
}

.button:nth-child(17){
    grid-column-start: 1;
    grid-column-end: 3;
}

.button:hover{
    cursor: pointer;
    font-size: 30px;
}
.img-one, .img-two{
    position: absolute;
}

.img-one > img, .img-two > img{
    width: 350px;
}

.img-one{
    transform: translateY(-300%);
    opacity: 0;
    animation: initializationX 1.3s ease forwards;
    top: 10%;
    left: 2%;
}

.img-two {
    transform: translateY(300%);
    opacity: 0;
    animation: initializationX 1.3s ease forwards;
    right: 5%;
    bottom: 10%;
}

@keyframes initializationX {
    to{
        opacity:  1 ;
        transform: translateY(0);
    }
}

@media (max-width:400px){
    .calculator{
        width: 300px;
    }

    footer > section > h3{
        font-size: 15px;
    }
}

@media(max-width: 1200px){
    .img-one, .img-two{
        display: none;
    }
}

