@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100%;
}

.container {
    height: 800px;
    width: 1200px;
    background-color: white;
    box-shadow: 0 0 30px #c4c4c4;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Red section */
.red-section {
    width: 50%;
    background: linear-gradient(90deg, rgba(252,105,79,1) 8%, rgba(255,78,78,1) 100%);
    height: 100%;
    border-radius: 20px 0px 0px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    transition: 1s ease all;
    z-index: 1;
    left: 0;
}

.red-section-header {
    font-size: 45px;
    color: white;
    margin-bottom: 30px;
}

.red-section-text {
    color: #ececec;
    margin-bottom: 40px;
}

.red-section-btn {
    height: 50px;
    width: 180px;
    border: 1px solid white;
    background-color: transparent;
    color: white;
    font-size: 18px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.5s ease;
}

.red-section-btn:hover {
    transform: scale(1.1);
}


/* White section */
.white-section {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    height: 100%;
    position: relative;
    transition: 1s ease all;
    right: 0;
}

.white-section-header {
    font-size: 45px;
}

.white-section-links {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 20px;
    margin: 15px 0px;
}

.white-section-link {
    height: 40px;
    width: 40px;
    border-radius: 100%;
    border: 1px solid #b6b6b6;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: black;
    transition: 0.3s ease;
}

.white-section-link:hover {
    background-color: #b6b6b6;
    color: white;
}

.white-section-text {
    color: #777777;
    margin-bottom: 10px;
}

.white-section-inputs {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.white-section-input {
    height: 50px;
    width: 480px;
    border: none;
    background-color: #e9e9e9;
    padding: 15px;
    font-size: 16px;
}

.white-section-button-container {
    margin-top: 20px;
}

.white-section-btn {
    border: none;
    background-color: #ff4e4e;
}

.white-section-forget-password {
    color: #777777;
    text-decoration: none;
}

.white-section-register {
    display: none;
    transition: 1s ease all;
}

.white-section-login {
    display: block;
    transition: 1s ease all;
}

.red-section-welcome {
    display: none;
    opacity: 0;
    transition: 0.25s ease opacity;
}

.red-section-hello {
    display: block;
    opacity: 1;
    transition: 0.25s ease opacity;
}