body {
     transition: 0.5s;
     line-height: 1.6;
     background-color: #b8b8b8;   
 }
/* Referans Kutuları Stili */
.referans-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 40px 20px;
    max-width: 80%;
    margin: 50px auto;
}

.referans-kutu {
    background-color: #cacaca;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: calc(33.333% - 40px); /* 3 kutu yan yana */
    max-width: 300px;
    min-width: 300px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.referans-kutu:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.referans-kutu img {
    max-width: 80%;
    max-height: 150px;
    margin-bottom: 20px;
}

.referans-kutu p {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 19px;
    color: #2c3e50;
    font-weight: bolder;
    margin: 0;
    text-align: right;
}
.referans-kutu:nth-child(1) p{
    color: white;
}

.referans-kutu:nth-child(1){
    background-color: #292929;
}
.referans-kutu:nth-child(4){
    background-color: #292929;
}
.referans-kutu:nth-child(4) p{
    color: white;
}
.referans-kutu h2{
    color: black;
    font-size: 1em;
    text-align: center;
    font-weight: 800;
}

@media screen and (max-width: 888px){
    .referans-container{
        max-width: 95%;
    }
    .referans-kutu{
        max-width: 39vw;
        min-width: 39vw;
        height: 39vw;
    }
    .referans-kutu p{
        font-size: 15px;
    }
}

