.home-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.home-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
    min-height: fit-content;
    box-sizing: border-box;
}

.text-container{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    height: 300px;
    min-height: fit-content;
    gap: 20px;
    box-sizing: border-box;
    padding: 20px;
}

.main-text{
    display: flex;
    flex-direction: column;
    font-size: 2.5em;
    text-align: center;
    margin: 0;
}

.sub-text{
    font-size: 1.2em;
    font-weight: 300;
    text-align: center;
    color: gray;
    margin: 0;
}

.auth-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 450px;
    min-height: 500px;
    box-sizing: border-box;
    padding: 20px;
}

.auth-container main{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    background-color: rgb(241, 241, 241, 0.4);
    border-radius: 10px;
    border: 1px solid rgb(221, 221, 221);
    width: 100%;
    height: 100%;
    min-height: fit-content;
    box-sizing: border-box;
    padding: 20px;
}

.switch-container{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: rgb(231, 231, 231);
    width: 100%;
    box-sizing: border-box;
    padding: 5px;
    border-radius: 5px;
}

.switch-container button{
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: transparent;
    width: 50%;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.switch-container button.active{
    color: white;
    background-color: rgb(100, 100, 226);
}

.otp-container {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.otp-container input {
  width: 50px;
  height: 50px;
  text-align: center;
  font-size: 20px;
  border: 2px solid #ccc;
  border-radius: 8px;
  outline: none;
  transition: 0.2s;
}

.otp-container input:focus {
  border-color: #7f92ea;
  box-shadow: 0 0 5px rgba(127, 146, 234, 0.5);
}


.sub-auth-container{
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 450px;
    min-width: fit-content;
    min-height: 500px;
    box-sizing: border-box;
    padding: 20px;
}

.sub-auth-container form{
    display: flex;
    flex-direction: column;
    background-color: rgb(241, 241, 241, 0.4);
    border-radius: 10px;
    border: 1px solid rgb(221, 221, 221);
    width: 100%;
    min-height: fit-content;
    box-sizing: border-box;
    padding: 20px;
}

.sub-auth-container form h1{
    margin: 0;
    font-size: 1.3em;
    font-weight: 500;
    margin-bottom: 10px;
}

.sub-auth-container form .back{
    width: fit-content;
    color: gray;
    font-size: 0.9em;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.2s ease;
}

.sub-auth-container form .back:hover {
    color: rgb(126, 126, 241);
}

.sub-auth-container form p{
    color: gray;
    font-size: 0.9em;
    font-weight: 300;
}

.sub-label{
    color: gray;
    font-size: 0.9em;
    font-weight: 300;
}

.input-wrapper{
    display: flex;
    justify-content: space-between;
    min-height: fit-content;
    flex-direction: column;
    width: 100%;
    margin-top: 8px;
    margin-bottom: 8px;
}

.input-wrapper label{
    font-size:0.9em;
    font-weight: 300;
}

.input-wrapper input {
    border: 1px solid rgb(221, 221, 221);
    outline: none;
    font-size: 0.9em;
    box-sizing: border-box;
    padding: 10px;
    border-radius: 5px;
    width: 100%;
    font-weight: 300;
}

.input-wrapper input:focus{
    border: 2px solid rgb(100, 100, 226);
}

.forgot-pass-span{
    display: flex;
    width: 100%;
    justify-content: flex-end;
}

.forgot-pass{
    color: rgb(100, 100, 226);
    cursor: pointer;
    transition: color 0.2s ease;
    font-size: 0.9em;
}

.forgot-pass:hover{
    color: rgb(126, 126, 241);
}

.auth-button{
    border: none;
    background-color: rgb(100, 100, 226);
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    font-size: 1em;
    color: white;
    transition: background-color 0.2s ease;
    cursor:pointer;
    margin-top: 20px;
}

.auth-button:hover{
    background-color: rgb(126, 126, 241);
}

.switch-auth-container{
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    align-items: center;
    min-width: 100%;
    height: 100%;
    min-height: fit-content;
    box-sizing: border-box;
}

.double-input-wrapper{
    display: flex;
    gap: 10px;
    justify-content: space-between;
    min-height: fit-content;
    box-sizing: border-box;
    margin-top: 8px;
    margin-bottom: 8px;
}

.home-footer{
    display: flex;
    gap: 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 100%;
    min-height: 200px;
    background-color: rgb(241, 241, 241);
    border: 1px solid rgb(224, 224, 224);
    box-sizing: border-box;
    padding: 10px;
}

.home-footer h1{
    font-size: 1.3em;
    text-align: center;
    font-weight: 500;
    margin: 0;
}
.home-footer p{
    margin: 0;
    color: gray;
    text-align: center;
}

/* Tablet */
@media (min-width: 768px){

}

/* Desktop */
@media (min-width: 1200px){
    .home-container {
        flex-direction: row;
        min-height: 100vh;
    }

    .text-container{
        justify-content: center;
        align-items: flex-start;
        width: 50%;

    }

    .main-text{
        text-align: start;
        font-size: 3.3em;
    }

    .sub-text{
        text-align: start;
        font-size: 1.5em;
    }
}