@media (min-width: 992px) {
    body {
        font-family: "Times New Roman", sans-serif;
    }

    .main {
        display: flex;
        justify-content: center;
        align-content: center;
        flex-direction: column;
        color: #39414b;
        margin: 0 auto;
        width: 100%;
        border: 1px solid #bdbdc2;
        border-radius: 10px;
        box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    }

    .form {
        display: flex;
        justify-content: center;
        align-content: center;
        height: 400px;
        margin-top: 30px;
        margin-bottom: 30px;
        gap: 50px;
    }

    .characteristics {
        display: flex;
        justify-content: center;
        align-content: center;
        flex-direction: column;
        width: 300px;
        font-size: 18px;
    }

    #characteristic {
        appearance: none;
        width: 300px;
        height: 45px;
        margin-top: 5px;
        font-size: 16px;
        border-radius: 6px;
        margin-bottom: 10px;
        border: 1px solid #ccc;
        background: #FFFFFF url('/image/down-arrow.svg') no-repeat right 10px center;
        background-size: 10px 10px;
        font-family: "Times New Roman", sans-serif;
    }

    #date {
        width: 300px;
        height: 45px;
        margin-top: 5px;
        font-size: 16px;
        border-radius: 6px;
        border: 1px solid #ccc;
        background-color: #FFFFFF;
        font-family: "Times New Roman", sans-serif;
    }

    .time {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    #image-time {
        appearance: none;
        background-size: 10px 10px;
        width: 170px;
        height: 45px;
        margin-top: 10px;
        margin-bottom: 10px;
        font-size: 16px;
        border-radius: 6px;
        border: 1px solid #ccc;
        background: #FFFFFF url('/image/down-arrow.svg') no-repeat right 10px center;
        background-size: 10px 10px;
        font-family: "Times New Roman", sans-serif;
    }

    #place {
        appearance: none;
        width: 300px;
        height: 45px;
        margin-top: 5px;
        font-size: 16px;
        border-radius: 6px;
        border: 1px solid #ccc;
        background: #FFFFFF url('/image/down-arrow.svg') no-repeat right 10px center;
        background-size: 10px 10px;
        font-family: "Times New Roman", sans-serif;
    }

    select {
        padding-left: 15px;
    }

    input {
        padding: 15px;
        margin-bottom: 10px;
        width: 100%;
        box-sizing: border-box;
    }

    .image {
        display: flex;
        width: 300px;
        cursor: pointer;
        height: 400px;
        border-radius: 10px;
        border: 1px solid #dadada;
        box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    }

    #modal {
        display: none;
        position: fixed;
        top: 0; left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0,0,0,0.8);
        justify-content: center;
        align-items: center;
        z-index: 9999;
    }

    #modalImage {
        max-width: 90%;
        max-height: 90%;
    }

    .button-container {
        display: flex;
        justify-content: center;
        margin-top: 10px;
        width: 300px;
    }

    .button {
        width: 150px;
        cursor: pointer;
        height: 45px;
        font-weight: bold;
        color: #FFFFFF;
        font-size: 16px;
        border-radius: 10px;
        background-color: #283655;
        font-family: "Times New Roman", sans-serif;
    }

    #imageContainer {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 302px;
        height: 400px;
    }

    .message {
        display: none;
        width: 300px;
        height: 400px;
        text-align: center;
        margin-top: 20px;
    }

    #error_message {
        display: none;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin: auto;
        width: 1200px;
        height: 100px;
    }

    .canvas {
        display: block;
        margin: auto;
        border-radius: 10px;
        border: 1px solid #dadada;
        box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    }

    .description {
        display: flex;
        justify-content: center;
        align-content: center;
        flex-direction: column;
        text-align: center;
        font-size: 18px;
        max-width: 1000px;
        margin: 0 auto;
    }

    .header {
        display: flex;
        justify-content: center;
        align-content: center;
        margin: 0px;
        width: 100%;
    }

    .h1 {
        display: flex;
        justify-content: center;
        align-content: center;
        font-size: 26px;
        width: 800px;
        margin-left: 500px;
    }

    .language-switch {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        width: 200px;
        margin-left: 300px;
    }

    .language-switch a {
        text-decoration: none;
        color: #333;
        font-weight: bold;
        padding: 5px 10px;
        margin: 0 5px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
        transition: all 0.3s ease;
    }

    .language-switch a:hover {
        background-color: #283655;
        color: white;
        border-color: #283655;
    }

    .language-switch a.active {
        background-color: #283655;
        color: white;
        border-color: #283655;
    }

    .container-canvas-1 {
        width: 100%;
        height: 400px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .container-canvas-2 {
        width: 100%;
        height: 400px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

}

@media (max-width: 992px) {
    body {
        font-family: "Times New Roman", sans-serif;
    }

    .main {
        display: flex;
        height: 80vh;
        justify-content: center;
        align-content: center;
        flex-direction: column;
        color: #39414b;
        margin: 0 auto;
        width: 100%;
        border: 1px solid #bdbdc2;
        border-radius: 10px;
        box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    }

    .form {
        display: flex;
        justify-content: center;
        align-content: center;
        height: 400px;
        margin-top: 100px;
        margin-bottom: 30px;
        gap: 50px;
    }

    .characteristics {
        display: flex;
        justify-content: center;
        align-content: center;
        flex-direction: column;
        width: 300px;
        font-size: 18px;
    }

    #characteristic {
        appearance: none;
        width: 300px;
        height: 45px;
        margin-top: 5px;
        font-size: 16px;
        border-radius: 6px;
        margin-bottom: 10px;
        border: 1px solid #ccc;
        background: #FFFFFF url('/image/down-arrow.svg') no-repeat right 10px center;
        background-size: 10px 10px;
        font-family: "Times New Roman", sans-serif;
    }

    #date {
        width: 300px;
        height: 45px;
        margin-top: 5px;
        font-size: 16px;
        border-radius: 6px;
        border: 1px solid #ccc;
        background-color: #FFFFFF;
        font-family: "Times New Roman", sans-serif;
    }

    .time {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    #image-time {
        appearance: none;
        background-size: 10px 10px;
        width: 170px;
        height: 45px;
        margin-top: 10px;
        margin-bottom: 10px;
        font-size: 16px;
        border-radius: 6px;
        border: 1px solid #ccc;
        background: #FFFFFF url('/image/down-arrow.svg') no-repeat right 10px center;
        background-size: 10px 10px;
        font-family: "Times New Roman", sans-serif;
    }

    #place {
        appearance: none;
        width: 300px;
        height: 45px;
        margin-top: 5px;
        font-size: 16px;
        border-radius: 6px;
        border: 1px solid #ccc;
        background: #FFFFFF url('/image/down-arrow.svg') no-repeat right 10px center;
        background-size: 10px 10px;
        font-family: "Times New Roman", sans-serif;
    }

    select {
        padding-left: 15px;
    }

    input {
        padding: 15px;
        margin-bottom: 10px;
        width: 100%;
        box-sizing: border-box;
    }

    .image {
        display: flex;
        cursor: pointer;
        width: 300px;
        height: 400px;
        border-radius: 10px;
        border: 1px solid #dadada;
        box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    }

    #modal {
        display: none;
        position: fixed;
        top: 0; left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0,0,0,0.8);
        justify-content: center;
        align-items: center;
        z-index: 9999;
    }

    #modalImage {
        max-width: 90%;
        max-height: 90%;
    }

    .button-container {
        display: flex;
        justify-content: center;
        margin-top: 10px;
        width: 300px;
    }

    .button {
        width: 150px;
        cursor: pointer;
        height: 45px;
        font-weight: bold;
        color: #FFFFFF;
        font-size: 16px;
        border-radius: 10px;
        background-color: #283655;
        font-family: "Times New Roman", sans-serif;
    }

    #imageContainer {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 302px;
        height: 400px;
    }

    .message {
        display: none;
        width: 300px;
        height: 400px;
        text-align: center;
        margin-top: 20px;
    }

    #error_message {
        display: none;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin: auto;
        width: 1200px;
        height: 100px;
    }

    .canvas {
        display: block;
        margin: auto;
        width: 900px;
        height: 400px;
        border-radius: 10px;
        border: 1px solid #dadada;
        box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    }

    .description {
        display: flex;
        justify-content: center;
        align-content: center;
        flex-direction: column;
        text-align: center;
        width: 800px;
        font-size: 12px;
        max-width: 1000px;
        margin: 0 auto;
        margin-bottom: 100px;
    }

    .header {
        margin-top: 50px;
        display: flex;
        justify-content: center;
        align-content: center;
        width: 100%;
    }

    .h1 {
        display: flex;
        justify-content: center;
        align-content: center;
        font-size: 18px;
        width: 600px;
        /*margin-left: 50px;*/
    }

    .language-switch {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        width: 200px;
        margin-right: 30px;
        /*margin-left: 250px;*/
    }

    .language-switch a {
        text-decoration: none;
        color: #333;
        font-weight: bold;
        padding: 5px 10px;
        margin: 0 5px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
        transition: all 0.3s ease;
    }

    .language-switch a:hover {
        background-color: #283655;
        color: white;
        border-color: #283655;
    }


    .language-switch a.active {
        background-color: #283655;
        color: white;
        border-color: #283655;
    }

    .container-canvas-1 {
        width: 100%;
        height: 400px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .container-canvas-2 {
        width: 100%;
        height: 400px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}
