@font-face {
    font-family: 'Roboto'; /* Name your font family */
    src: url('font/Roboto/Roboto-Black.ttf'); /* Locate the .ttf file within your directory*/
}
@font-face {
    font-family:'Montserrat'; /* Name your font family */
    src: url('font/Montserrat/Montserrat/Montserrat-VariableFont_wght.ttf');
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    /* background: url(/images/background.jpg); */
    background-color: #ccccd1;
    background-size: cover;
    background-position: center;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;    /* the width of the header until the end*/
    padding: 10px;  /* can adjust the size of the header*/
    background-color: rgb(9, 13, 15);
    display: flex;     /* distributes the space between the items*/
    align-items: center; /* align the itens to the center of the header*/
    justify-content: space-between; /* distrubtion of the header contents, space-between puts contents into equal distance*/
    z-index: 90;

}
/* logo properties */
.logo {
    margin-left: 30px;  
}

.navigation a {
    position: relative; /* allows items to stay at the same position*/
    font-size: 1.2em;
    color:#ffffff;
    text-decoration: none; /* turns off hyperlink blue color */
    font-weight: 400;   /* thickness(bold) of font */
    margin-left: 20px; /* margit between each button */
}   

.mid-navigation {
    position: relative;
}

.mid-navigation a {
    position: relative;
    font-size: 1.2em;
    color: #eeeeee;
    text-decoration: none;
    font-weight: 400;
    padding: 10px 20px;
    display: block;
}

.mid-navigation a:hover {
    color: rgb(0, 170, 255)
}   

.mid-navigation ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.mid-navigation ul li {
    position: relative;
}

.dropdown-menu {
    display: none !important; /* Force hide */
    position: absolute;
    top: 48px;
    left: 15px;
    background-color: #1b1921;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-menu li {
    width: 100%;
    font-size: 13px;
}

.dropdown-menu a {
    padding: 12px 20px;
    color: #eeeeee;
}

.dropdown:hover .dropdown-menu {
    display: block !important;
}

.navigation a::after {
    content: ' ';
    position: absolute;
    left: 0px;
    bottom: -6px;
    width: 100%;
    height: 3px;
    background: #dedeee;
    border-radius: 7px;
    transform: scaleX(0);
}

.navigation a:hover::after {
    transform: scaleX(1);
}

.navigation .btnLogin-popup {
    width: 120px;
    height: 40px;
    background: transparent;
    color:#eeeeee;
    border: 2px solid #eeeeee; 
    outline: none;
    border-radius: 7px;
    cursor: pointer;    /* changes cursor icon when hovering */
    font-size: 1em;
    font-weight: 560;
    margin-left: 30px;
    transition: 0.5s;   /* smooth transition*/
}

.navigation .btnLogin-popup:hover {
    background: #dedeee;
    color:#000000
}

.navigation .btnLogout-popup {
    width: 120px;
    height: 40px;
    background: transparent;
    color:#eeeeee;
    border: 2px solid #eeeeee; 
    outline: none;
    border-radius: 7px;
    cursor: pointer;    /* changes cursor icon when hovering */
    font-size: 1em;
    font-weight: 560;
    margin-left: 30px;
    transition: 0.5s;   /* smooth transition*/
}

.navigation .btnLogout-popup:hover {
    background: #dedeee;
    color:#000000
}

.flex-container {
    display: flex;
    min-height: 100vh;
    background-color: #b5d1ee;
}

.left-section {
    flex: 1; /* Takes up exactly half of the container */
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.right-section {
    flex: 1; /* Takes up exactly half of the container */
    display: flex;
    align-items: center;
    justify-content: center;
  }

.right-section img {
    max-width: 100%;
    height: auto;
}

.left-section h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.left-section h3 {
    font-size: 1em;
    margin-bottom: 20px;
    font-weight: 400;
}

.left-section button {
    background-color: #4CAF50; /* Green */
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin-top: 20px;
    cursor: pointer;
}

.wrapper {
    position: absolute;
    width: 400px;
    height: 460px;
    bottom: 10px;
    border: 2px solid #ffffff;
    border-radius: 15px;
    background-color: #faecdb;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: height 0.2s ease;
    overflow: hidden;
    transform: scale(0);
    transition: transform 0.5s ease, height 0.2s ease;
}

.wrapper.active-popup {
    transform: scale(1);
}

.wrapper.active {
    height: 520px;
}

.wrapper .form-box {
    width: 100%;
    padding: 45px;
}

.wrapper .form-box.login {
    transition: transform 0.18s ease;
    transform: translateX(0);
}

.wrapper.active .form-box.login {
    transition: none;
    transform: translateX(-400px);
}

.wrapper .form-box.register {
    position: absolute;
    transition: none;
    transform: translateX(400px);
}

.wrapper.active .form-box.register {
    transition: transform 0.18s ease;
    transform: translateX(0);
}

.wrapper .icon-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 45px;
    height: 45px;
    background: #162938;
    font-size: 2em;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom-left-radius: 20px;
    cursor: pointer;
    z-index: 1;
}

.wrapper .icon-close ion-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.form-box h2 {
    font-size: 2em;
    color: #383434;
    text-align: center;
}

.input-box {
    position: relative;
    width: 100%;
    height: 50px;
    border-bottom: 2.3px solid #383434;
    margin: 35px 0;
}

.input-box label {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    font-size: 1.1m;
    color: #342c7a;
    font-weight: 450;
    pointer-events: none;
    transition: 0.3s;
}

.input-box input:focus~label,
.input-box input:valid~label,
.input-box input:not(:placeholder-shown)~label {
    top: -5px;
}

.input-box input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1em;
    color:#000000;
    font-weight: 500;
    padding: 0 35px 0 5px;
}

.input-box .icon {
    position: absolute;
    left: 280px;
    top: 15px;
    font-size: 1.3em;
}

.remember-forgot {
    font-size: 0.9em;
    color:rgb(12, 26, 32);
    font-weight: 400;
    margin: -15px 0 15px;
    display: flex;
    justify-content: space-between;
}

.remember-forgot label input {
    accent-color: rgb(12, 26, 32);
    margin-right: 3px;
}

.remember-forgot a {
    color: rgb(12, 26, 32);
    text-decoration: none;
}

.remember-forgot a:hover {
    text-decoration: underline;
}

.btn {
    width: 100%;
    height: 45px;
    background: rgb(12, 26, 32);
    border: none;
    outline: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    color: #dedeee;
    font-weight: 600;
}

.login-register {
    font-size: .9em;
    color:rgb(12, 26, 32);
    text-align: center;
    font-weight: 400;
    margin: 15px 0 10px;
}
.login-register p a {
    color:rgb(12, 26, 32);
    text-decoration: none;
    font-weight: 600;
}

.login-register p a:hover {
    text-decoration: underline;
}

header .navigation .user-name {
    color: #adf3ec !important;
    margin-right: 20px;
    font-weight: bold;
}