/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
/*##########################*/
/*#### End of CSS Reset ####*/
/*##########################*/

@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200;0,300;0,400;0,600;1,200;1,300;1,400;1,600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Redressed&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Baskervville:ital@0;1&display=swap");

:root {
  --primary-color: rgba(29, 216, 193, 1);
  --text-color: #f6f7f5;
  --modal-duration: 1.5s;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  color: var(--text-color);
  max-width: 1080px;
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  justify-content: center;
  align-self: center;
  background-color: #002333;
background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83.828-1.415 1.415L51.8 0h2.827zM5.373 0l-.83.828L5.96 2.243 8.2 0H5.374zM48.97 0l3.657 3.657-1.414 1.414L46.143 0h2.828zM11.03 0L7.372 3.657 8.787 5.07 13.857 0H11.03zm32.284 0L49.8 6.485 48.384 7.9l-7.9-7.9h2.83zM16.686 0L10.2 6.485 11.616 7.9l7.9-7.9h-2.83zm20.97 0l9.315 9.314-1.414 1.414L34.828 0h2.83zM22.344 0L13.03 9.314l1.414 1.414L25.172 0h-2.83zM32 0l12.142 12.142-1.414 1.414L30 .828 17.272 13.556l-1.414-1.414L28 0h4zM.284 0l28 28-1.414 1.414L0 2.544V0h.284zM0 5.373l25.456 25.455-1.414 1.415L0 8.2V5.374zm0 5.656l22.627 22.627-1.414 1.414L0 13.86v-2.83zm0 5.656l19.8 19.8-1.415 1.413L0 19.514v-2.83zm0 5.657l16.97 16.97-1.414 1.415L0 25.172v-2.83zM0 28l14.142 14.142-1.414 1.414L0 30.828V28zm0 5.657L11.314 44.97 9.9 46.386l-9.9-9.9v-2.828zm0 5.657L8.485 47.8 7.07 49.212 0 42.143v-2.83zm0 5.657l5.657 5.657-1.414 1.415L0 47.8v-2.83zm0 5.657l2.828 2.83-1.414 1.413L0 53.456v-2.83zM54.627 60L30 35.373 5.373 60H8.2L30 38.2 51.8 60h2.827zm-5.656 0L30 41.03 11.03 60h2.828L30 43.858 46.142 60h2.83zm-5.656 0L30 46.686 16.686 60h2.83L30 49.515 40.485 60h2.83zm-5.657 0L30 52.343 22.343 60h2.83L30 55.172 34.828 60h2.83zM32 60l-2-2-2 2h4zM59.716 0l-28 28 1.414 1.414L60 2.544V0h-.284zM60 5.373L34.544 30.828l1.414 1.415L60 8.2V5.374zm0 5.656L37.373 33.656l1.414 1.414L60 13.86v-2.83zm0 5.656l-19.8 19.8 1.415 1.413L60 19.514v-2.83zm0 5.657l-16.97 16.97 1.414 1.415L60 25.172v-2.83zM60 28L45.858 42.142l1.414 1.414L60 30.828V28zm0 5.657L48.686 44.97l1.415 1.415 9.9-9.9v-2.828zm0 5.657L51.515 47.8l1.414 1.413 7.07-7.07v-2.83zm0 5.657l-5.657 5.657 1.414 1.415L60 47.8v-2.83zm0 5.657l-2.828 2.83 1.414 1.413L60 53.456v-2.83zM39.9 16.385l1.414-1.414L30 3.658 18.686 14.97l1.415 1.415 9.9-9.9 9.9 9.9zm-2.83 2.828l1.415-1.414L30 9.313 21.515 17.8l1.414 1.413 7.07-7.07 7.07 7.07zm-2.827 2.83l1.414-1.416L30 14.97l-5.657 5.657 1.414 1.415L30 17.8l4.243 4.242zm-2.83 2.827l1.415-1.414L30 20.626l-2.828 2.83 1.414 1.414L30 23.456l1.414 1.414zM56.87 59.414L58.284 58 30 29.716 1.716 58l1.414 1.414L30 32.544l26.87 26.87z' fill='%2303171f' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");

}

h1 {
  font-size: 30px;
}

h2 {
  margin: 10px;
  padding: 0 0 10px 0;
  font-size: 30px;
  font-family: "Baskerville", serif;
  border-bottom: 1px solid var(--primary-color);
  width: 100%;
}

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

h3 {
  font-size: 15px;
  padding: 0;
  margin: 10px 10px;
  font-weight: 300;
}

p {
  font-size: 12px;
  margin: 0px 10px 10px 10px;
  font-weight: 300;
}

a {
  text-decoration: none;
}
.main-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh safe;
  width: 90vw;
}

.container {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  width: 100%;
}

.container:nth-of-type(1) {
  margin-top: 0px;
  border-top: none;
}
.container:nth-of-type(2) {
  margin-top: 0px;
  border-top: none;
}

.navigation {
  width: 50%;
  padding: 20px 0;
  font-size: 15px;
  font-weight: 300;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  font-size: 15px;
  border-bottom: 1px solid #d9532f;

  margin-bottom: 10px;
}

.logo {
  width: 150px;
}

.menu {
  display: flex;
  margin: 5px 0;
  width: 100%;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-family: "Montserrat", sans-serif;
}

.menu-liste {
  width: 90%;
  display: flex;
  justify-content: center;
  align-self: center;
}

.menu-element {
  padding: 0 15px;
}

.menu-element a {
  color: var(--text-color);
  text-decoration: none;
  transition: color ease-in-out 0.5s;
}

.menu-element a:hover {
  color: var(--primary-color);
}

.menu-button {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  padding: 10px 10px;
  background-color: rgba(220, 0, 0, 0);
  border: 1px solid var(--primary-color);
  width: 100px;
  border-radius: 1px;
  color: var(--text-color);
  text-decoration: none;

  transition-duration: 0.4s;
  cursor: pointer;
}

.menu-button:hover {
  background-color: rgba(29, 216, 193, 0.5);
  border: 1px solid var(--primary-color);
}

.menu-button:focus {
  outline: 0;
}

.panel {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 600px;
  color: var(--text-color);
  cursor: pointer;
  width: 70px;
  margin: 2px;
  transition: width 0.8s ease-in;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.panel:nth-last-of-type(1) {
  margin-right: 0;
}
.panel:nth-of-type(1) {
  margin-left: 0;
}
.panel.active {
  width: 700px;
  border: 1px solid var(--primary-color);
}

.panel#about-panel {
  background-image: url("../images/unique.webp");
}
.panel#vision-panel {
  background-image: url("../images/different.webp");
}
.panel#offshore-panel {
  background-image: url("../images/takealong.webp");
}
.panel#partner-panel {
  background-image: url("../images/partners.webp");
}
.panel#contact-panel {
  background-image: url("../images/contact.webp");
}

.content {
  font-family: "Baskerville", serif;
  opacity: 0;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 300px;
  background-color: rgba(0, 22, 33, 0.8);
  transition: opacity 0.3s ease-in;
  border-radius: 3px;
  margin-left: 30px;
  line-height: 23px;
  padding: 10px;
}

.content h3 {
  font-size: 25px;
  padding-left: 10px;
  border-left: 2px solid var(--primary-color);
}

.content p {
  font-size: 17px;
}

.content span {
  color: var(--primary-color);
}

.panel-button {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  padding: 10px 10px;
  background-color: rgba(220, 0, 0, 0);
  border: 1px solid var(--primary-color);
  width: fit-content;
  border-radius: 1px;
  color: var(--text-color);
  text-decoration: none;
  margin: 10px 10px;
  transition-duration: 0.4s;
  cursor: pointer;
  align-self: flex-end;
}

.panel-button:hover {
  background-color: rgba(29, 216, 193, 0.5);
  border: 1px solid var(--primary-color);
}

.content.active {
  opacity: 1;
}

.part {
  width: 90%;
  display: flex;
  flex-direction: column;
}

.part:nth-of-type(2) {
  margin-left: 10px;
}

.part .success {
  color: var(--primary-color);
}

.panel.active .content {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease-in 0.7s;
}

.form {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /*border: 1px solid white; */
}

.form-control {
  align-self: center;
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
  padding-bottom: 20px;
  justify-content: flex-start;
  width: 90%;
}

.form-control:nth-last-child(1) {
  margin-bottom: 0;
}

.form-control label {
  color: var(--text-color);
  font-size: 15px;
  margin: 10px 0;
}

.form-control input {
  color: var(--text-color);
  border: 1px solid var(--text-color);
  border-radius: 1px;
  width: 100%;
  padding: 10px;
  font-size: 12px;
  background-color: #001924;
}

.form-control input::placeholder {
  color: rgb(182, 182, 182);
}

.form-control input:focus {
  outline: 0;
  border-color: var(--primary-color);
}

.form-control.success input {
  border-color: var(--success-color);
}
.form-control.error input {
  border-color: var(--error-color);
}
.form-control small {
  color: var(--error-color);
  position: absolute;
  bottom: 0;
  left: 0;
  visibility: hidden;
}

.form-control.error small {
  visibility: visible;
}

.form button {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  padding: 10px 0;
  background-color: rgba(220, 0, 0, 0);
  border: 1px solid var(--primary-color);
  width: 100%;
  border-radius: 1px;
  color: var(--text-color);
  text-decoration: none;
  margin-top: 30px;
  transition-duration: 0.4s;
  cursor: pointer;
  align-self: flex-end;
}

.form button:hover {
  background-color: rgba(29, 216, 193, 0.5);
  border: 1px solid var(--primary-color);
}

.form button:focus {
  outline: 0;
}

.form textarea {
  font-family: "Montserrat", sans-serif;
  color: var(--text-color);
  border: 1px solid var(--text-color);
  border-radius: 1px;
  width: 100%;
  padding: 10px;
  font-size: 12px;
  background-color: #001924;
  height: 90px;
}

.form-control textarea:focus {
  outline: 0;
  border-color: var(--primary-color);
}

.form-control select {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  height: 30px;
  color: white;
  background-color: #001924;
  border: 1px solid var(--text-color);
  padding-left: 5px;
}

.form-control select:focus {
  outline: 0;
  border-color: var(--primary-color);
}

.modal-container {
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.modal-container.show-modal {
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal {
  display: flex;
  flex-direction: column;
  background-color: #002333;
  border-radius: 5px;
  border: 1px solid var(--primary-color);
  overflow: hidden;
  height: fit-content;
  max-width: 100%;
  width: 400px;
  animation-name: modalopen;
  animation-duration: var(--modal-duration);
}

.modal-header {
  padding: 10px;
  align-self: center;
}

.modal-header h2 {
  width: 100%;
  margin: 0;
  align-self: center;
}

.modal-content {
  padding: 10px 20px;
}

.modal-content p {
  text-align: center;
  font-size: 15px;
  color: var(--primary-color);
  font-weight: 400;
  margin: 10px;
}

.close-btn {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 15px;
  margin: 10px 10px 0 0;
  color: var(--text-color);
  cursor: pointer;
  text-decoration: none;
}

footer {
  text-align: center;
  padding-bottom: 20px;
  font-size: 13px;
}

.open {
  color: var(--text-color);
  visibility: hidden;
  position: absolute;
  left: 10px;
  top: 10px;
  font-size: 30px;
  cursor: pointer;
}

/* Side Nav */

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: var(--primary-color);
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidenav a {
  font-weight: 300;
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 20px;
  color: var(--text-color);
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color: #f1f1f1;
}

.sidenav .closemenubtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

@media screen and (max-height: 450px) {
  .sidenav {
    padding-top: 15px;
  }
  .sidenav a {
    font-size: 18px;
  }
}

@keyframes modalopen {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 800px) {
  .main-container {
    height: 100%;
    max-width: 500px;
  }
  .container {
    width: 95vw;
  }

  .menu {
    display: none;
  }
  .menu-liste {
    flex-direction: column;
    padding: 30px;
  }

  #panel-container {
    flex-direction: column;
    height: 100%;
    width: 100%;
    margin-top: 0px;
    align-items: center;
  }

  .panel {
    width: 90%;
    height: 400px;
    transition: height 0.5s ease-in;
    align-items: flex-end;
    margin: 20px 0px;
    justify-content: flex-end;
    border: 1px solid var(--primary-color);
  }

  .panel:nth-last-of-type(1) {
    margin-right: 0px;
    margin-top: 0px;
  }
  .panel:nth-of-type(1) {
    margin-left: 0px;
  }

  .panel.active {
    flex: 5;
    border: 1px solid var(--primary-color);
  }

  .content {
    width: 100%;
    visibility: visible;
    opacity: 100;
    margin: 0 0 0 0;
    border-radius: 0;
    padding: 5;
    display: flex;
  }

  .panel-button {
    align-self: center;
  }

  .modal {
    width: 90%;
  }

  .form-control {
    margin-bottom: 5px;
    padding-bottom: 10px;
    justify-content: flex-start;
    width: 90%;
  }

  .open {
    visibility: visible;
  }
}
