﻿@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

body {
  background : beige ;
  margin : 0 ;
  padding : 0 ;
  transition: all .3s;
}
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-thumb {
  background:rgba(255, 99, 71, .3);
  border-radius:2px;
}
::-webkit-scrollbar-thumb:hover {
  background:rgba(255, 99, 71, .9);
  border-radius:2px;
}
.container {
  width: 80%;
  margin: 0 auto;
  display :flex;
  justify-content:space-evenly;
  flex-wrap:wrap;
}

.card{
  margin : 5px;
  
  overflow : hidden;
  border-radius : 20px;
  background : white;
  margin-top:50px;
  transition: all .2s;
  box-shadow:5px 5px 15px rgba(0,0,0, .3);
}

.card:hover {
  box-shadow:5px 5px 25px rgba(255, 197, 92, 0.8);
  transform: translate(-5px, -5px);
}

.card:hover .icon svg{
  animation : iconjln 1s;
}

.img-cover{
  position: relative;
}

.card img {
    width: 300px;
    height: 285px;
    object-fit: cover;
}
.icon {
    position: absolute;
    top: 0;
    padding: 15px;
    right: 0px;
    border-bottom-left-radius: 18px;
    backdrop-filter: blur(0px);
    /*background-color: rgba(255, 255, 255, 0.5);*/
        background-color: rgb(255 197 92);
    cursor: pointer;
}
.textcard{
    position: relative;
    line-height: 1.8em;
    font-size: 13px;
}


.desc{
  padding : 1.5em ;
  font-family: 'Poppins', sans-serif;
}
.desc h1{
  display:inline;
}
.tdesc{
  margin-bottom:40px;
  width:100%;
  height:50px;
  overflow: auto;
}

.desc a{
  text-decoration: none;
  background-color: dodgerblue;
  padding: 15px 25px;
  color:white;
  border-radius: 15px;
  display:block;
  text-align: center;
  transition: all .2s;
}
.desc a:hover{
  background-color: SteelBlue;
}
.desc a:hover svg{
  animation : iconjln 1s;
}

@keyframes iconjln{
  0%, 100% {
    opacity : 1;
    transform: translateX(0%);
  }
  50%{
    opacity:0;
    transform: translateX(100%);
  }
  70%{
    opacity:0;
    transform:translateX(-100%);
  }
}

/*Style for navigation bar*/ 
.main-menu .navigation {
  
    height: 35px !important;
}

.main-menu .navigation > li.dropdown:hover > ul {
  
    top: 80% !important;
}
.desc h3 {
    color: #f79517;
}