@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', Segoe UI, Tahoma, sans-serif;
}

body{
    width: 100%;
    height: 100%;
}

.container{
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
}

.header-section{
    background-color: white !important;
    background: fixed;
}

.logo{
    text-align: center;
    border: 3px solid black;
    font-size: large;
    font-weight: bold;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 10px 50px 10px 50px;
    padding: 0 5px 0 5px;
    cursor: pointer;
}

.logo:hover{
    color: purple;
    border-color: purple;
    transition: 0.3s ease-in;
    transform: translateX(15px);
}

a.active{
    color: purple;
    font-weight: bold;
    background-color: rgba(223, 221, 221, 0.308);
}

.top-nav{
    padding: 0;
    align-items: center;
    margin: 0 15px 10px 15px;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
}

a{
    text-decoration: none;
    color: black;
    padding: 5px 8px;
}

.top-nav>a:hover{
    color: purple;
    transform: translateX(1px);
    background-color: rgba(223, 221, 221, 0.308);
    font-weight: bold;
}

.main-body{
    background-color: rgba(223, 221, 221);
    margin-top: 10px;
}
.review-summary{
    text-align: center;
    line-height: 1.5;
    margin: 0 20px;
}

h2{
    padding-top: 10px;
}

img{
    margin: 0;
}

.card{
    margin: 30px 15px 0 15px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    font-size: 13px;
}

.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
  transform: translateY(-10px);
  transition-duration: 0.8s;
}

.card-content{
    background-color: white;
    padding: 10px 15px;
    margin-top: -8px;
}
.date{
    color: gold;
    line-height: 1.3;
    font-weight: bold;
    font-size: 13px;
}

.review{
    text-align: justify;
    padding-top: 20px;
}

.more-review{
    margin: 30px 60px 0 60px;
    text-align: center;
    border-radius: 20px;
    background-color: gold;
    padding: 10px 0;
}

.more-review:hover{
    transform: translateY(-10px);
    transition: 0.8s;
}

.more-review>a:hover{
    color: purple;
}

.btn{
    color: #010;
    font-weight: bold;
    padding-bottom: 10px;
}

@media only screen and (min-width: 420px) {
    .more-review{
        margin-right: 125px;
        margin-left: 125px;
    }

    .logo {
        margin-left: 110px;
        margin-right: 110px;
    }
}

@media only screen and (min-width: 500px) {
     .header-section{
         display: flex;
         flex-direction: row;
         justify-content: space-between;
     }
    .logo{
        margin-left: 30px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .top-nav{
        margin-top: 10px;
        padding-left: 10px;
        padding-right: 10px;
    }
    .review-summary{
        margin-left: 30px;
        margin-right: 30px;
    }
    .card{
        margin-left: 40px;
        margin-right: 40px;
        font-size: 15px;
    }
    
    .more-review{
        margin-left: 300px;
        margin-right: 300px;
        margin-bottom: 20px;
    }

    img{
        max-height: 100%;
        height: 400px;
    }
}

@media only screen and (min-width: 800px) {
    .header-section{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
   .logo{
       margin-left: 30px;
       padding-left: 20px;
       padding-right: 20px;
   }
   .top-nav{
       margin-top: 10px;
       padding-left: 30px;
       padding-right: 30px;
       font-size: 18px;
   }

   a{
    padding-left: 10px;
    padding-right: 10px;
    margin: 0 10px;
   }

   .review-summary{
    padding-top: 25px;
    margin-left: 50px;
    margin-right: 50px;
   }

   .card-container{
      display: flex;
   }

   .card{
      font-size: 15px;
      margin-right: 20px;
      margin-left: 20px;
   }

   .card-content{
      height: 66%;
      overflow: hidden;
   }

   img{
      height: 200px;
   }

   .more-review{
    margin-top: 120px;
    margin-left: 550px;
    margin-right: 550px;
    margin-bottom: 30px;
 }
}