.about-me {
    display: flex;
    background: linear-gradient(rgb(5, 5, 5), rgb(12, 12, 12));
    background-size: cover;
    align-items: center;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
}

.main-tag {
    margin-top: 5%;
    
}

.main-tag h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px #000;
    margin-bottom: 30px;
    font-family: "Poiret One", sans-serif;
    font-weight: 400;
    font-style: bold;
}




.about {
    display: flex;
    justify-content: center;
}

.about img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    margin-bottom: 20px;
    box-shadow: 2px 2px 4px #000;
}

.about p {
    font-size: 1.2rem;
    color: #ffffff;
    max-width: 700px;
    line-height: 1.8;
    width: 30%;
    padding-left: 20px;
    font-family: "Poiret One", sans-serif;
    font-weight: 400;
    font-style: normal;
}


.carrier {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Tři sloupce s rovnoměrně rozdělenou šířkou */
    gap: 30px; /* Mezera mezi boxy */;
    text-align: left;
    padding: 2%;
    
    
}



.carrier h2 {
    text-shadow: 4px 4px 8px #000;
    color: #fff; /* Nastavení barvy textu */
    margin-top: 1%;
    font-size: 40px;
    font-family: "Poiret One", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.carrier h3 {
    text-shadow: 4px 4px 8px #000;
    color: #fff; /* Nastavení barvy textu */ 
    margin-top: 1%;
    font-size: 30px; 
    font-family: "Poiret One", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.carrier p {
    text-shadow: 4px 4px 8px #000;
    color: #fff; /* Nastavení barvy textu */
    width: 100%; /* Text bude zabírat celou šířku svého rodičovského elementu */
    margin: 0 auto; /* Vycentrování textu v rámci jeho rodičovského elementu */
    margin-top: 1%;
    font-size: 20px;
    font-family: "Poiret One", sans-serif;
    font-weight: 400;
    font-style: normal;
    
}

@media (max-width: 768px) {
    .about-me {
        padding: 30px 20px;
        flex-direction: column;
        height: auto;
    }

    .main-tag {
        margin-top: 5rem;
        text-align: center;
    }

    .main-tag h1 {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .about {
        flex-direction: column;
        align-items: center;
    }

    .about img {
        width: 250px;
        height: 250px;
        margin-bottom: 15px;
    }

    .about p {
        font-size: 1rem;
        width: 100%;
        max-width: none;
        padding: 0 10px;
    }

    .carrier {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .carrier h2 {
        font-size: 28px;
    }

    .carrier h3 {
        font-size: 22px;
    }

    .carrier p {
        font-size: 16px;
    }
}
