body {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    margin-left: 6vw;
    margin-right: 6vw;
    background: url('checker.png') no-repeat 100% 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
}
.headbox{
    background-color: rgb(155, 19, 35);
    text-align: center;
    padding: 1vw;
}

.row {
    display: flex;
    gap: 10px;
}
.card {
    border: 1px rgb(6, 10, 11, 0) solid;
    border-radius: 10px;
    transition: all 150ms;
    width: 33.3%; 
    height: 400px; 
    background-color: #0f3e5a; 
    padding: 16px;
    margin-top: 60px; 
    margin-left:40px;  
    text-align: center;
    
}
p{
    position: relative;
}
.card-img {
    height: 150px;
    overflow: hidden;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}
.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 1000ms;
}
.card-content {
    padding: 20px;
}
.card-content h2 {
    margin-top: 0;
}
.card:hover {
    transform: translateY(3px);
    .card-img img {
    transform: scale(1.3);
    }

}
a.button {
    border-radius: 3px;
    padding: 0.8em 1.2em;
    background-color: rgb(0, 100, 107);
    color: white;
    text-decoration: none;
    height: 4vw;
    
}
a.button:hover {
        animation: bounce 1000ms linear 3;
        
}
@keyframes bounce {
  0% {transform: translateY(0); }
  50% {transform: translateY(-8px);}
  100% {transform: translateY(0);}
}


@media screen and (max-width: 768px) {
    body {
        margin-left: 5vw;
        margin-right: 5vw;
    }
    .row {
        display: block;
    }
    .card {
        width: auto;
        margin-bottom: 10px;
    }
}