:root{
    font-size: 10px;
    --submit-clr: #37b1f2;
    --submit-hvr: #12a4f3;
    
}

body {
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
}

.container {
  display: flex;
  height: 100vh;
}

.left-side {
  flex: 1.25;
  background-image: url('images/IMG_1990.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.right-side {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.4);
    position: relative;
    top: 200px;
    height: 120px;
    font-size: calc(2rem + 1vw);
}

.logo span {
    color: white;
}


img[src="images/odin-lined.png"] {
  width: 10rem;
  height: 10rem;
}

.right-side article {
    font-size: calc(1.5rem + 0.5vw);
    max-inline-size: 45ch;
    padding: 0 5rem;
}

.right-side article div:nth-child(1) {
    margin-bottom: 3rem;
}

/* using the + combinator to select the div that comes after the article element */
.right-side> article> div + div  {
    margin-bottom: 6rem;
}

.form-container {
    display: flex;
    flex-direction: column;
    background-color: white;
    width: 100%;
    padding: 2rem 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    
}

form .roboto-medium {
    font-size: calc(1.5rem + 0.5vw);
    margin-bottom: 2rem;
    padding: 0 5rem;

}

form .input-group {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 0 5rem;
}



.input-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 2px;
    letter-spacing: .1em;
    opacity: 0.8;
}

.input-container {
    margin-right: 5rem;
    margin-bottom: 2rem;
}

.input-container input {
    border: #E5E7EB 1px solid;
    border-radius: 5px;
    padding: 3px;
    font-size: calc(1rem + 0.5vw);
    
}

.input-container input:focus {
    outline: none;
    border: #2563EB 1px solid;
    box-shadow: 0px 1px 1px grey;
    
}

#password:focus:invalid, #confirm-password:focus:invalid, #email:focus:invalid, #phone-number:focus:invalid{
    border: 1px solid #DC2626; /* Red */
}

#password:valid, #email:valid, #phone-number:valid {
    border: 1px solid #34D399; /* Green */
}

.buttons {
    margin: 3rem 5rem;
    font-size: 1.2rem;
}

button[type="submit"] {
    background-color: var(--submit-clr);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 30px;
    font-size: calc(1rem + 0.5vw);
    cursor: pointer;
    margin-bottom: 20px;
}

button[type="submit"]:hover {
    background-color: var(--submit-hvr)
}

.buttons a {
    text-align: center;
    text-decoration: none;
    color: var(--submit-clr);
    font-size: 1.2rem;
}

.buttons a:hover {
    color: var(--submit-hvr);
}

@media screen and (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .left-side {
        flex: 1 0 50%;
    }

    .right-side {
        flex: 1 0 50%;
    }

    .logo {
        top: 100px;
        font-size: calc(1.5rem + 1vw);
    }


    .right-side article {
        padding:  2rem;
        padding-bottom: 0;
    }

    .form-container {
        padding: 2rem 0;
    }

    form .roboto-medium {
        padding: 0 2rem;
    }

    form .input-group {
        padding: 0 2rem;
        display: block;
    }

    .input-container {
        margin-right: 2rem;
    }

    .input-container input {
        width: 100%;
    }

    .buttons {
        margin: 3rem 2rem;
    }
    
}










.roboto-thin {
    font-family: "Roboto", sans-serif;
    font-weight: 100;
    font-style: normal;
  }
  
  .roboto-light {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-style: normal;
  }
  
  .roboto-regular {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  
  .roboto-medium {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-style: normal;
  }
  
  .roboto-bold {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-style: normal;
  }
  
  .roboto-black {
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    font-style: normal;
  }
  
  .roboto-thin-italic {
    font-family: "Roboto", sans-serif;
    font-weight: 100;
    font-style: italic;
  }
  
  .roboto-light-italic {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-style: italic;
  }
  
  .roboto-regular-italic {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: italic;
  }
  
  .roboto-medium-italic {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-style: italic;
  }
  
  .roboto-bold-italic {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-style: italic;
  }
  
  .roboto-black-italic {
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    font-style: italic;
  }
  




