body {
    background-color: black;
    color: white;
    font-family: Arial, sans-serif;
}

.container {
    width: 50%;
    margin: auto;
    margin-top: 30vh;
}

.row {
    display: flex;
    flex-direction: row;
    margin-bottom: 3rem;
    justify-content: space-between;
}


.row:nth-child(3) {

    justify-content: center;
}




.half, .full {
    position: relative;
}

.half {
    width: 47%;
}

.full {
    width: 100%;
}

.input-container input, .input-container textarea {
    width: 100%;
    border: none;
    background: none;
    outline: none;
    color: white;
    padding: 0.4rem 0;
    transition: all 0.3s ease;
}
 textarea {
     margin-bottom: -1.1rem;
}

.input-container label {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    
    transition: all 0.3s ease;
}

.input-container .underline {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 1px;
    width: 100%;
    background-color: lightgrey;
    overflow: hidden;
}

.input-container .underline::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background-color: yellow;
    transition: width 0.5s linear;
}

.input-container input:focus ~ .underline::after, .input-container textarea:focus ~ .underline::after {
    width: 100%;
}


.input-container.active label {
    transform: translateY(-20px);
}

button {
    background-color: black;
    width: 40%;
    height: 20%;

    border: 2px solid white;
    color: black;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: yellow;
}