html,body{margin:0;padding:0;}

body{
    background: #3b63f0;
}
.container{
    display: grid;
    grid-template-columns: auto 1fr 1fr auto;
    grid-template-rows: 1fr 1fr auto;
    grid-gap: 1em;
    position: relative;
}

.top-row{
    grid-area: 1 / 2 / 2 / 4;
    display: grid;
    align-items: end;
    grid-gap: 1em;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.avatar{
    background-image: url(/daniel\ grand\ canyon.jpg);
    background-position: left center;
    background-size: cover;
    width:100%;
    height: 335px;
    border-radius: 3px;
    opacity: 0; 
    animation: fade-in 2s ease 1s forwards;
}

.hello h1 {
    font-size: 3em;
    font-family: 'Montserrat', sans-serif;
    color: white;
    margin-bottom: 10px;
    margin-left: -10px;;
    position: relative;
    opacity: 0;
    top: -50px;
    animation: come-down 2s ease 0s forwards;
}

.hello p{
    color: white;
    font-size: 1em;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    opacity: 0;
    top: 0;
    animation: come-down 2s ease .5s forwards;
}

main{
    grid-area: 2 / 2 / 3 / 4;
    justify-content: stretch;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-column-gap: 1em;
    opacity: 0; 
    animation: fade-in 2s ease 1s forwards;
}

#chair{
grid-area: 2 / 3 / 3/ 4;
animation: come-left 2s ease 1.5s forwards;
padding-top: 50px;
position: absolute;
opacity: 0;
width: 70%;
}

@keyframes fade-in{
    from{
       opacity: 0; 
       
    }
    to{
        opacity: 1;
        
    }
}

@keyframes come-left{
    from{
       opacity: 0; 
       left: -30px;
    }
    to{
        opacity: 1;
        left: 0px;
    }
}
@keyframes come-down{
    from{
       opacity: 0; 
       top: -30px;
    }
    to{
        opacity: 1;
        top: 0px;
    }
}

.col-wrapper{
    background-color: #2244c2;
    border-radius: 3px;
    padding: 20px;  
}
.work-links{
    margin: 0px;
    padding: 0px;
    
}
.work-links li{
    list-style-type: none;
    display: block;
    margin-bottom: 5px;
    
}

.work-link{
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    display: inline-block;
    background-color: #3b63f0;
    border-radius: 3px;
    padding: 15px 30px 15px 15px;
    
}
.work-link:hover, .work-link:focus{
    background-color: #607ff0;
    font-weight: bold;
}

.heading-2{
    font-size: 2em;
    font-family: 'Montserrat', sans-serif;
    color: white;
}

@media (min-width: 576px){
.container{
    grid-template-columns: minmax(20px, 1fr) 4fr 4fr minmax(20px, 1fr);
}
.hello{
   
    align-self: center;
}
    .hello h1{
    font-size: 5em;
}
.hello p{
    font-size: 1.5em;
}
}