main {
    background-color: #21333B;
    height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#item-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 50px;    
}

#item-image {
    max-width: 500px;
    max-height: auto;
    border-radius: 2px;
    box-shadow: -10px 10px 20px rgba(0, 0, 0, 0.8);
}

h1 {
    font-weight: bold;
    font-size: 2rem;
    color: #E1FAFF;
}

#item-info p {
    font-size: 1rem;
    color: #E1FAFF;
}

#item-info {
    max-width: 50%;
}

#condition, #price, #offers, #seller {
    font-weight: bold;
}

#price {
    font-size: 1rem;
    color: #88B2D5;
}

a {
    text-decoration: none;
}

@media (max-width: 1220px) and (min-width: 768px) {
    #item-image {
        width: 40%;
        margin-left: 10px;
    }
}

@media (max-width: 768px) {
    main {
        justify-content: flex-start;
        background-color: #161a1c;
        min-height: 100vh;
    }
    
    #item-container {
        flex-direction: column;
        justify-content: flex-start;
        gap: 0px;
        margin-top: 10px;
        height: 100%;
    }
    
    #item-image {
        width: 90%;
    }

    #item-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    h1 {
        font-weight: bold;
        font-size: 1.6em;
        margin-left: 5px;
        margin-right: 5px;
        margin-bottom: 2px;
        text-align: center;
    }

    #description {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        width: 80%;
        margin-top: 10px;
    }
    
    #description p {
        font-size: 1.2em;
        margin: 0px;
        margin-bottom: 2px;
    }

    #description p:last-of-type {
        font-size: 1em;
        margin-top: 20px;
    }

    #price {
        font-size: 1em;
    }
}



