@media (max-width:1460px) {
    /* Kontakt */
    .where-to-find-me {
        display: grid;
        grid-template-columns: repeat(2, 2fr);
        margin-top: 30px;
    }
    
    /* První a poslední tlačítko na samostatném řádku */
    .where-to-find-me .first,
    .where-to-find-me .down:last-child {
        grid-column: 1 / -1;
    }
    /* Odstranění odsazení */
    .where-to-find-me .down {
        margin-top: 0px;
    }
}

@media (max-width:1190px) {
    /* O mně */
    /* Zmenšování obrázků */
    .about-me-cards img {
        height: 100%;
        max-height: 50px;
} 
  
}

@media (max-width:840px) {
    /* O mně */
    .about-me-cards {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 50px;
        margin-top: 50px;
    }
    /* Zmenšování obrázků */
    .about-me-cards img {
        width: 100%;
        max-width: 500px;   
    }
    /* Prohození 3. a 4. karty */
    .about-me-cards img:nth-child(3) {order: 2;}
    .about-me-cards img:nth-child(4) {order: 3;}

    /* Odstranění odsazení a centrování */
    .right, .left {
        justify-self: center;
        transform: none;
    }

    /* Kontakt */
    .btn-where-to-find-me {
        display: inline-block;
        width: 100%;
        min-width: 260px;
        height: 55px;
        line-height: 40px;
        font-size: 19px;
    }

    .btn.btn-where-to-find-me:hover {
        font-size: 21px;
    }
}

@media (max-width:550px) {

    /* Navigace */
    .mobile-menu-toggle {
        display: block;
        font-size: 30px;
        background: none;
        color: #f4e8e3;
        cursor: pointer;
    }

    nav ul {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-end;
        position: fixed;
        top: 80px;
        left: 0;
        padding-right: 120px;
        padding-bottom: 20px;
        background: #000000c6;
        opacity: 0;
        transition: opacity 0.5s;
    }

    nav ul.open {
        display: flex;
        opacity: 1;          
    }

    nav ul li {
        margin-top: 5px;
    }

    nav ul li a:hover,
    nav ul li a:active {
        border-bottom: 2px solid transparent;
    }

    /* Kontakt */
    .where-to-find-me {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        margin-top: 30px;
    }
}

@media (max-width:465px) {
    /* Header */
    h1 {
        margin-top: 20px;
    }

    .inline {
    display: block;
    }

    .btn-empty {
        margin-left: 0;
    }

    .btn.btn-empty {
        margin-top: 20px;
    }

    footer {
        line-height: 30px;
        padding: 20px;
    }
}