:root {
    --primary-color: #f8af00;
    --primary-dark: #333;
    --secondary-dark: #5e5a58;
    --primary-light: #f6f6f6;
    --secondary-light: #e5e5e5;
}

@font-face {
    font-family: 'PF Din Text Cond Pro';
    src: url("font/PFDINTEXTCONDPRO-LIGHT.woff");
    font-weight: 300;
  }
@font-face {
    font-family: 'PF Din Text Cond Pro';
    src: url("font/PFDINTEXTCONDPRO-REGULAR.woff");
    font-weight: 500;
  }
@font-face {
    font-family: 'PF Din Text Cond Pro';
    src: url("font/PFDINTEXTCONDPRO-BOLD.woff");
    font-weight: 700;
  }

html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}

body {
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    color: var(--primary-dark);
}

.container {
    width: 95%;
    max-width: 1280px;
    margin: 0 auto;
}

.container-center {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin: 2rem auto;
    gap: 2rem;
}

.button {
    outline: none;
    border: none;
    border-radius: 6px;
    padding: 1rem 1.25rem;
    font-size: 1.2rem;
    color: var(--primary-color);
    background-color: var(--secondary-dark);
    transition: 0.25s ease-in-out;
    cursor: pointer;
}

.button:hover {
    color: var(--secondary-dark);
    background-color: var(--primary-color);;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

.head {
    text-align: center;
}

.head img {
    width: clamp(200px, 100%, 700px);
}

.head h1 {
    margin: 4.20rem 0;
}

/* FORM -------------------------- */
.form {
    max-width: 900px; 
    margin: 0 auto; 
    background-color: var(--primary-light); 
    padding: 1rem 2rem; 
    border-radius: 10px; 
    border: 1px solid var(--primary-light);
}

.form .container-center {
    margin-bottom: 1rem;
}

.form-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1rem 0;
    width: 100%;
}

input {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--secondary-light);
    border-radius: 6px;
}

.form input:not([type = "submit"]) {
    width: 100%;
}

input:focus, input:focus-visible {
    border-color: var(--primary-color);
    outline-color: var(--primary-color);
}

.email-container {
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.email-container > input {
    flex-grow: 1; 
    border-right: 0; 
    border-top-right-radius: 0; 
    border-bottom-right-radius: 0;
}

.email-container span {
    font-size: 0.8rem; 
    background: var(--primary-light); 
    border: 1px solid var(--secondary-light); 
    border-top-right-radius: 5px; 
    border-bottom-right-radius: 5px; 
    border-left: 0; color: #6c6c6c; 
    user-select: none; 
    height: 44px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    padding: 0 1rem;
}

.form-input {
    position: relative;
    flex-grow: 1;
}

.form-input label {
    position: absolute; 
    left: 10px; 
    top: 16px; 
    font-size: 14px; 
    background: white; 
    padding: 0 5px; 
    color: #bfbfbf; 
    border-radius: 3px;
    transition: 0.25s ease-in-out;
}

/* SIGNATURE -------------------------- */
#signature-container {
    display: none;
    margin: 5rem auto
}

.copy-confirm {
    display: none;
    position: absolute;
    padding: 1rem 1.3rem;
    background: #73db8b;
    color: #fff;
    font-size: 1.3rem;
    border-radius: 10px;
}

/* HOW TO --------------------------------- */
.how-to {
    margin: 7rem auto;
    text-align: center;
    max-width: 900px;
    font-size: 1.1rem;
    background-color: rgba(255, 255, 255, .21);
    padding: 2.5rem 2.625rem;
    border-style: solid;
    border-width: 1px;
    border-color: rgba(255, 255, 255, .31);
    border-radius: 1rem;
}

@media screen and (max-width: 520px) {
    .email-container span{
        font-size: 0.65rem;
        padding: 0 0.5rem;
        height: 44px;
    }

    .email-container span {
        text-align: end;
    }

    .how-to {
        padding: 2.5rem 1rem;
    }
}

@media screen and (max-width: 400px) {
    input {
        font-size: 0.75rem;
    }
    .form-input label {
        top: 13px;
    }
    .email-container span{
        height: 40px;
    }
}