body {
    text-align: center;
    background-color: rgb(255, 250, 244);
    font-family: "Bitcount Single", system-ui;

}

img {
    width: 33vw;
    height: auto;
    border-style: dotted;
    border-width: .25em;
    border-color: #043b02;
    align-self: center;
}

h1 {
    color: #043b02;
    border-style: dotted;
    border-width: .1em;
    border-color: #043b02;
}

h2 {
    color: #043b02;
}

.left-text, .right-text {
    display: flex;
    flex-direction: column;
    font-size: 1.5em;
    line-height: 1.2;
    color: #043b02;
    width: 200px;
    flex-shrink: 0;
}

.left-text span, .right-text span {
    white-space: nowrap;
}

.main-text {
    width: 33vw;
    margin: 2em auto;
    padding: 1em;
    border-style: dotted;
    border-width: .25em;
    border-color: #043b02;
    text-align: left;
    box-sizing: border-box;
}

.registration-form {
    width: 33vw;
    margin: 2em auto;
    padding: 1em;
    border-style: dotted;
    border-width: .25em;
    border-color: #043b02;
    text-align: left;
    box-sizing: border-box;
}

.form-field {
    margin-bottom: 1em;
}

.form-field label {
    display: block;
    margin-bottom: 0.5em;
    color: #043b02;
    font-weight: bold;
}

.form-field input {
    width: 100%;
    padding: 0.5em;
    border-style: dotted;
    border-width: .1em;
    border-color: #043b02;
    background-color: rgb(255, 250, 244);
    color: #043b02;
    box-sizing: border-box;
}

.registration-form button {
    padding: 0.75em 1.5em;
    border-style: dotted;
    border-width: .25em;
    border-color: #043b02;
    background-color: rgb(255, 250, 244);
    color: #043b02;
    cursor: pointer;
    font-size: 1em;
    margin-top: 0.5em;
}

.registration-form button:hover {
    background-color: #043b02;
    color: rgb(255, 250, 244);
}

.image-text-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em;
    margin: 2em 0;
    max-width: 100%;
}

.left-text {
    text-align: right;
    align-self: flex-start;}

.right-text {
    text-align: left;
    align-self: flex-end; 
}

@media (max-width: 768px) {
    .image-text-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 1.5em;
    }
    
    img {
        width: 95vw;
        order: 2;
    }
    
    .left-text, .right-text {
        order: 1;
        text-align: center;
        align-self: center;
        font-size: clamp(0.4rem, 5vw, 1rem);
        width: 95vw;
        max-width: 100%;
    }
    
    .right-text {
        order: 3;
    }
    
    .left-text span, .right-text span {
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .main-text {
        width: 100vw;
        margin: 1em 0;
        padding: clamp(0.5rem, 2vw, 1rem);
        font-size: clamp(0.8rem, 4.5vw, 1.2rem);
        box-sizing: border-box;
    }
    
    .registration-form {
        width: 100vw;
        margin: 1em 0;
        padding: clamp(0.5rem, 2vw, 1rem);
        font-size: clamp(0.8rem, 4.5vw, 1.2rem);
        box-sizing: border-box;
    }
    
    body {
        margin: 0;
        padding: 0;
    }
}