* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

:root {

  --main-gradient: radial-gradient(farthest-corner at 40px 40px, 
  rgba(247, 42, 31, 0.05) 10%, 
  rgba(247, 86, 75, 0.1) 25%, 
  rgba(227, 112, 138, 0.15) 40%, 
  rgba(180, 151, 213, 0.2) 70%, 
  rgba(145, 152, 229, 0.25) 100%);

  --tools-gradient: radial-gradient(farthest-corner at 40px 40px, 
  rgba(247, 42, 31) 10%, 
  rgba(247, 86, 75) 25%, 
  rgba(227, 112, 138) 40%, 
  rgba(180, 151, 213) 70%, 
  rgba(145, 152, 229) 100%);

  --main-gradient-right: linear-gradient(to left, 
  rgba(247, 42, 31, 0.05) 10%, 
  rgba(247, 86, 75, 0.1) 25%, 
  rgba(227, 112, 138, 0.15) 40%, 
  rgba(180, 151, 213, 0.2) 70%, 
  rgba(145, 152, 229, 0.25) 100%);

  --second-gradient: white;

  --second-gradient-straight: radial-gradient(
  farthest-corner at 40px 40px,
    rgba(247, 42, 31, 0.05) 10%, 
    rgba(247, 86, 75, 0.1) 25%, 
    rgba(227, 112, 138, 0.15) 40%, 
    rgba(180, 151, 213, 0.2) 70%, 
    rgba(145, 152, 229, 0.25) 100%);
}

@font-face {
  font-family: "HK-Grotesk-Black";
  src: url(assets/fonts/Rubik/Rubik-Black.ttf);
}

@font-face {
  font-family: "Rubik-Bold";
  src: url(assets/fonts/Rubik/Rubik-Bold.ttf);
}

@font-face {
  font-family: "Rubik-Regular";
  src: url(assets/fonts/Rubik/Rubik-Regular.ttf);
}


@font-face {
  font-family: "Rubik-Italic";
  src: url(assets/fonts/Rubik/Rubik-Italic.ttf);
}

@font-face {
  font-family: "Orbit";
  src: url(assets/fonts/Orbit-Regular.woff2);
}

body {
  
  height: 100vh;
}

main {
  padding: 0 0;
}

#canvas-intro {
 padding: 0;
 margin: 0;

 margin-top: 2vh;
 
}

.fixed-white-background {
  position: absolute;
  top:0;
  width: 100%; 
  height: 50%;
  background: linear-gradient(to left, 
  rgba(247, 42, 31, 0.05) 10%, 
  rgba(247, 86, 75, 0.1) 25%, 
  rgba(227, 112, 138, 0.15) 40%, 
  rgba(180, 151, 213, 0.2) 70%, 
  rgba(145, 152, 229, 0.25) 100%);
  z-index: -20;
  
}

.intro-subheader-container {
  right:0;
  position: relative;
  font-family: "Orbit";
  font-size: 1.5rem;

  text-align: right;
  padding-right: 2vw;
}

.second-bg-color {
  background: linear-gradient(to left, 
  rgba(247, 42, 31, 0.05) 10%, 
  rgba(247, 86, 75, 0.1) 25%, 
  rgba(227, 112, 138, 0.15) 40%, 
  rgba(180, 151, 213, 0.2) 70%, 
  rgba(145, 152, 229, 0.25) 100%);

}

.main-landing-page-color {
  background: white;
}

.navigation {
  width: 100%;
  display: flex;
 }

 .black-border {
  border:1px solid black;
 }

.main-menu {
  width: calc(100% - (100% /3));
  display: flex;
  z-index: 999;
}

.ascii-style {
  font-weight: bold;
}
ul li {
  list-style: none;
}

#about-menu {

  position: fixed;
  right: 0; /* Aligns the menu to the right of the screen */
  margin: 2vh 1vw 0 0;
font-family: "Rubik-Regular";
font-weight: lighter;
background: white;
width: 3vw;
padding: 1vh 1vw;
border-radius: 10px;
border: 1px solid black;
} 

#about-menu:hover {

background-color: #000000;
color: white;
transition: 1s cubic-bezier(0.075, 0.82, 0.165, 1);
} 


.button-menu {
  width: 10vw;
  background-color: white;
  color: black;
  font-weight: normal;
}

.button-menu:hover {
  background-color: #000000;
  color: #f1f1f1;
  transition: 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.fixed-position {
  position: fixed;
  
}

.main-header-container {
  
  font-family: "Orbit";
  color: #000000;
 margin: 0;
 padding: 0;
 overflow-x: hidden;
}

header h2 {
  font-family: "Rubik-Italic";
}

.main-menu,
a {
  font-weight: bold; 
}

.subheader-container {
margin: 0 5vw -3vh 5vw;
padding-top: 20vh;

}
.subheader {
  font-size: 4rem;
font-family: "Orbit";

}

h2 {
  font-size: inherit;
}

.h2-subheader-container {

  position: fixed; 
   background-color: #ffffff;
   border: black 1px solid;
   display: flex;
   padding: 0.5vh 2vw;
   margin: 8vh 1vw;
   border-radius: 10px;
   font-family: "Orbit";
   font-size: 1rem;
   text-transform: uppercase;
   
   box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1);
 }

 .h2-subheader-container a {
padding: 0 1vw;
 }

 .h2-subheader-container a:hover {
  background-color: #000000;
  color: #f1f1f1;
  transition: 1s cubic-bezier(0.075, 0.82, 0.165, 1);
  border-radius: 10px;
   }

   .subheader-selected, h2-subheader-container a:hover  {
    background-color: #000000;
  color: #f1f1f1;
  border-radius: 10px;
   }

.h3-header {
  margin-bottom: 2vh;
}
 

.info-container { 
  background-color: white;
  }
  
  .text-flex-container {
    background: var(--main-gradient-right);
    display: flex;
    height: 100%;
  }
   
.flowing-introduction-text-container {
  padding: 15vh 5vw 15vh 5vw;
  font-family: "Rubik-Regular";
   background: var(--main-gradient);
 }

  .introduction-text {
    font-size: 2rem;
   
    text-indent: 30px;
  } 

.flowing-text-container {
 
 padding: 5vw;
  width:70%;
  font-family: "Rubik-Regular";
  font-size: 1.2rem;
}

.flowing-text-big-container {
  font-size: 2rem;
  font-family: "Rubik-Regular";
  padding: 8vh 20vw 2vw 2vw;
  text-indent: 30px;
  text-align: left; 
}



.aditional-info-container {
  width: 30%; 
  background: var(--main-gradient-right);
  height: 50vh;
  overflow-y: scroll;
  padding: 2vh 2vw;
}

.aditional-info-container ul {
  position: relative;
margin-top: 2vh;
display: flex;          /* Enables Flexbox */
  flex-wrap: wrap;


}

.aditional-info-container ul li {
  height: 6vh;
  margin: 0 0.25vw;
}

.aditional-info-container ul li a {
 color: white;
 background-color: #000000;
border-radius: 10px;
padding: 1vh 1vw;
font-family: "Orbit";
display: flex;
flex: 1;
width:fit-content;
}

.aditional-info-container p {
  font-family: "Rubik-Regular";
  padding-top: 8vh;
  font-weight: bold;
  font-size: 1.2rem;
}


.aditional-info-container ul li a:hover  {
  text-decoration: underline; 
}

.sketch-code-container {
  display: flex;
  height: 90vh;
}
.code-container {
  height: inherit;
  width: 50%;
  overflow-y: scroll;
  background: black;
  font-size: 1rem ;
}

.iframe-container {
align-items: center; /* Center vertically */
justify-content: center; /* Center horizontally */
display: flex;
background: var(--second-gradient);
border: black 1px solid;
width: 50%;
}

.iframe-grid-container {
  align-items: center; /* Center vertically */
  justify-content: center; /* Center horizontally */
  display: flex;
  background: var(--second-gradient);
  border: none;
  width: 50%;
  }

iframe {
  border: black 1px solid;
  align-items:center ;
  justify-content: center;
}

.transformation-iframe {
  width: 600px;
  height: 600px;
}

.grid-iframe {
  width: 30vw;
  height: 400px;
}

.parameter-iframe {
  width: 600px;
  height: 600px;
}

.sketch-foot-container {
  font-family: "Rubik-Regular";
  padding: 2vh 2vw;
background: var(--second-gradient);

}

.sketch-foot-container a {
  
  padding: 1vh 1vw;
  background: #000000;
  color: white;
  border-radius: 10px;
}

.sketch-foot-container a:hover {
  font-family: "Rubik-Italic";
  text-decoration: underline;
}

.hover-text:hover {
text-decoration: underline;
}

#S_02_03 {
  height: 300px;
  width: 600px;
  border: 1px solid black;
}

#S_04_01 {
  width: 700px;
  height: 200px;
}

a {
  color: inherit;
  text-decoration: none;
}

.white-background {
  background-color: white;
}

/* Navigation menu */
.dropbtn {
  
  border: 1px solid black;
  
  font-size: 1.5rem;
  cursor: pointer;
  background-color: white;
  font-family: "Orbit";
}

.dropdown {
  position: relative;
  display: flex;
  /* margin has to be used so that the hover effects does not happen outside the box. With paddin, the effects does not show up properly.*/
  margin: 2vh 1vw;
  width: 35vh;
}

.dropdown:last-child {
  width: 20%;
}

.dropdown-content {
  display: none;
  position: absolute;

 align-items: center;
 align-self: center;
 text-align: center;
  z-index: 1;
  top: 100%;
  text-decoration: none;
  list-style-type: none;
  width: inherit;
  font-family: "Orbit";
  

}

.dropdown-content li a {
  color: black;
  padding: 1vh 1vw;
  text-decoration: none;
  display: block;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  background-color: white;
  border: 1px solid black;
}

li a:first-child {
  border-radius: 10px;
}

.dropdown-content a:hover {
  background-color: #000000;

}

.dropdown:hover .dropdown-content {
  display: block;
}

.h1-container {

  flex: 1;
  display: flex;

  justify-content: center;
}

.sub-container {
  display: flex;
  flex-direction: column;
  width: calc(100vw / 3);

}

.uppercase {
  text-transform: uppercase;
}

.rounded-border {
  border-radius: 10px;
}

.h2-container {
 margin-top: 5vh;
  height: 4vh;
  background-color: #ffffff;
  
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 10px 10px 50px 50px;
}

.h2-container:hover, .dropdown-content a:hover {
  background-color: #000000;
  color: #f1f1f1;
  transition: 1s cubic-bezier(0.075, 0.82, 0.165, 1)
}

.image-grid-container {
  display: flex;
  flex-wrap:wrap;
  background: var(--second-gradient);
  justify-content: center;
  width: 100%;
  justify-content: space-between;
  height: 70vh;
  overflow-y: scroll;
  padding-top: 10vh;
  border-top: 1px solid black;
  border-bottom: 1px solid black; 
}

.grid-item {
  flex-basis: calc(33.33% - 1vw); 
  margin-bottom: 1vh; 
  text-align: center; 
}

img {
  width: 100%; /* Make sure the image fills its grid item */
  padding: 1vh 0;
}

.responsive-video {
  width: 100%; /* Ensures the video takes up the full width of its container */
  height: auto; /* Keeps the aspect ratio intact */
}   

.caption {
  font-family: "Orbit";
  font-size: 1rem;
}

.next-container {
  padding: 4vh 2vw;
  text-align: right;
  font-family: "Orbit";
background: black;
justify-content: right;
display: flex;
}

.next-container p {
  font-size: 2rem;
  padding: 0 0.5;
  color: white;
  margin: 0 0.5vw;
}

.next-container p a:hover {
  text-decoration: underline;
}

.next-button {
  font-size: 1.5rem;
  background-color: white;
  color: black;
  padding: 1vh 0.5vw;
  border-radius: 50px;
  font-family: "Orbit";
  text-transform: uppercase;
}



.use-container {
  background: var(--main-gradient);
  padding: 10vh 5vw;
  display: flex;
}
.use-container a {
  display: block;
  font-family: "Rubik-Regular";
  font-size: 1.5rem;
  font-weight: normal;
}

.cases-subheader {
font-family: "Rubik-Regular";
font-size: 2rem;
padding: 2vh 0;
}

.tools-container, .cases-container {
  width: 50%;
}

.use-container a:hover, .inline-link:hover {
  text-decoration: underline;
}


#about-background {
  background: linear-gradient(to left, 
  rgba(247, 42, 31, 0.05) 10%, 
  rgba(247, 86, 75, 0.1) 25%, 
  rgba(227, 112, 138, 0.15) 40%, 
  rgba(180, 151, 213, 0.2) 70%, 
  rgba(145, 152, 229, 0.25) 100%);
}

.imprint-container {
  display: flex;
  flex-direction: column;
}


.mobile-warning {
  
  text-align: center;
  height: 100vh;
  text-align: center;
  background: var(--main-gradient);
  position: fixed;
font-family: "Rubik-Regular";
font-size: 1.2rem;
padding: 1vh 5vw;
  display: none;
  text-align: left;
}



@media (max-width: 768px) {
  .content {
      display: none; /* Hide existing content */
  }

  .mobile-warning {
      display: flex; /* Show warning message */
  }
}



