@import './base.css';

/* 1.3.2 white space example */
.column-example {
    display: flex;
    flex-direction: row-reverse;
    gap: 1em;
}

.column-example > * {
    flex: 1;
}

.column-example-corr {
    display: flex;
    flex-direction: row;
    gap: 1em;
}

.column-example-corr > * {
    flex: 1;
}

.white-spacing {
    letter-spacing: 0.3em;
}

/* 1.3.3 sensory characteristics example */
.nav-menu {
    display: flex;
    justify-content: space-evenly;
    list-style: none;
}

.nav-menu > * {
    font-size: 30px;
    display: flex;
    flex-direction: column;
}

/* 1.3.4 orientation example */
.orientation {
    text-align: center;
    font-size: 2rem;
}

@media all and (orientation: landscape) {
    .orientation { display: block; }
    .corr-orientation { display: none; }
}

@media all and (orientation: portrait) {
    .orientation { display: none; }
    .corr-orientation { display: block; }
}

/* 1.4.1 use of color */
.gl-1-4-1 {
    text-decoration: none;
    color: rgb(185, 0, 0);
}

.gl-1-4-1-labels {
    display: block;
    margin-bottom: 0.2em;
}

.gl-1-4-1-error-msg {
    color: rgb(185, 0, 0);
    margin: 0.3em 0;
}

.gl-1-4-1-input-error {
    border-color: rgb(185, 0, 0);
    display: block;
    margin-bottom: 0.5em;
}

/* 1.4.3 contrast (minimum) */
.gl-1-4-3-normal-text-insufficient {
    color: slategray;
}

.gl-1-4-3-large-text-insufficient {
    color: #a9bdd1;
}

.large-text {
    font-size: 24px;
}

.large-text-bold {
    font-size: 19px;
    font-weight: bold;
}

/* 1.4.6 contrast (Enhanced) */
.gl-1-4-6-normal-text-insufficient {
    color: #A34100;
}

.gl-1-4-6-large-text-insufficient {
    color: #D65600;
}
