/*a . in front of of variable initializes it; no . applies to named element*/
/*styles applied to parent apply to children (unless otherwise defined on child element/variable)*/

body { 
    overflow-x: hidden; /* Prevents horizontal scrolling */
    font-family: 'Roboto Mono', sans-serif;
    color: #FFFF;
    font-weight: 400;
    letter-spacing: .2px;
    margin: 0; /* Remove default margin */
    padding: 10px; /* Add some padding so content doesn't touch edges */
    transform: scale(1.5); /* 30% bigger */
    transform-origin: top center;
}

h1 {
    font-family: 'Roboto', sans-serif;
    letter-spacing: .5px;
    /* Mobile: Make headlines smaller on mobile */
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}
h2 {
    font-family: 'Roboto', sans-serif;
    letter-spacing: .2px;
    font-weight: 600;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
}
p {
    font-family: 'Roboto Mono', sans-serif;
    font-weight: 300;
    /* Mobile: Ensure text is readable */
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    line-height: 1.5;
    margin: 0 0 5px 0;
}
a {
    font-family: 'Roboto Mono', sans-serif;
    font-weight: 300;
    justify-content: center;
    color: #FFFF;
    margin-bottom: 5px;
}
h1.flex-container {
    margin-bottom: 30px;
}

p.flex-container {
    margin-bottom: 5px;
}


/*center justification*/  
.flex-container {
    display: flex;
    justify-content: center;
    /* Mobile: Allow text to wrap and add some margin */
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
}
/*fake ass emojis*/
.emoji-size {
    height: 1.2em;         /* Slightly larger than 1em */
    width: 1.2em;          /* Square like most emojis */
    vertical-align: -0.1em; /* Fine-tune vertical position */
    display: inline-block;
}
/*fixes favicon emoji thing*/
a.flex-container {
    flex-direction: row;    /* Make links horizontal */
    align-items: center;    /* Center the image with the text */
    gap: 0.5em;            /* Space between all children (image and text) */
}

/*for phones*/

@media (max-width: 768px), (pointer: none), (pointer:course) {
body {
    transform: scale(1.0); /*override 1.5 scale for mobile users*/
}
.input-top, .input-bot {
/* makes inputs easier to tap */
    padding: 12px;
    margin: 8px 0;
    font-size: max(16px, 1rem); /* Prevents zoom on iOS */
    box-sizing: border-box;
    border: 1px solid rgb(0, 0, 0);
}
.input-bot {
    /* makes textarea taller and easier to use */
    min-height: 80px;
    resize: vertical;
}    
.form-container {
    width: min(450px, 65%);
    padding: 0 5px;
}
.pfp-selector-container {
    grid-template-columns: repeat(4, 1fr); /* 4 per row on mobile */
}
.submit {
    padding: 15px; /* Bigger buttons for easier tapping */
    font-size: 16px; /* Prevents zoom on iOS */
}
}