* {
    box-sizing: border-box;
}

.text-center {
    text-align: center;
}

body {
    background-color: #f7bb19;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

main {
    padding: 40px 200px;
}

.col-25 {
    float: left;
    width: 25%;
    margin-top: 6px;
}

.col-75 {
    float: left;
    width: 75%;
    margin-top: 6px;
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

input[type="text"] {
    width: 100%;
    padding: 0.375rem 0.75rem;
    border: 1px solid #000000;
    border-radius: 0.25rem;
    resize: vertical;

    font-size: 1rem;
    font-weight: 400;
}

label {
    padding: 12px 12px 12px 0;
    display: inline-block;
}

button[type="submit"] {
    background-color: #000000;
    color: #ffffff;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    border: 1px solid #ffffff;
    cursor: pointer;
    float: right;
    width: 100%;
    font-size: 1.05rem;
}

.error-message {
    display: block;
    padding: 2px;
    margin: 1px 0 1px 0;
    font-size: 0.75rem;
    color: red;
}

#success {
    border: 2px solid green;
    padding: 4px;
    display: inline-block;
}

#error {
    border: 2px solid red;
    padding: 4px;
    display: inline-block;
}

#work-with-us {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    background-color: black;
    width: 100px;
    height: 70px;
}

#work-with-us a {
    flex: 0 0 120px;
    color: white;
    text-decoration: none;
    text-align: center;
}

/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 768px) {
    .col-25,
    .col-75 {
        width: 100%;
        margin-top: 0;
    }

    main {
        padding: 10px;
    }

    button[type="submit"] {
        width: 100%;
        margin-top: 6px;
    }

    
#work-with-us {
    width: 80px;
    height: 50px;
}

    #work-with-us a {
        flex: 0 0 120px;
        color: white;
        text-decoration: none;
        text-align: center;
        font-size: .8rem;
    }
}
