@font-face {
    font-family: 'Island_bold';
    src: url('../fonts/Montserrat-Bold.woff2') format('woff2'), url('../fonts/Montserrat-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Island';
    src: url('../fonts/Montserrat-Light.woff2') format('woff2'), url('../fonts/Montserrat-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Island_thin';
    src: url('../fonts/Montserrat-Thin.woff2') format('woff2'), url('../fonts/Montserrat-Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

body {
    margin: 0;
    width: 100%;
    overflow-x: hidden;
    background-color: #c9c9c9;
    font-family: Island, Arial, Helvetica, sans-serif;
    font-size: clamp(14px, 0.8vw, 32px);
}

.noslide {
    overflow: hidden;
    padding-right: 15px;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: whitesmoke;
    width: 100%;
    box-shadow: -8px 2px 7px 0px rgba(0,0,0,0.3);
}

#logo {
    width: 18%;
    padding: 10px;
    min-width: 320px;
    max-width: 500px;
}

#header_controls {
    display: flex;
    width: 370px;
    justify-content: flex-end;
}

#header_controls .control_item {
    display: flex;
    margin: 0 4px;
    align-items: center;
    width: max-content;
    justify-content: flex-end;
}

header .subtitle {
    font-size: clamp(14px, 1.1vw, 32px);
    font-family: Island_bold;
    margin: 0 26px 0 0;
    color: #004a65;
}

header .icon {
    width: 36px;
    margin-left: 17px;
}

header hr {
    width: 1px;
    height: 100%;
}

.control_item {
    cursor: pointer;
}

.control_item .arrow {
    transform: rotate(180deg);
    margin: 0 15px;
    width: 18%;
}

footer {
    background-color:#004a65;
    width: 100%;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 3;
}

footer p span {
    cursor: pointer
}

footer p span:hover {
    color: #56d5e7;
    text-decoration: underline;
}

footer p, footer a {
    font-family: Island, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: whitesmoke;
    text-align: center;
    margin: 5px;
}

footer a {
    display: block;
    text-decoration: none;
}

.invisible {
    width: 0;
    height: 0;
    overflow: visible;
    position: relative;
}

#language, #message, #menu {
    position: fixed;
    top: -1000px;
    background-color: whitesmoke;
    border: silver 1px solid;
    border-radius: 0 0 5px 5px;
    box-shadow: -8px 2px 7px 0px rgba(0,0,0,0.3);
    opacity: 0;
    z-index: 5;
}

#message {
    display: flex;
    flex-direction: column;
    width: 100px;
    align-items: center;
}

.white_menu {
    background-color: #024967;
    padding: 4px;
    scale: 0.8;
    border-radius: 5px;
    width: 42px;
}

#message .white_menu {
    margin: 10px 0;
}

#language hr, #message hr, #menu hr {
    border: none;
    border-bottom: 0.5px silver solid;
    width: 73%;
}

#menu .lang {
    width: max-content;
    margin: 10px;
    max-width: 190px;
}

#menu {
    display: grid;
    justify-items: center;
}

#b_menu {
    scale: 0.8;
}

.lang {
    font-weight: 800;
    font-family: Island, arial;
    font-size: clamp(17px, 0.9vw, 26px);
    display: block;
    color: dimgray;
    width: 100px;
    text-align: center;
    margin-left: -7%;
    cursor: pointer;
}

.top_menu_hover {
    text-decoration-line: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: #01486a;
    color: #01486a;
}

#login {
    width: 18%;
    margin: -10px 0;
    display: inline;
}

#mode {
    text-wrap-mode: nowrap;
}

button {
    font-family: 'Island';
    font-style: italic;
    border-radius: 7px;
    border: none;
    padding: 5px 20px;
    background-color: #004a65;
    color: whitesmoke;
    box-shadow: black -1px 1px 6px, white -2px 0px 7px;
    cursor: pointer;
}

#msg_form {
    font-family: Island, Arial;
    top: 0;
    left: 0;
    width: 100%;
    justify-content: center;
    overflow-y: auto;
    height: 100%;
}

#contact_form {
    margin: auto auto;
    width: 60%;
    max-width: 900px;
    min-width: 350px;
    height: 100%;
    display: grid;
    align-content: center;
}

.ov_header {
    display: flex;
    background-color: #004a65;
    justify-content: space-between;
    align-items: center;
    padding: 3px 7px;
}

.ov_header h4 {
    font-size: clamp(15px, 1.3vw, 22px);
    margin: 5px 0 0;
}

.ov_header p {
    font-family: Island, Arial;
    font-size: clamp(16px, 1.5vw, 24px);
    margin: 0;
    color: white;
}

.ov_header img {
    width: 30px;
    cursor: pointer;
    filter: invert(1);
}

.form_sub_title {
    text-align: center;
    font-size: clamp(15px, 1.4vw, 23px);
    font-weight: 100;
    margin: 10px 0;
}

.form_title {
    font-size: clamp(16px, 2.7vw, 42px);
    font-family: Island, Arial;
    text-align: center;
    margin: 20px 0 0 0;
    color: #f6f7f7;
    text-shadow: white 2px 1px 6px, black -3px 1px 3px;
    text-transform: lowercase;
}

.ov_block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #909090;
}

.ov_block p {
    margin: 0;
    font-size: clamp(16px, 1.3vw, 24px);
}

.ov_block input {
    padding: 5px 7px;
    width: 70%;
    border: unset;
    font-family: Island, Arial;
    font-size: clamp(16px, 1.3vw, 24px);
}

#txt_name {
    margin: 30px 0px 5px 0px;
    font-size: clamp(16px, 1.3vw, 24px);
}

.menu_entry {
    background-color: #004a65;
    color: #ffffff;
    padding: 10px 5px;
    margin: 31px 0;
    border-radius: 3px;
    font-family: Island, arial;
    cursor: pointer;
    width: 100%;
    text-transform: uppercase;
}

.menu_entry_off {
    padding: 10px 5px;
    margin: 31px 0;
    border-radius: 3px;
    font-family: Island, arial;
    color: #585757;
    background-color: #a7a7a7;
    cursor: default;
    width: 100%;
    text-transform: uppercase;
}

.form_footer p {
    background-color: #004a65;
    color: white;
    padding: 7px;
    margin-bottom: 0;
    text-align: center;
}

.menu_overlay {
    position: fixed;
    border: #004a65 1px solid;
    box-shadow: -1px -1px 13px #010101;
    background-color: #ffffffa8;
    border-radius: 5px;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    z-index: 101;
    font-family: Island, Arial;
    background-color: #01010161;
    color: white;
}

#message_txt {
    height: 14vw;
    min-height: 100px;
    margin: 10px 0;
    border: unset;
    font-family: Island, Arial;
    max-height: 500px;
    border-bottom: 1px solid #909090;
    font-family: 'Island';
    font-size: clamp(16px, 1.3vw, 24px);
    padding: 5px 7px;
}

a {
    text-decoration: none;
}

#notification p {
    padding: 6px;
    margin: 0;
    font-size: clamp(16px, 1.3vw, 22px);
    font-family: Island, Arial;
    color: white;
}

#notification {
    min-width: 200px;
    width: max-content; border-radius: 4px; background-color: rgb(244, 67, 54); position: fixed; top: 300px; left: 50%; transform: translate(-50%, 0%); padding: 5px 20px;
    z-index: 101;
}

#notification hr {
    width: 0px; color: white; margin: 10px 0;
}

.pin_overlay_arrow {
    width: 0;
    height: 0;
    margin: 0 auto;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 15px solid #004a65;

}

.pin_overlay {
    position: absolute;
    transform: translate(-50%, calc(-100% - 33px));
    width: 30vw;
    min-width: 300px;
    max-width: 500px;
}

.pin_win {
    position: absolute;
    transform: translate(0, -100%);
    width: 30vw;
    min-width: 300px;
    max-width: 500px;
    background: white;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 -4px 8px rgba(0,0,0,0.2);
    border: #004a65 1px solid;
}

.pin_win .ov_header {
    color: white;
    border-radius: 5px 5px 0 0;
    margin-bottom: 5px;
}
