@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');

body {
    margin: 0;
    padding: 0;
    background-image: linear-gradient(120deg, #12253a, #0a0a0f);
    min-height: 100vh;
}
html {
    font-family: Lato, sans-serif;
}
.hero {
    display: flex;
    position: relative;
    height: 100vh;
}

nav {
    position: absolute;
    top: 30px;
    left: 35px;
}

#nav-logo {
    height: 60px;
    width: auto; 
}

#nav-logo:hover {
    cursor: pointer;
}

.bg-img {
    flex: 1;
    overflow: hidden;
}

.bg-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.content-block {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    line-height: 2.5;
    text-align: center;
    position: relative; 
}

#wc-icon {
    height: 100px;
    width: auto;
}

.google-ctr {
    display: flex;
    flex-direction: row;
    position: relative;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}
                    
#google-button {
    width: 280px;
    height: 42px;
    background-color: #e0e0cc;
    border-radius: 20px;
    box-shadow: 0 3px 4px 0 rgba(29, 27, 27, 0.5);
    align-items: center;
    cursor: pointer;
    border: none;
    padding: 0;
    transition: box-shadow .3s ease;
    font-family: roboto;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    z-index: 0;
}                 

#google-pic {
    height: 20px;
    width: auto;
    position: absolute;
    left: 15px;
    z-index: 1;
}

form {
    width: min(400px, 100%);
    gap: 20px;
    display: flex;
    flex-direction: column;
}

form > div {
    display: flex;
    flex-direction: row;
    align-items: center;
}

form label {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 50px;
    width: 50px;
    background-color: #c9a84c;
    fill: #fafade;
    color: #fafade;
    border-radius: 10px 0 0 10px;
    font-size: 1rem;
}

form input {
    box-sizing: border-box;
    flex-grow: 1;
    min-width: 0;
    height: 50px;
    border-radius: 0 10px 10px 0;
    border:  rgba(201, 168, 76, 0.7);
    background-color: rgba(151, 127, 60, 0.815) ;
    border-left: none;
    color: #f8f8eb;
    font-family: roboto;
    padding: 1em 1.5em;
    transition: 150ms ease;
}

form input:hover {
    outline: 2px solid #f9f9bc;
}

form input:focus {
  outline: none; 
  border-color: rgb(249, 248, 227); 
}
div:has(input:focus) > label {
    background-color:#8b7435;;
}

#o {
    margin-bottom: 0px;
}

.eye-close {
    position: absolute;
    margin: 19px -40px;
    filter: brightness(225%);
    width: 20px;
    cursor: pointer;
}

#continue-btn {
    margin-top: 10px;
    border: none;
    padding: 1em 4em;
    border-radius: 20px;
    background-color: #c9a84c;
    cursor: pointer;
    font-weight: 500;
    font-family: roboto;
    font-size: 15px;
    color: rgb(249, 249, 227);
    transition: 150ms ease ;
}

#continue-btn:hover {
    background-color: #987f3a;
    opacity: (0.15);
    cursor: pointer;
}

#continue-btn:focus {
    outline: none;
}

.bottom-content {
    flex-direction: column;
}

#register {
    text-decoration: none;
    color: inherit;
}

h2 {
    font-family: roboto;
    color: rgb(232, 199, 106);
    font-size: 30px;
}

p {
    color: rgb(249, 248, 213);
}

a {
    text-decoration: none;
}
u {
    cursor: pointer;
}

@media(max-width: 1100px){
    .bg-img,
        #wc-icon {
        display: none;
    }
    

    .content-block{
        width: min(400px, 100%);
        border-radius: 0;
        overflow-y: auto;
        font-size: 8px;
    }

    #o {
        font-size: 15px;
    }

    p{
        font-size: 15px;
    }

    #nav-logo {
        display: none;
    }
    #wc-icon {
        height: 60px;
    }
}

form div.incorrect label {
    background-color: #f63d3d;
}
form div.incorrect input {
    border-color:#f63d3d ;
}

#error-message {
    color: #f63d3d 
}