html{ 
    height:100%;
}
body{
    background: linear-gradient(240deg, #ff0000, #ff7f00, #ffff00);
    background-size: 600% 600%;
    animation: fade 12s ease-in-out alternate infinite;
    font-family: 'Rajdhani', sans-serif;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 100px 100px;
}
a { text-decoration: none; }

@keyframes fade {
    0%{background-position:10% 100%}
    25%{background-position:50% 100%;}
    50%{background-position:100% 50%}
    100%{background-position:100% 10%}
}
.photo{
    align-self: center;
    justify-self: center;
    grid-column: 2;
    grid-row:3;
   border-radius: 10%;
}
.back{
grid-column:5;
grid-row: 9;
cursor: pointer;
display: flex;
align-self: center;
justify-self: center;
color:rgb(221, 221, 221);
text-transform: uppercase;
text-align: center;
font-size: 70px;
}
@media(max-width:420px){
    html{ 
        height:100%;
    }
    body{
        background: #ff0000, ;
        font-family: 'Rajdhani', sans-serif;
        display: grid;
        grid-template-columns: 100px 250px 200px;
        grid-template-rows: 80px 80px 160px;
    }
    a { text-decoration: none; }
    
    
    .photo{
        display: flex;
        align-self: center;
        justify-self: center;
        grid-column: 2;
        grid-row:4;
       border-radius: 10%;
    }
    .back{
    grid-column:4;
    grid-row: 1;
    cursor: pointer;
    align-self: center;
    justify-self: center;
    color:rgb(221, 221, 221);
    text-transform: uppercase;
    font-size: 100px;
    }
    
}