body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    padding-top: 15vh;
}

a{
    text-decoration: none;
    color : black;
}

nav {
        background-color: #1f1015;
    height: 70px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    width: 98%;
    z-index: 1001;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    color: white;
}

.logo img {
    width: 150px;
    margin-right: 10px;
}

ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0;
    padding-top: 0;
}


ul a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 10px;
}

ul a:hover {
    border-bottom: white solid 3px;
}

ul a:active {
    border-bottom: white solid 3px;
}

header {
    background-color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
}

.container {
    display: flex;
    flex-direction: column;
}

.left-column {
    width: 50%;
    padding: 20px;
}

.left-column img {
    width: 100%;
    height: auto;
}

.right-column {
    width: 50%;
    padding: 20px;
    text-align: center;
}

h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}

p {
    font-size: 1rem;
    margin-bottom: 30px;
}

.buttons {
    display: flex;
    justify-content: center;
}

button {
    padding: 10px 20px;
    margin: 10px;
    background-color: #1f1015;
    color: white;
    border: none;
    cursor: pointer;
}

.whiteButton {
    padding: 10px 20px;
    margin: 10px;
    background-color: white;
    color: #1f1015;
    border-radius: 20px;
}

.white-button-with-border {
    border: 1px solid #1f1015;
    border-radius: 20px;
    background-color: white;
    color: #1f1015;
}

.dark-red-button {
    border-radius: 20px;
}

.goldenButton {
    padding: 10px 20px;
    margin: 10px;
    background-color: #c5ae68;
    color: white;
    border-radius: 20px;
}

.standardbutton {
    padding: 10px 20px;
    margin: 20px 20px 20px 30px;
    background-color: #1f1015;
    color: white;
    border-radius: 10px;
}

form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 50px;
}

.loginform {
    display: flex;
    flex-direction: column;
    background-color: white;
    border: none;
    padding: 10px;
}

.noaccount {
    text-decoration: underline;
}

.registerform{
    background-color: white;
    border: none;
}

.createform{
    background-color: white;
    border: none;
}

.registerpage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.loginpage {
    text-align: center;
}



section#contact-form h2 {
    display: flex;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

form {
    background-color: #f2f2f2;
    display: flex;
    margin: 0 auto;
    flex-direction: column;
    max-width: 500px;
    padding: 20px;
    justify-content: center;
    background-color: white;
    border: none;
}

label {
    display: block;
    margin-bottom: 10px;
}

input {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    color: black;
}

select {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    color: black;
}

textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    resize: none;
    margin-bottom: 10px;
    color: black;
}


.container {
    display: flex;
    flex-direction: row;
}

.left-column img {
    width: 70%;
}

.left-column p {
    width: 30%;
}

#login-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

#login-popup.show {
    display: block;
}

.fullname{
    display: flex;
    flex-direction: row;
}

.firstname{
    margin-right: 3vw;
}

.date{
    width: 100%;
}

.error{
    color: red;
    display: none;
}

input:invalid,
.error{
    display: inline;
}

input[type="message"]{
    padding-bottom: 15vh;
}

.title{
    font-size: 1.9rem;
    font-weight: bold;
    margin: 2vw 45vw 3vh 1vw;
    padding-bottom: 1vh ;
    border-bottom: 5px solid black;
}

.shift{
    display: flex;
    justify-content: space-between;
    margin-left: 5vw;
    margin-right: 5vw;
}

.shifttitle{
    font-size: 1.3rem;
    font-weight: bold;
}

.page {
    display: flex;
    flex-direction: row;
    /*max-width: 33vw;*/
}

.pageleftside{
    width: 100%;
}
.pagerightside{
    width: 40%;
    position: fixed;
    top: 15vh;
    right: 0;
}

.openshifts {
    text-align: end;
    margin-left: 20vh;
    font-size: 2rem;
    margin-top: 9vh;
    color: black;
    text-decoration: none;
}

.openshifts:hover {
    text-decoration: underline;
}

.myopenline {
    display: flex;
    justify-content: space-around;
    margin-left: 15vh;

}

.myshifts {
    text-align: end;
    margin-right: 20vh;
    font-size: 2rem;
    margin-top: 9vh;
    color: black;
    text-decoration: none;
}

.myshifts:hover {
    text-decoration: underline;
}

.openmyline {
    display: flex;
    justify-content: space-around;
    margin-right: 15vh;
}

.reservation {
    text-decoration: none;
    color: black;
    border: 2px solid black;
    padding: 2vh 3vh 2vh 3vh;
    max-height: 20px;
    margin-left: 24vh;
}

.reservation:hover {
    color: white;
    background-color: black
}

.titledetails {
    margin-top: 5vh;
}

.details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 5vh;
    padding-bottom: 20vh;
}

.detailsdistance {
    padding: 1vh 0 1vh 10vh;
}

section.shift-details {
    cursor: pointer;
    transition: background-color 0.3s ease;
}

section.shift-details:hover {
    background-color: #f0f0f0;
}
.shift-details{
    border: solid black 1px;
    margin : 20px;
    padding-bottom: 20px;
}
.day {
    font-size: 1.9rem;
    font-weight: bold;
    margin: 2vw 65vw 3vh 1vw;
    padding-bottom: 1vh ;
    border-bottom: 5px solid black;
}