/* Font import */

@import url('https://fonts.googleapis.com/css2?family=Roboto&family=Roboto+Mono&display=swap');

:root {
  overflow-x: hidden;
}
/* Theme config */

html[data-theme="dark"] {
  --bg: #1A1B1F;
  --colour-text: #ececec;
  --button-shadow1: #24252a;
  --button-shadow2: #101114;
  --accent: #ececec;
}

html[data-theme="light"] {
  --bg: #ececec;
  --colour-text: #000000;
  --button-shadow1: #ffffff;
  --button-shadow2: #bebebe;
  --accent: #1A1B1F;
}

/* General page properties */
* {
  font-family: 'Roboto', sans-serif;
  font-family: 'Roboto Mono', monospace;
  box-sizing: border-box;
  color: var(--colour-text);
  scroll-behavior: smooth;
}

body{
  background: var(--bg);
  width: 100%;
  margin: 0px;
  overflow-x: hidden;
}

/* Text tags properties */

h1 {
  font-size: 2rem;
  padding-bottom: 20px;
  text-align: center;
}
h2 {
  font-size: 20px;
  padding-bottom: 10px;
}

span {
  font-size: 15px;
}

p {
  line-height: 1.5;
}

a {
  font-size: 20px;
  font-weight: 15px;
  text-decoration: none;
  background-color: inherit;
}

/* Navbar */

.navbar{
 height: 80px;
 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
 width: 100% !important;
 z-index: 100;
 margin: 0;
 padding: 0;
 position: fixed;
 background: var(--bg);
 display: flex;
 justify-content: space-between;
 align-items: center;
}

.navbar .logo-container {
  margin-left: 50px;
  width: 100px;
}

.navbar #logo {
  width: 90%;
}

#navmenu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
}

#navmenu .nav-item a {
  padding: 10px 15px;
  font-size: 15px;
}


/* Dark theme toggle */

.toggle-container {
  background-color: var(--bg);
  height: 60px;
  min-width: 100px;
  transform: translate(-50%, -50%);
  border-radius: 5px;
  align-items: center;
  display: flex;
  align-self: center;
  margin-top: 53px;
}
input[type="checkbox"] {
  position: absolute;
  -webkit-appearance: none;
  height: 30px;
  width: 60px;
  box-shadow: -7px -7px 15px var(--button-shadow1),
    7px 7px 15px var(--button-shadow2),
    inset -7px -7px 15px var(--button-shadow1),
    inset 7px 7px 15px var(--button-shadow2);
  border-radius: 40px;
  border: 2.5px solid var(--bg);
  left: 15px;
  outline: none;
  cursor: pointer;
}

input[type="checkbox"]:before,
input[type="checkbox"]:after {
  content: "";
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  transition: 0.3s;
  
}

input[type="checkbox"]:before {
  height: 15px;
  width: 15px;
  background-color: var(--accent);
  box-shadow: -7px -7px 15px var(--button-shadow1),
    7px 7px 15px var(--button-shadow2);
  border-radius: 50%;
  left: 7.5px; 
}

input[type="checkbox"]:checked:before {
  left: 30px;
}


/* First section (title screen) */

#main {
  padding-top: 90px;
  padding-bottom: 20px;
  max-width: 1200px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-wrap: wrap;
  
}

#main .heading-content{
  margin-top: 50px;
  flex: 50%;
  display: flex;
  flex-direction: column;
  padding-left: 20px;
  font-size: 20px;
  white-space: normal;
  min-width: 200px;
}


.typing-demo {
  width: 510px;
  animation: typing 2s steps(28), blink .5s step-end infinite alternate;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid;
  text-align: left;
  font-weight: inherit;
  font-size: 30px;
}

@keyframes typing {
  from {
    width: 0
  }
}
    
@keyframes blink {
  50% {
    border-color: transparent
  }
}

.heading-tag {
  width: 100%;
}

#main .heading-image{
  flex: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}



/*Second section */
#features {
  max-width: 1200px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  
  
}
  
#features .feature-container {
  display: flex;
  flex-wrap: wrap;
}

#features .feature-container .feature1 {
  flex: 33.3%;
  padding-right: 25px;
  min-width: 170px;
}

#features .feature-container .feature2 {
  flex: 33.3%;
  padding-right: 25px;
  min-width: 170px;
}

#features .feature-container .feature3 {
  flex: 33.3%;
  padding-right: 25px;
  min-width: 170px;
}

/* Third section */
#About {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 80px;
}

#about .maincontainer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}


#About header {
  background: #E0E8F0;
  height: 30px;
  border-radius: 8px 8px 0 0;
  padding-left: 10px;
  width: 100%;
}

#About header .button {
  width: 12px;
  height: 12px;
  margin: 10px 4px 0 0;
  display: inline-block;
  border-radius: 8px;
}

#About header .button.green {
  background: #3BB662;
}

#About header .button.yellow {
  background: #E5C30F;
}

#About header .button.red {
  background: #E75448;
  cursor: pointer;
}

#container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 800px;
}


#About #carousel {
  color: rgb(255, 255, 255) !important;
  font-family: Menlo, Monaco, "Consolas", "Courier New", "Courier";
  font-size: 12pt !important;
  background: #30353A;
  border-radius: 0px 0px 8px 8px;
  box-sizing: border-box;
  height: 450px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  padding-left: 10px;
}
#button_a:checked ~ #label_al {
  background-color: #000000;
}

.frost {
  color:#81A1C1;
}

.slime {
  color:#A3BE8C;
}
.night {
  color:#707f9c;
}


.pink {
  color: #ff69b4;
}
.yellow {
  color: yellow;
}         
          
.p-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease-in-out;
}
          
#button_a:checked ~ #carousel .p-wrapper {
  -webkit-transform: translateY(0);
  transform: translateY(0); 
}
          
#button_b:checked ~ #carousel .p-wrapper {
  -webkit-transform: translateY(-100%);
  transform: translateY(-100%); 
}

#button_c:checked ~ #carousel .p-wrapper {
  -webkit-transform: translateY(-200%);
  transform: translateY(-200%); 
}

#button_d:checked ~ #carousel .p-wrapper {
  -webkit-transform: translateY(-300%);
  transform: translateY(-300%); 
}


          
[class^="panel_"] {
  overflow: auto;
  position: relative;
  width: inherit;
  height: inherit;
  padding-top: 10px;
  color: white;
}
          
#navigation {
  padding-left: 50px;
  margin-top: 70px;

}

[class^="label_"] {
  display: block;
  cursor: pointer;
  margin: 20px 0;
  width: 40px;
  height: 40px;
  line-height: 32px;
  text-align: center;
  border-radius: 4px;
  color: #aaa;
  transition: all 0.3s ease;
  transform: translate(-50%, -50%) scale(1);
  border-style: none;
  outline: none;
  cursor: pointer;
  border-radius: 10%;
  background-color: var(--colour-button);
  box-shadow: -2px -7px 10px var(--button-shadow1), 4px 6px 10px var(--button-shadow2);
  display: flex;
  align-items:center;
  justify-content:center;
}
          
[class^="label_"]:hover {
  color: #444;
  background-color: #d1d1d1;
}

[class^="label_"]:active {
  box-shadow: -2px -7px 10px var(--button-shadow2), 4px 6px 10px var(--button-shadow1), inset -2px -7px 10px var(--button-shadow1), inset 4px 6px 10px var(--button-shadow2);
  transition: all 0.3s;
  transform: translate(-50%, -50%) scale(0.95);
}


/* Fourth section */

#Pricing{
  max-width: 1200px;
  padding-top: 20px;
  margin-left: auto;
  margin-right: auto;

}

.price-description {
  font-size: 30px;
  display: flex;
  justify-content: center;
}

.pricing-dotpoints {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 10px;
  margin-top: 22px;
}

.dotpoint-div {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 10px;
}
.dotpoint-div > span {
  margin-top: 0;
}

.pricing-div {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 15px;
}


.dotpoints {
  width: 10px;
  height: 10px;
  border: none;
  background: var(--accent);
  margin-right: 30px;
}


/* Fifth section */
#Contributors {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 50px;
  padding-right: 30px;
  padding-left: 30px;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.carousel {
  position: relative;
}

.carousel__slider {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 1000px;
  border: 0px;
  height: 200px;
}

.carousel__list {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.carousel__item {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.carousel__item:hover {
  transform: scale(1.05);  
}


/* Button properties */

.pricing-button:active, .buy-button:active {
  box-shadow: -2px -7px 10px var(--button-shadow2), 4px 6px 10px var(--button-shadow1),
    inset -2px -7px 10px var(--button-shadow1), inset 4px 6px 10px var(--button-shadow2);
  transition: all 0.3s;
  transform: translate(-50%, -50%) scale(0.95);
}



/* First section buttons */

.pricing-button {
  min-width: 150px;
  height: 60px;
  transform: translate(-50%, -50%) scale(1);
  border-style: none;
  outline: none;
  cursor: pointer;
  border-radius: 10%;
  background: var(--colour-button);
  box-shadow: -2px -7px 10px var(--button-shadow1), 4px 6px 10px var(--button-shadow2);
  margin-right: 15px;
  margin-bottom: 10px;
  display: flex;
  align-items:center;
  justify-content:center;
}

.buy-button {
  width: 150px;
  height: 60px;
  transform: translate(-50%, -50%) scale(1);
  border-style: none;
  outline: none;
  cursor: pointer;
  border-radius: 10%;
  background: var(--colour-button);
  box-shadow: -2px -7px 10px var(--button-shadow1), 4px 6px 10px var(--button-shadow2);
  display: flex;
  align-items:center;
  justify-content:center;
}

.buttons {
  display: flex;
  overflow: visible;
  padding-top: 90px;
  padding-left: 75px;
}

/* Mobile navbar */
.mobile-nav-toggle {
  display: none;
}

@media (max-width: 736px) {
  #navmenu {
    display: flex;
    position: fixed;
    inset: 0 0 60% 0;
    justify-content: center;
    flex-direction: column;
    font-size: 30px;
    z-index: 100;
    background: rgba(16 18 27 / 40%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(7px);
    border-bottom: 3px solid rgba(16 18 27 / 45%);
    transform: translateY(-100%);
    transition: transform 200ms ease-out
  }

  #navmenu[data-visible="true"]{
    transform: translateY(0%);
  }

  .mobile-nav-toggle {
    display: block;
    position: fixed;
    background: url("images/hamburgerblack.png") no-repeat;
    transform: none !important;
    transition: none !important;
    box-shadow: none !important;
    border: none;
    aspect-ratio: 1;
    width: 3rem;
    z-index: 1000;
    right: 10px;
    top: 12.5px;
  } 
  .typing-demo {
    animation: none;
    border: none;
    max-width: 300px;
    white-space: normal;
  }

}

/* Footer */
#footer {
  position: absolute;
  width: 100%;
  height: 80px;
  background-color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

