.menu-icon {
    display: none;
    color: #10243e;
}

main {
    background: #f6f8fa;
    border-top: 1px solid #dce3ea;
}

.container-macoin {
    max-width: 80%;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.pages {
    display: flex;
    flex-direction: row;
    margin-bottom: 2rem;
    gap: 0.3rem;
    align-items: center;
}

p.namepages, p.pagemacoin {
    font-size: 0.9rem;
    color: #9ca3af;
}

i.fa-solid.fa-angle-right {
    color: #9ca3af;
    font-size: 0.7rem;
}

.container-macoin-description {
    margin: 1rem 0;
}

.container-macoins {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 1.5rem;
}

p.title {
    margin: 0;
    color: #1557d6;
    font-family: "Raleway", sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

h3.titles {
    margin: 0;
    color: #1557d6;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.025em;
}

.img-des {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.product-icon {
    color: #0b3c5d;
    font-size: 2.5rem;
    flex-shrink: 0;
}

p.description {
    max-width: 760px;
    margin: 1.5rem 0 0;
    color: #637181;
    font-family: "Raleway", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    text-align: left;
}

.container-macoin-description {
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #dce3ea;
}

.container-machine {
    display: flex;
    gap: 2rem;
    width: 100%;
    flex-wrap: wrap;
}

.con-mac {
    width: 300px;
    flex: 0 0 auto;
}

.machine-block {
    overflow: hidden;
    width: 100%;
    position: relative;
    border-radius: clamp(8px, 0.625vw, 24px);
    background: #9ca3af42;
}

.machine-block img {
    width: 100%;
    height: 350px;
    object-fit: contain;
    display: block;
    transition: transform 0.5s ease-in-out;
}

a.amachine {
    display: flex;
    align-items: flex-start;
    gap: clamp(12px, 0.833vw, 72px);
    background: linear-gradient(0deg, rgba(250, 255, 254, 0.6) -2%, rgba(217, 245, 239, 0.6) 58.21%);
    backdrop-filter: blur(25px);
    border-radius: clamp(12px, 0.833vw, 64px);
    padding: clamp(12px, 0.833vw, 40px);
    position: absolute;
    bottom: 0;
    overflow: hidden;
}


h5.name {
    margin: 0;
    color: #1557d6;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.1;
}

.description-machine {
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s ease-in-out;
}

p.des {
    color: #45474F;
}

p.detail {
    color: #1f4fd8;
    font-size: 1.3rem;
    font-family: 'Raleway';
    margin-top: 0.5rem;
    transition: all 0.5s ease-in-out;
}

@media (hover: hover) and (pointer: fine) {
    .machine-block:hover img {
        transform: scale(1.1);
    }
    a:hover {
        transition: all 0.5s ease-in-out;
    }
    .machine-block:hover .description-machine {
        height: auto;
        opacity: 1;
        margin-top: clamp(12px, 0.833vw, 32px);
    }
}

@media (max-width: 767px) {
    .img-des {
        flex-direction: column;
        gap: 0;
        margin-top: 2rem;
    }
    
    .container-macoin-description::after {
        margin-left: 4rem;
    }

    p.description {
        width: 100%;
        margin-left: 0;
    }

    .machine-block {
        height: auto;
        overflow: hidden;
    }

    .machine-block img {
        width: 100%;
        height: 300px;
        object-fit: contain;
        object-position: center;
        display: block;
    }

    a.amachine {
        position: relative;
        top: 0;
        height: auto;
    }

    .description-machine {
        height: auto;
        opacity: 1;
        margin-top: 0.8rem;
    }

    .machine-block:active {
        transform: scale(0.98);
        transition: transform 0.15s ease;
    }

    p.title {
        font-size: 2rem;
        text-align: center;
    }

    h5.name {
        font-size: 1.3rem;
    }

    p.des {
        font-size: 1rem;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .img-des {
        flex-direction: row;
        margin-top: 1rem;
    }
    p.description {
        margin-left: 1em;
    }

    .container-machine {
        flex-wrap: nowrap;
    }
    .description-machine {
        height: auto;
        opacity: 1;
        margin-top: 1rem;
    }

    .machine-block img {
        transform: none;
    }

    a.amachine {
        position: relative;
    }
}