@import "reboot.css";
@import url("https://fonts.googleapis.com/css2?family=Happy+Monkey&display=swap");

:root {
    font-size: 62.5%;
    --box-shadow: 0rem 0.4rem 1rem red;
}

body {
    font-size: 1.6rem;
    background-image: url(../img/bgimg.jpg);
    background-size: fill;
    font-family: "Happy Monkey", cursive;
}

.container {
    display: flex;
    flex-direction: column;
    width: 50%;
    height: 100vh;
    float: right;
    background: black;
    opacity: 70%;
}

img {
    width: 20rem;
}

#radiant {
    position: fixed;
    opacity: 60%;
    top: 70%;
}

#logo {
    position: fixed;
    left: 90%;
    top: 2rem;
}

.first-half {
    padding-top: 2rem;
    box-shadow: var(--box-shadow);
    font-size: 3rem;
    font-weight: normal;
    color: wheat;
    overflow: hidden;
    opacity: 85%;
}

.first-half h1,
.first-half section {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
}

section > div {
    font-size: 5rem;
    font-weight: lighter;
}

input {
    background: dimgrey;
    border: none;
    opacity: 100%;
    box-shadow: inset 0 -4px 0 0px rgb(182, 68, 68);
    height: 6rem;
    width: 30rem;
    border-radius: 1rem;
    outline: none;
    color: white;
    font-weight: 700;
    font-size: 2rem;
    padding-top: 1.5rem;
}

input:valid {
    box-shadow: 0rem 0.3rem 0.5rem green;
}
input:invalid {
    box-shadow: 0rem 0.3rem 0.5rem red;
}
input:focus{
    border: 0.2rem solid lightseagreen;
    box-shadow: 0rem 0.3rem 0.5rem lightseagreen;
}

fieldset {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-direction: row;
    margin-top: 7rem;
}
input[type="email"],
input[type="tel"] {
    width: 64.5rem;
}
input[type="email"]::placeholder {
    color: white;
    opacity: 40%;
}

.label-wrapper {
    position: relative;
    left: 2.3rem;
    top: 0.2rem;
    bottom: 0.4rem;
    color: white;
    font-weight: 100;
    font-size: 1.5rem;

    height: 0;
}
form label {
    position: absolute;
    width: max-content;
}

button {
    margin-top: 2rem;
    width: 30rem;
    height: 5rem;
    border-radius: 2rem;
    border: none;
    position: relative;
    top: 3rem;
    left: 34.5rem;

    background-color: lightseagreen;
}
button:hover{
    background: linear-gradient(90deg,green,lightseagreen);
}
button:active {
  background-color: #3e8e41;
  box-shadow: 0 0.2rem lightgreen;
  transform: translateY(4px);
}
    
a{
    text-decoration: dashed;
    color: orangered;

}
a:hover{
    text-decoration: none;
    color: lightseagreen;
}
#passwordChk{
    opacity: 100%;
    color: red;
    position: absolute;
    right: 58rem;
    bottom: 13rem;
    font-weight: bold;
}
