.main {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.up {
    display: flex;
    flex-direction: row;
    gap: 0.5em;
}

.down {
    display: flex;
    flex-direction: row;
    gap: 0.5em;
}

.card1 {
    width: 90px;
    height: 90px;
    outline: none;
    border: none;
    background: white;
    border-radius: 90px 5px 5px 5px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    transition: .2s ease-in-out;
}

.instagram {
    margin-top: 0.5em;
    margin-left: 0.2em;
    fill: #cc39a4;
}

.card2 {
    width: 90px;
    height: 90px;
    outline: none;
    border: none;
    background: white;
    border-radius: 5px 90px 5px 5px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    transition: .2s ease-in-out;
}

.twitter {
    margin-top: 0.5em;
    margin-left: -11px;
    fill: #03A9F4;
}

.card3 {
    width: 90px;
    height: 90px;
    outline: none;
    border: none;
    background: white;
    border-radius: 5px 5px 5px 90px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    transition: .2s ease-in-out;

}

.facebook {
    margin-top: -0.6em;
    margin-left: 0.5em;
}

.card4 {
    width: 90px;
    height: 90px;
    outline: none;
    border: none;
    background: white;
    border-radius: 5px 5px 90px 5px;
    transition: .2s ease-in-out;
}

.download {
    margin-top: -0.5em;
    font-size: 20px;
    /* ปรับขนาดไอคอน */
    color: #1eb610;
    /* สีของไอคอน */
    margin-left: -9px;
}

.card1:focus {
    outline: none;
}

.card2:focus {
    outline: none;
}

.card3:focus {
    outline: none;
}

.card4:focus {
    outline: none;
}

.card1:hover {
    cursor: pointer;
    scale: 1.1;
    background-color: #cc39a4;
}

.card1:hover .instagram {
    fill: white;
}

.card2:hover {
    cursor: pointer;
    scale: 1.1;
    background-color: #03A9F4;
}

.card2:hover .twitter {
    fill: white;
}

.card3:hover {
    cursor: pointer;
    scale: 1.1;
    background-color: rgb(8, 77, 167);
}

.card3:hover path {
    fill: #ffffff;
}

.card4:hover {
    cursor: pointer;
    scale: 1.1;
    background-color: #070000;
}


.btn-download {
    position: absolute;
    right: 21px;
    margin-top: -81px;
    background-color: rgb(110 198 237);
    display: none;
}

@media screen and (max-width: 1600px) {
    .btn-download {
        display: inline-block;
        /* เปลี่ยน display เป็น inline-block */
    }
}

@media (max-width: 1600px) {

    .card1,
    .card2,
    .card3,
    .card4 {
        display: none;
    }
}