/*
Color:
blue
1E3D4B
background-color: rgba(30, 61, 75, 0.7);

grey:
  background-color: rgb(147, 141, 141);

*/


* {
  margin: 0; 
  padding: 0; 
  box-sizing: border-box;
}
body, html {
  font-family: 'Seguihis', sans-serif;
  font-size: 1em;
  background-color: #ffffff;
  height: 100%;
  position: relative;
  font-size: 0.8em;
}
.container {
  max-width: 1240px;
  margin: 0 auto;
  height: 100vh;
}

/* Navbar */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  background-color: rgba(30, 61, 75, 0.9);
  font-size: 0.7em;
  padding: 10px 20px;
  z-index: 999;
}
nav.sticky {
  padding: 10px 20px;
  background-color: rgba(30, 61, 75, 0.9);
}
.nav-links {
  margin-right: 20px;
  text-shadow: 2px 1px 1px black;
}
.nav-links ul {
  margin: 0;
  padding: 0;
  display: flex;
}
.nav-links li {
  list-style: none;
}
.nav-links a {
  margin-left: 20px;
  font-size: 2.6em;
  color: whitesmoke;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 1px;
  transition: border-bottom 0.1s, padding-bottom 0.1s;
}
.nav-links a:hover {
  border-bottom: 2px solid whitesmoke;
  padding-bottom: 5px;
}

/* Nav-Responsive */

.toggle-button {
  position: absolute;
  top: 50%;
  right: 2em;
  transform: translateY(-50%);
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 10%;
  height: 40%;
  padding: 5px;
  box-shadow: 6px 8px 10px 6px rgba(0, 0, 0, 0.55);
  border-radius: 6px;
  z-index: 999;
}
.toggle-button .bar {
  height: 5px;
  width: 100%;
  background-color: rgba(30, 61, 75, 1);
  border-radius: 10px;
  z-index: 999;
  color: whitesmoke;
}

/* Dropdown Menu */

.dropdown {
  position: relative;
  display: inline-block;
  z-index: 999;
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: rgb(30, 61, 75);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 999 !important;
}
.dropdown-content a {
  color: whitesmoke;
  margin: 20px 10px;
  text-align: justify;
  display: block;
  z-index: 999 !important;
  font-size: 2.4em;
}
.dropdown-content a:hover {
  background-color: rgba(30, 61, 75, 0.9);
}
.dropdown:hover .dropdown-content {
  display: block;
}
.dropdown:hover .dropbtn {
  border-bottom: 2px solid whitesmoke;
  padding-bottom: 5px;
}

/* Logo */

.logo {
  cursor: pointer;
  transition: transform 0.2s;
  margin: 1px;
  box-shadow: 6px 8px 10px 6px rgba(0, 0, 0, 0.55);
  border-radius: 6px;
  width: 7%;
  padding: 2px;
}
.logo:hover {
  transform: scale(1.15);
  box-shadow: 12px 12px 12px 12px rgba(0, 0, 0, 0.75);
}

/* Header */

header {
  width: 100%;
  height: auto;
  background:  no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: flex-end; 
  text-align: center;
  position: relative; 
}

header img {
  width: 100%;
  height: auto;
}

header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1); 
}
.logo-home {
  cursor: pointer;
  transition: transform 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
}
.btns-center {
  position: absolute;
  top: 50%;
  left: 20px; 
  transform: translateY(-50%); 
}
.box-center h1 {
  font-style: italic;
  font-size: 4em;
  line-height: 1em;
}
.box-center h3 {
  font-size: 2em;
  font-weight: 600;
}
.box-center a {
  display: block;
  padding: 10px;
  font-size: 1.6em;
  font-weight: 400;
  text-decoration: none;
  border: 1px solid whitesmoke;
  border-radius: 10px;
  margin: 40px;
}
.box-center a:hover {
  animation: shadow-pulse 0.8s 1;
}
.btn-primary {
  background-color: rgba(0, 0, 0, 0.5); 
  color: whitesmoke;
  margin: 10px;
  text-shadow: 2px 2px 2px black;
}
.btn-secondary {
  background-color: rgba(0, 0, 0, 0.5); 
  color: whitesmoke;
  margin: 5px;
  text-shadow: 2px 2px 2px black;
}

/*Features*/

#features {
  max-width: 100%;
  text-align: center;
  font-size: 1.2em;
}
.features-box {
  display: flex;
  padding: 10px 30px 40px 30px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  justify-content: space-around;
}
.container-features {
  max-width: 80%;
  margin: 0 auto;
}
.h2-feature {
  text-align: center;
  color: #234a66;
  font-size: 2.4em;
  text-shadow: 1px 1px 1px black;
  margin-top: 100px;
  margin-bottom: 20px;
}
.h2-feature-article {
  text-align: center;
  color: #234a66;
  font-size: 2.4em;
  text-shadow: 1px 1px 1px black;
  margin-top: 150px;
  margin-bottom: 20px;
}
.h3-feature {
  color: #234a66;
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 20px;
}
.p-feature {
  font-size: 1.6em;
  margin-bottom: 10px;
  text-align: justify;
}
.span-feature {
  color: #234a66;
  margin-bottom: 30px;
}
.feature {
  padding: 10px;
  box-sizing: border-box;
  flex: 1 1 calc(22% - 20px);
  text-align: center;
  border: 1px solid #234a66;
}
.hr-feature {
  border-top: 1px solid #234a66;
  width: 90%;
  margin-bottom: 20px;
}
.ul-feature {
  font-size: 1.2em;
  text-align: justify;
}

/*travel*/

#travel {
  max-width: 100%;
  padding-bottom: 40px;
  text-align: center;
  font-size: 1.2em;
}
.container-travel {
  max-width: 80%;
  margin: 0 auto;
}
.h2-travel {
  text-align: center;
  color: #234a66;
  font-size: 2.4em;
  margin: 20px;
  margin-top: 60px;
  text-shadow: 1px 1px 1px black;
}
.h3-travel {
  text-align: center;
  color: #234a66;
  font-size: 1.2em;
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
}
.p-travel {
  font-size: 1.6em;
  margin-bottom: 10px;
  text-align: justify;
}
.span-travel {
  color: #234a66;
}
.travel {
  margin: 30px 10px 10px 10px;
  padding: 10px;
  box-sizing: border-box;
  flex-basis: 22%;
  text-align: center;
  border: 1px solid #234a66;
}
.hr-travel {
  border-top: 1px solid #234a66;
  width: 90%;
  margin-bottom: 20px;
}
.ul-travel {
  font-size: 1.2em;
  text-align: justify;
}

/* travel */

.hr-travel {
  border-top: 1px solid #234a66;
  width: 90%;
  margin: 0 auto 0 auto;
  justify-content: center;
}

.travel-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.trips {
  flex-basis: 33.3%;
}
.travel-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

.travel-div {
  padding: 10px;
  box-sizing: border-box;
  flex-basis: 22%;
  text-align: center;
}
.cards {
  height: 280px;
  background-size: cover;
  background-position: center;
  margin: 12px;
  border-radius: 5%;
  border: 1px solid;
  box-shadow: 0px 8px 10px 0px #00000026;
  transition: transform 1s;
  margin-top: 40px;
} 
.cards:hover {
  transform: scale(1.2);  
}
#fingerprint {
  box-shadow: 5px 5px 15px 5px rgba(0, 0, 0, 0.35);
  background-image: url(../img/it_sec_cards/card_fingerprint.webp);
}
#ai {
    box-shadow: 5px 5px 15px 5px rgba(0, 0, 0, 0.35);
  background-image: url(../img/it_sec_cards/card_ai.webp);
}
#osi {
    box-shadow: 5px 5px 15px 5px rgba(0, 0, 0, 0.35);
  background-image: url(../img/it_sec_cards/card_network.jpg);
}
#nis {
    box-shadow: 5px 5px 15px 5px rgba(0, 0, 0, 0.35);
  background-image: url(../img/it_sec_cards/cyber-4084714_1280.webp);
}
#phishing {
    box-shadow: 5px 5px 15px 5px rgba(0, 0, 0, 0.35);
  background-image: url(../img/it_sec_cards/phishing-6926470_1280.png);
}

.hover-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.2s;
  justify-content: end;
}
.hover-box:hover {
  opacity: 1;
  cursor: pointer;
  border-radius: 5%;
}
.hover-box a:hover {
  animation: shadow-pulse 0.8s 1;
  border-radius: 5%;
}
.h4-home-card {
  color: whitesmoke;
  font-size: 2em;
  text-decoration: none;
  margin: 2% 0;
  text-align: center;
  text-shadow: 2px 2px 2px black;
}

.hover-box-link {
  text-decoration: none;
}

/* about */

.flip-card {
  background-color: transparent;
  width: 500px;
  height: 500px;
  perspective: 1000px;
  margin: 0 auto;
  margin-top: 50px;
  margin-bottom: 50px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  border-radius: 50%; 
}
.p-flip {
  font-size: 2.6em;
  text-align: justify;
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; 
  backface-visibility: hidden;
  border-radius: 50%; 
}

.flip-card-front {
  background-color: #bbb;
  color: black;
  border-radius: 50%; 
}

.flip-card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%; 
}

.flip-card-back {
  background-color: rgba(30, 61, 75, 0.7);
  color: white;
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%; 
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Impressum */

.container-impressum {
  margin: 60px auto 0 auto;
  padding: 20px;
  max-width: 860px;
}
.artikel {
  margin: 60px auto 0 auto;
  padding: 25px;
  border: 1px solid #4daf7c;
  border-radius: 4px;
  margin-bottom: 20px;
  text-align: justify;
}
.artikel-ad {
  text-align: center;
  margin: 60px auto 0 auto;
  padding: 25px;
  border: 1px solid #4daf7c;
  border-radius: 4px;
  margin-bottom: 20px;
}
.h2-impressum {
  color: #333;
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 2em;
}
#impressum p {
  color: #5c5c5c;
  font-size: 1.6em;
}
#impressum h4 {
  color: #393A3F;
  font-size: 1.2em;
  padding: 5px;
}
#email-imp {
  color: #5c5c5c;
  font-weight: 600;
  transition: transform 0.3s;
}
#email-imp:hover {
  transform: scale(1.05);
}
#phone-imp {
  color: #5c5c5c;
  font-weight: 600;
  transition: transform 0.3s;
  text-decoration: none;
}
#phone-imp:hover {
  transform: scale(1.05);
}

/* Article */

.it-vs-ot {
  max-width: 100%;
}
.img-article {
  max-width: 100%;
  display: flex;
  justify-content: center; 
  margin-top: 30px;
}
.img-article img {
  max-width: 100%;
  height: auto;
}


/* Portfolio */

.container-portfolio {
  max-width: 1240px;
  margin: 0 auto;
  margin-bottom: 50px;
}
.h1-portfolio {
  text-align: center;
  margin: 30px;
  color: #363636;
  font-size: 40px;
}
.row{
  margin: 10px 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.row::after{
  content: "";
  display: table;   
  clear: both;      
}
.row img {
  flex-basis: 30%;
  width: 300px; 
  height: 200px; 
  object-fit: contain; 
  background-size: cover; 
  background-position: center; 
  padding: 5px;
  margin: 10px;
  filter: grayscale(85%);
  transition: 1s;
  box-sizing: border-box;
  border-radius: 5%;
  box-shadow: 5px 8px 10px 5px rgba(0, 0, 0, 0.15);
}
.row img:hover{
    filter: grayscale(0);
    transform: scale(1.1);
    box-shadow: 5px 5px 15px 5px rgba(0, 0, 0, 0.35);
    cursor: pointer;
}
.modal{
  display: none;
  position: fixed;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color:rgba(0, 0, 0, 0.95);
}
.modal-content{
  position: relative;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
}
.close{
  color: red;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 85px;
  font-weight: bold;
  cursor: pointer;
  z-index: 999;
  margin-top: 70px;
}
.mySlides{
  display: none;
}
.mySlides img {
  display: block;
  margin: 20px auto;
  padding: 2px;
  border-radius: 5%;
  box-sizing: border-box;
  border: 2px black solid;
  box-shadow: 5px 8px 10px 5px rgba(0, 0, 0, 0.45);
  background-color: black;
  transition: 1s;
  justify-items: center;
}
.mySlides img:hover {
  transform: scale(1.1);
  box-shadow: 15px 15px 15px 15px rgba(0, 0, 0, 0.45);
  cursor: pointer;
}
.prev, .next{
  cursor: pointer;
  position: absolute;
  top: 25vH;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 50px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
  z-index: 999;
}
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
.prev {
  left: 0;
  border-radius: 3px 0 0 3px;
}
.prev:hover, 
.next:hover{
  background-color: rgba(0, 0, 0, 0.8);
}
.number-text{
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  top: 0;
  text-align: center;
}
.caption-container{
  text-align: center;
  background-color: #2f2f2f;
  padding: 2px 16px;
  color: white;
}
.demo{
  margin-top: 100px;
  float: left;
  width: 10%;
}
img.demo{
  opacity: 0.6;
}
.demo:hover{
  opacity: 1;
}

/* BUTTON */

#topBtn {
  display: block;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  border: 1px solid whitesmoke;
  outline: none;
  background-color: rgba(30, 61, 75, 0.7);
  color: whitesmoke;
  text-shadow: 2px 2px 2px black;
  cursor: pointer;
  padding: 15px;
  border-radius: 10px;
  font-size: 18px;
}
#topBtn:hover{
  background-color: rgba(30, 61, 75, 0.7);
  border: 2px solid whitesmoke;
  color: whitesmoke;
}

/*Footer*/

footer {
  position: static; 
  bottom: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
  background-color: rgba(30, 61, 75, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px 0;
}
.footer-links a{
  border-right: 1px solid #DEDFE4;
  padding: 0 5px;
  color: whitesmoke;
  font-size: 1.6em;
  font-weight: 500;
  text-decoration: none;
}
.footer-links a:last-child {
  border: none;
}
.copyright {
  font-size: 1.6em;
  margin-top: 10px;
}

@keyframes shadow-pulse {
  0% {
    box-shadow: 0 0 0 0px rgba(255, 255, 255, 0.5);
  }
  100% {
    box-shadow: 0 0 0 25px rgba(255, 255, 255, 0);
  }
}

@media only screen and (max-width: 1024px) {
  header {
    height: auto;
    background-position: center center;
    background-size: contain;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .btns-center {
    margin-top: 50px;
  }
  .feature {
    flex-basis: 40%;
  }
  .trips {
    flex-basis: 50%;
    width: 90%;
  }
  .trips-pr3{
      flex-basis: 50%;
      font-size: 0.6em;
  }
  .cards h4 {
    font-size: 1.2em;
  }
  .features-box {
    display: flex;
    padding: 10px 30px 40px 30px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 50px;
  }
  .container-features {
    max-width: 90%;
    margin-top: 50px;
  }
  .h2-feature {
    color: #234a66;
    font-size: 3em;
    margin-top: 50px;
  }
  .p-feature {
    font-size: 1.2em;
    margin-bottom: 30px;
  }
  .span-feature {
    color: #234a66;
    font-size: 110%;
  }
  .travel-div {
    margin-top: 0px;
  }
  .flip-card {
  margin-bottom: 50px;
  }
}

@media only screen and (max-width: 767px) {
body,html {
  background-size: 100%;
}
.container-travel {
  max-width: 90%;
}
.container-features {
  max-width: 90%;
}
  .logo-home {
    max-width: 100%;
    margin-left: 30px;
  }
  .box-center a {
    display: block;
    padding: 5px;
    font-weight: 500;
    margin: 1px;
    margin-top: 15px;
    font-size: 1.4em;
  }
  .features-box {
    padding: 10px 10px 10px 10px;
    justify-content: center;
  }
  .feature {
    flex-basis: 100%;
  }
  .trips {
    flex-basis: 100%;
    width: 90%;
    margin-top: 20px;
  }
  .cards h4 {
    font-size: 1.6em;
  }
  .cards a {
    font-size: 1.2em;
  }
  .toggle-button {
    display: flex;
    margin-right: 20px;
    width: 50px;
  }
  .nav-links {
    display: none;
    width: 100%;
  }
  nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: rgba(30, 61, 75, 0.7);
    height: 100px;
  }
  .nav-links ul {
    flex-direction: column;
    width: 100%;
    z-index: 995;
    margin-top: 50px;
    margin-bottom: 10px;
  }
  .nav-links li {
    text-align: center;
    padding: 5px;
    font-size: 1em;
  }
  .nav-links li:hover {
    background-color: rgb(30, 61, 75);
    z-index: 995;
  }
  .nav-links li a {
    color: white;
    text-shadow: none;
    z-index: 995;
  }
  .logo {
    padding: 3px;
    width: 20%;
  }
  .nav-links.active {
    z-index: 995;
    display: flex;
    background-color: rgb(30, 61, 75);
  }
  .mySlides img {
    max-width: 450px;
  }
  .flip-card {
    width: 250px;
    height: 250px;
  }
  .p-flip {
    font-size: 1.4em;
  }
  div .trips {
    max-width: 100%;
  }
  .next{
    border-radius: 3px 0 0 3px;
  }
}

@media only screen and (max-width: 480px) {
  body {
    font-size: 9px;
  }
  header {
    height: auto;
  }
  .logo {
    padding: 3px;
    width: 20%;
  }
  .feature {
    flex-basis: 100%;
  }
  .trips {
    flex-basis: 100%;
    width: 100%;
  }
  .h2-feature {
    color: #234a66;
    font-size: 2.4em;
    text-shadow: 1px 1px 1px black;
    margin-top: 10px;
  }
}

