:root {
    --lurji: #3462bd;
    --gia-lurji: #67baff;
    --stafilosferi: #f7c775;
    --shavi: #000000;
    --tetri: #FCFEFE;
}

.about {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1em;
    position: relative;
    top: 230px;
    overflow: hidden;
    padding: 1em;
}

.imgcent {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
}

.about img {
    width: 700px;
    height: 600px;
    object-fit: cover;
    border-radius: 10px;
}

.textinfo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1em;
    overflow: hidden;
    text-align: left;
}

.textinfo p {
    width: 100%;
}

.textinfo h2 {
    color: var(--lurji);
    padding: 1em 0 1.5em 0;
    font-size: 2em;
}

@media(max-width: 850px) {
    .about img {
        width: 100%;
    }
}

@media(max-width: 650px) {
    .about img {
        height: 400px;
    }
}