/*Phần header*/
body{
    padding: 0;
    margin: 0;
    animation: gradient 20s ease infinite;
    background: linear-gradient(-45deg, #a1c4fd, #c2e9fb, #fbc2eb, #a6c1ee);
    background-size: 400% 400%;    
}
header{
        padding: 0.5% 2.5%;
        font-family: Arial, sans-serif;
        align-items: center;
        justify-content: space-between;
        display: flex;
        position: sticky;
        top: 0;
        z-index: 1000;
        backdrop-filter: blur(5px);
}
header a{
    text-decoration: none;
    color: black;
    display: inline-block;
}
nav ul{
    list-style: none;
    display: flex;
    gap: 20px;
    text-align: right;
    font-weight: bold;
}
nav ul li a:hover{
    color: orange;
    transition: 0.5s;
}
.logo{
    font-size: 24px;
    font-weight: bold;
    color: white;
}
/*Phần main*/
.description{
    text-align: center;
    font-style: italic;
}
.post{
    border: solid 1px black;
    margin: 40px;
    padding: 20px;
    border-radius: 10px;
    text-decoration: none;
    transform: scale(1);
    transition: transform 0.4s ease;
    background-color: white;
}
.post img{
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover
}
.post:hover img{
    filter: brightness(1.1);
}
.post h2{
    color: orangered;
}
.post p{
    font-size: 16px;
    line-height: 1.5;
    font-family: Arial, Helvetica, sans-serif;
}
.post:hover{
    box-shadow: 5px 5px 5px gray;
    transform: scale(1.02);
}
@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
/*test grid*/
.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 2 cột */
  gap: 10px;
  padding: 10px;
  max-width: 2000px;
  margin: 0 auto;
}
.grid-container a{
    text-decoration: none;
    color: orangered;
}
/*form ý kiến*/

.feedback-form{
    display: flex;
    border: 1px solid black;
    flex-direction: column;
    border-radius: 5px;
    width: 50%;
    margin: 40px auto;
    background-color: white;
    height: auto;
    line-height: 3;
    padding: 10px;
}
.feedback-section p{
    font-style: italic;
    text-align: center;
}
.feedback-form input, .feedback-form textarea{
    border: 1px solid gray;
    border-radius: 5px;
    padding: 5px;
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
}
.copyright{
    text-align: center;
    font-size: 15px;
    margin-top: 0px;
}