* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    display: flex;
    flex-direction: column;
    height: 100vh;
    background-color: #fffde7;
    transition: all 0.7s ease;
    font-family: sans-serif;
    
}

nav{
    background:#ccc9b5;
    height: 70px; 
    width: 100%;
}

.nav-items{
    display: flex;
    height: 100%;
    align-items: center;
    position: relative;
    margin-left: 30%;
}

.nav-items i {
    font-size: 50px;
    position: absolute;
    left: 50%;
    border-radius: 10px;
    transform: translateX(-50%) rotate(0);
    animation: loading 1s linear;
    
}


@keyframes loading{
    from{
       
        transform: translate(-50%) rotate(0deg);
    }
   
    to{
       
        transform: translate(-50%) rotate(1440deg);
    }
}

.landing{
    margin-left: auto;
    margin-right: auto;
}
.landing-description{
    margin-bottom: 25px;
}
.landing-all{
    max-width: 1000px;
    display: flex;
    flex-wrap: wrap;
    margin: 50px 0;
    justify-content: space-around;
}
.content{
    width: 300px;
    height: 380px;
    position: relative;
    margin: 15px;
    cursor: pointer;
    margin-bottom: 20px;        
    background: #919192;
    border-radius: 5px;
    overflow: hidden;
}
.content img{
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 80%;
    transition: 0.5s;
}
.content:hover img{
    opacity: 0;
}
.content .content-description{
    position: absolute;
    bottom: 15px;
    left: 10%;
    width: 80%;
    height: 50px;
    overflow: hidden;
    background-color: whitesmoke;
    transition: 0.5s;
    border-radius: 5px;

    padding: 15px;
}

.content:hover .content-description{
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    text-align: justify;

}

.content-description a{
    margin: 50px 0 0;
    padding: 0;
    opacity: 0;
    transition: 0.5s;
    line-height: 2rem;
    text-decoration: none;
}

.content:hover .content-description a{
    opacity: 1;
    transition-delay: 0.4s;
}

.content .content-description a:visited{
    text-decoration: none;
    color: black;
}

.content .content-description h3{
    margin-bottom: 20px;
    padding: 0;
    font-style: 45px;
}

@media screen and (max-width:480px){
 

.nav-items i {
    font-size: 50px;
    position: absolute;
    left: 70%;
    transform: translateX(-50%) rotate(0);
    animation: loading 1s linear;
}

} 

