@font-face {
    font-family: "Cascadia Code", sans-serif;
    src: url("https://fonts.googleapis.com/css2?family=Cascadia+Code");
}

* {
    padding: 0;
    margin: 0;
}

html,
body {
    height: 100%;
}

body {
    display: flex;
    background-color: #f5f5f5;
    font-family: "Cascadia Code", sans-serif;
}

.decoration {
    height: 100%;
    width: 34vw;
    background-image: url("https://img.freepik.com/free-photo/computer-program-coding-screen_53876-138060.jpg?semt=ais_hybrid&w=740");
    background-size: auto 130%;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Cascadia Code", sans-serif;
    font-size: 5vw;
    padding: 1rem;
    background-color: rgba(0,0,0,45%);
    margin-top: 25vh;
}

.logo img {
    width: 20%;
}

.decoration footer {
    padding: 0.5rem;
}

.decoration a {
    color: white;
}

.content {
    width: 66vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: bold;
    color: #292929;
}

.content p,
.content fieldset,
.confirm {
    width: min(100%, 75ch);
}

.intro {
    padding: 0 3rem 2rem;
}

.intro p {
    margin: 1rem 0;
}

.content h2 {
    font-size: 1.4rem;
}

.fields {
    background-color: white;
    padding: 1rem 3rem 2rem;
    box-shadow: 0 5px 5px #CCCCCC;
}

.content fieldset {
    display: flex;
    flex-wrap: wrap;
    margin: 1rem 0;
    border-style: none;
}

.data {
    display: flex;
    flex-direction: column;
    margin: 0.5rem 0;
    width: 50%;
}

.content label {
    font-size: 1rem;
    text-transform: uppercase;
    color: #666666;
}

.content input {
    width: min(90%, 20rem);
    border:  2px solid #d6d6d6;
    border-radius: 0.2rem;
}

.content input:invalid {
    border-color: red;
}

.content input:focus {
    outline: none;
    border-color: darkblue;
    box-shadow: 3px 3px 3px #CCCCCC;
}

.confirm {
    font-size: 1.2rem;
    padding: 0 3rem;
}

.confirm button {
    margin: 2rem 0;
    padding: 0.5rem 3rem;
    border-style: none;
    border-radius: 0.5rem;
    background-color: #4B7682;
    color: white;
}

.content a {
    color: #4B7682;
}