@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

:root{
    --White: hsl(0, 0%, 100%);

    --Slate-300: hsl(212, 45%, 89%);
    --Slate-500: hsl(216, 15%, 48%);
    --Slate-900: hsl(218, 44%, 22%);
}

*{
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

body{
    background-color: var(--Slate-300);
    font-family: "Outfit", sans-serif;
    font-size: 15px;
}

/* -----------> Main <----------- */
main{
    width: 323px;
    height: 500px;
    background-color: var(--White);
    margin: 80px auto;
    text-align: center;
    border-radius: 20px;
}

/* -----------> Image <----------- */
main img{
    animation: imageTop 1000ms;
    width: 287px;
    margin-top: 18px;
    border-radius: 10px;
}

/* -----------> Information <----------- */
.infirmation{
    margin: 26px 36px 0;
}
.infirmation h1{
    animation: H1Left 1000ms;
    font-size: 1.4em;
    font-weight: 700;
    color: var(--Slate-900);
}
.infirmation p{
    animation: pRigth 1000ms;
    font-weight: 400;
    font-size: 1em;
    color: var(--Slate-500);
    margin-top: 18px;
}
/* -----------> Animations <----------- */
main:hover{
    cursor: pointer;
    box-shadow: 4px 4px 4px var(--Slate-900);
    transform: translate(-4px, -4px);
}

@keyframes imageTop {
    0%{transform: translateY(-1000px);}
    100%{transform: translateY(0);}
}

@keyframes H1Left {
    0%{transform: translateX(-1000px);}
    100%{transform: translateX(0);}
} 

@keyframes pRigth {
    0%{transform: translateX(1000px);}
    100%{transform: translateX(0);}    
}

/* -----------> Footer <----------- */
.attribution {
    font-size: 11px;
    text-align: center;
    color: var(--Slate-900);
    margin-bottom: 30px;
}

.attribution a {
    color: hsl(228, 78%, 68%);
}