﻿body {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: white;
    background-image: url('../images/SL_073119_22070_04.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
    display: grid; /* Flex yerine grid düzeni kullanılıyor */
    grid-template-columns: repeat(3, 1fr); /* 3 sütun */
    grid-template-rows: repeat(2, 1fr); /* 2 satır */
    grid-gap: 10px; /* Kutular arası boşluk */
    width: 100%;
    max-width: 700px; /* Konteyner genişliği */
    padding: 10px;
    box-sizing: border-box;
}

.box {
    height: 200px; /* Sabit yükseklik */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 25pt;
    font-weight: normal;
    color: white;
    text-decoration: none;
    transition: transform 0.3s, background-color 0.3s, color 0.3s;
    border-radius: 8px; /* Yuvarlatılmış kenarlar */
    padding: 5px;
}

.boxx {
    background-color: #FFF;
    height: 200px; /* Sabit yükseklik */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 8px; /* Yuvarlatılmış kenarlar */
}

.box1 {
    background-color: #FF5733;
}

.box2 {
    background-color: #89753f;
}

.box3 {
    background-color: #33CFFF;
}

.box4 {
    background-color: #49c087;
}

.box5 {
    background-color: #4c7d93;
}

.box6 {
    background-color: #d8a31a;
}

.box7 {
    background-color: #0076d4;
}

.box8 {
    background-color: #d63d29;
}

.boxx img {
    max-width: 80%; /* Resim kutuya sığacak şekilde ayarlandı */
    height: auto;
}

.box:hover {
    transform: scale(1.1);
    background-color: #000000;
    color: white;
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: repeat(2, 1fr); /* Küçük ekranlarda 2 sütun */
        max-width: 400px;
	padding-top: 400px
    }
    .box {
        font-size: 18pt;;
    }
    .boxx {
        grid-column: span 2;
    }

    .boxx img {
        max-width: 60%; 
    }
}
.box {
    flex-direction: column; /* İkon ve metni alt alta yerleştirir */
}

.box i {
    font-size: 60px; /* İkon boyutu */
    margin-bottom: 10px; /* Yazı ile ikon arasında boşluk */
    color: inherit; /* Kutunun rengini alır */
}
.description {
    font-size: 14pt; /* İkon boyutu */
    margin-bottom: 10px; /* Yazı ile ikon arasında boşluk */
    color: inherit; /* Kutunun rengini alır */
}

