@import url('style.css');
@import url('lands.css');

body {
    background: white;
}

.alert {
    text-align: center;
    background: lightgreen;
    width: 50rem;
    padding: 1.5rem 10rem;
    margin: 1rem auto;
    font-size: 1.8rem;
    font-weight: bold;
    display: none;
}

form {
    width: 80%;
    height: 80%;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* margin-bottom: 50rem; */
    background: none;
}

h1 {
    font-size: 3rem;
    color: #023047;
}

.info {
    display: flex;
    justify-content: center;
}

.inputs .field {
    margin-top: 0;
}

input[type='text'],
input[type='email'],
textarea {
    border: 2px dashed gray;
    outline: none;
    font-size: 2rem;
    display: block;
}

.text-field h2 {
    text-align: center;
    font-size: 2rem;
    margin: 1rem;
}

textarea {
    display: block;
    margin: 0 auto;
    height: 10rem;
    width: 40%;
}

.field label {
    opacity: 1;
    top: 1.1rem;
    font-size: 2rem;
}

#display-image {
    height: 20rem;
    width: 20rem;
    border: 1px solid black;
    background-position: center;
    background-size: cover;
    border: 2px dashed gray;
    margin-bottom: 2rem;
}

.button {
    background: none;
    border: 2px solid #023047;
    color: #023047;
}

.field input:focus~label,
.field input:not(:placeholder-shown)~label {
    top: -1.5rem;
}

.button:hover {
    background: #023047;
    color: white;
}


/* CSS styling for checkbox  */

.choose {
    font-size: 1.5rem;
    margin: 1rem 0;
}

.choose h3 {
    margin: -1rem 2rem;
}

.choose .radio,
.choose input[type='radio'] {
    display: inline-block;
    margin: 1rem;
}

.skills {
    width: 40%;
    padding: 1rem;
    border: 2px dashed gray;
    border-radius: 3px;
    margin: 0 auto;
    text-align: center;
}

.skills h2 {
    margin-bottom: 1rem;
}

.skills .checkbox-field {
    margin: 1.5rem 1rem;
    display: inline-block;
}

.skills label {
    border: 1px dashed #023047;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 5px 1rem;
    cursor: pointer;
}

.skills input[type='checkbox'] {
    display: none;
}

.skills input:checked~label {
    background: #023047;
    color: white;
    border: 1px solid transparent;
}