@font-face {
    font-family: 'NorseBold';
    src: url('../assets/fonts/Norse-Bold.otf') format('opentype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
}

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

.image-div {
    width: 25%;
    height: 100%;
    position: relative;
    background-image: url(https://images.unsplash.com/photo-1585202900225-6d3ac20a6962?q=80&w=1862&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D);
    background-size: cover;
    background-position: center;
}

.logo-section {
    position: absolute;
    top: 30%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'NorseBold', sans-serif;
    text-align: center;
    font-size: 4rem;
    padding: 10px;
    color: white;
}

.logo-section img {
    width: 60px;
}

.main {
    width: 75%;
    padding: 80px 30px;
    background-color: #f9fafb;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

.intro p {
    font-weight: bold;
    margin-bottom: 20px;
}

.intro p:last-child {
    margin-bottom: 0;
}

.photo-credit {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 10px;
    color: rgba(255, 255, 255, 0.726);
    font-size: 0.7rem;
}

.photo-credit a {
    color: rgba(255, 255, 255, 0.726);
}

form {
    background-color: white;
    padding: 30px;
    width: calc(100% + 60px);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    gap: 30px;
    display: flex;
    flex-direction: column;
    align-self: center;
}

.row-container {
    display: flex;
    gap: 20px;
}

.input-container {
    position: relative;
}

.input-container input {
    width: 250px;
    padding: 15px 12px 15px;
    border: 2px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s;
}

.input-container input:focus {
    outline: none;
    border-color: #596D48;
}

.input-container label {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
    transition: all 0.3s;
    background: white;
    padding: 0 5px;
}

/* When input is focused or has content */
.input-container input:focus + label,
.input-container input:not(:placeholder-shown) + label {
    top: 0;
    left: 8px;
    font-size: 0.75rem;
    color: #596D48;
    transform: translateY(-50%);
}

.form-text {
    font-size: 1.5rem;
}

#register-button {
    background-color: #596D48;
    padding: 10px 30px;
    border-radius: 4px;
    color: white;
    border: 2px solid #596D48;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    align-self: flex-start;
    cursor: pointer;
    transition: all 0.3s;
}

#register-button:hover {
    background-color: white;
    color: #596D48;
}

#log-in {
    color: #596D48;
    font-weight: bold;
    text-decoration: none;
}

input[type="password"]:invalid:focus {
    border-color: #f44336;
}