* {
    box-sizing: border-box;
    margin: 0;
}

.persons-card-2 {
    text-align: center;
    float: left;
    min-width: 20%;
    margin: 10px auto;
}

.persons-card-3 {
    text-align: center;
    float: left;
    margin-left: 52px;
    margin-right: 22px;
    margin-top: -15px;
}

.persons-title {
    margin-top: 12%;
}

center p {
    color: #1a1a1a;
    font-family: 'Merriweather', serif !important;
    font-size: 18px;
}

.job{
    padding-left: 10px;
    margin-top: 20px;
}

.persons-image {
    border: 1px solid #8a8a8a;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.person-name a {
    color: #1a1a1a;
    font-weight: bold;
    font-size: 15px;
}

.person-name a:hover {
    color: #46c1f6;
    transition: 0.3s;
    text-decoration: none;
}

.person-job {
    color: #8a8a8a;
}

.for-border{
    border: 1px solid #8a8a8a;
     margin-bottom: 5%;
}

@media only screen and (min-width:1400px) {
 
    .amadekariye {
        padding: 10px;
        width: 100%;
        height: 150px;
    }
}

/* Ekstra büyük cihazlar (büyük dizüstü bilgisayarlar ve masaüstü bilgisayarlar, 1200 piksel ve üstü) */
@media only screen and (min-width: 1200px) {
   
    .amadekariye {
        padding: 10px;
        width: 100%;
        height: 150px;
    }
}


@media only screen and (max-width: 992px) {
    center p {
        font-size: 16px;
        margin-top: 10%;
    }
}

@media only screen and (max-width: 768px) {

    .amadekariye {
        padding: 10px;
        border-top: 1px solid #8a8a8a;
        width: 100%;
        height: auto;
    }

    .persons-card-2 {
        width: 50%;  
        margin: 10px auto;      
    }

    .persons-card-3 {
        margin: -16px 46px 5px 45px;
    }

    center p {
        font-size: 16px;
        margin-top: 9rem;
    }
}



@media only screen and (max-width: 376px) {

    .amadekariye {
        padding: 10px;
        border-top: 1px solid #8a8a8a;
        width: 100%;
        height: 180px;
    }

    .persons-card-3 {
        margin: -16px 36px 5px 36px;
    }

    .center p {
        font-size: 16px;
        margin-top: 10rem;
    }

    .persons-image {
        width: 80px;
        height: 80px;
    }

}


@media only screen and (max-width: 320px) {

    .amadekariye {
        border-top: 1px solid #8a8a8a;
    }
   
    .center p {
        font-size: 13px;
        margin-top: 10rem;
    }

    .persons-card-3 {
        margin: -16px 20px 5px 25px;
    }

    .person-name {
        font-size: 14px;
    }

    .person-job,
    .person-name a {
        font-size: 13px;
    }

    .persons-image {
        width: 80px;
        height: 80px;
    }
}
