* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f3efe7;
    color: #161513;
    font-family: Arial, Helvetica, sans-serif;
}

main {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
}

.intro {
    padding: 80px 8%;
    border-right: 1px solid #161513;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.label {
    font-family: "Courier New", monospace;
    font-size: 11px;
    letter-spacing: 1.5px;
    color: #5b1f2d;
}

h1 {
    margin: 15px 0 20px;

    max-width: 560px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(58px, 6.5vw, 105px);
    line-height: 0.9;
    font-weight: 400;
    letter-spacing: -4px;
}

.description {
    max-width: 430px;
    font-size: 17px;
    line-height: 1.6;
}

.upload-section {
    padding: 80px 7%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 25px;

    background: #d3aaae;
}

#photo-upload {
    display: none;
}

.upload-button {
    width: fit-content;

    padding: 14px 22px;

    background: #161513;
    color: #f3efe7;

    border: 1px solid #161513;

    font-family: "Courier New", monospace;
    font-size: 11px;
    letter-spacing: 1px;

    cursor: pointer;
}

.upload-button:hover {
    background: #5b1f2d;
}

.image-container {
    min-height: 520px;

    border: 1px solid #161513;

    background:
        linear-gradient(
            rgba(22, 21, 19, 0.05) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(22, 21, 19, 0.05) 1px,
            transparent 1px
        ),
        #f3efe7;

    background-size: 40px 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

#placeholder-text {
    font-family: "Courier New", monospace;
    font-size: 11px;
    letter-spacing: 1px;
    color: #68645f;
}

#preview-image {
    display: none;

    width: 100%;
    height: 100%;

    object-fit: contain;
}

#landmark-canvas {
    display: none;

    max-width: 100%;
    max-height: 70vh;

    width: auto;
    height: auto;
}

@media (max-width: 800px) {
    main {
        grid-template-columns: 1fr;
    }

    .intro {
        border-right: none;
        border-bottom: 1px solid #161513;
    }
}