@charset "utf-8";

@font-face {
    font-family: "Roboto";
    src: url("Fonts/roboto-mono-latin-400-normal.ttf");
}

html {
    position: relative;
    min-height: 100%;
    height: 100%;
    overflow-x: hidden;
    font-family: Roboto;
}

body {
    margin: 0;
    padding: 0;
    position: relative;
    min-height: 100%;
    height: auto;
    overflow-x: hidden;
}

.container {
    width: 1500px;
    margin: 0 auto;
    padding-bottom: 200px;
}

.product-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 100%;
    margin: 0 auto;
    padding: 15px;
}

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.product-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-title {
    font-family: sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
    padding: 0;
}

h3 {
    padding: 0;
    margin: 0;
}

table {
    font-size: 0.8rem;
    border-radius: 5px;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    border: .1em solid black; /* Sets a 1px solid black border for table headers and data cells */
}

td {
    border: .1em solid black; /* Sets a 1px solid black border for table headers and data cells */
    padding: 8px; /* Adds padding inside cells */
}

th {
    border: .1em solid black; /* Sets a 1px solid black border for table headers and data cells */
    padding: 8px; /* Adds padding inside cells */
}

.product-description {
    font-family: sans-serif;
    color: #555;
    line-height: 1.5;
    font-size: 1rem;
    border-radius: 5px;
    padding: 5px;
    border-width: 1px;
}

.product-price {
    font-size: 1.5rem;
    color: #222;
}

@media screen and (max-width: 1500px) {
    .container {
        width: 100%;
        margin: 0 auto;
    }
}

@media (min-width: 768px) {
    .product-container {
        flex-direction: row;
    }

    .product-image {
        flex: 1;
    }

    .product-details {
        flex: 1;
        justify-content: center;
        padding: 0 1rem;
    }
}