/*
=============== 
Fonts
===============
*/
@import url("https://fonts.googleapis.com/css?family=Open+Sans|Roboto:400,700&display=swap");

/* Lila https://coolors.co/523bc2-5f4ac6-6c59cb-7967cf-8676d4-9385d8-a094dc-ada3e1-bab1e5-c7c0ea ; */

/*
=============== 
Variables
===============
*/

:root {
  /* dark shades of primary color*/
  --clr-primary-1: #00FF41;
  --clr-primary-2: #5ec986;
  --clr-primary-3: #5ec986;
  --clr-primary-4: #003B00;
  /* primary/main color */
  --clr-primary-5: #5ec986;
  /* lighter shades of primary color */
  --clr-primary-6: rgba(17, 154, 191);
  --clr-primary-7: #ada3e1;
  --clr-primary-8: #bab1e5;
  --clr-primary-9: #3CE203;
  --clr-primary-10: #003B00;
  --clr-light-green: #00ff0033;
  --clr-black-10: #0D0208;
  /* darkest grey - used for headings */
  --clr-grey-1: hsl(209, 61%, 16%);
  --clr-grey-2: hsl(211, 39%, 23%);
  --clr-grey-3: hsl(209, 34%, 30%);
  --clr-grey-4: hsl(209, 28%, 39%);
  /* grey used for paragraphs */
  --clr-grey-5: hsl(210, 22%, 49%);
  --clr-grey-6: hsl(209, 23%, 60%);
  --clr-grey-7: hsl(211, 27%, 70%);
  --clr-grey-8: hsl(210, 31%, 80%);
  --clr-grey-9: hsl(212, 33%, 89%);
  --clr-grey-10: hsl(210, 36%, 96%);
  --clr-white: #fff;
  --ff-primary: "Roboto", sans-serif;
  --ff-secondary: "Open Sans", sans-serif;
  --transition: all 0.3s linear;
  --spacing: 0.25rem;
  --radius: 0.5rem;
  --light-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --dark-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  --max-width: 1170px;
  --light-black: rgba(0, 0, 0, 0.4)
}
/*
=============== 
Global Styles
===============
*/

*,
::after,
::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Red Hat Display", sans-serif;
  font-optical-sizing: auto;
 background: black;
  font-style: normal;

  color: var(--clr-black-10);
  line-height: 1.5;
  font-size: 0.875rem;
  overflow-x: hidden;
}
option{
  color: var(--clr-primary-1);
  background-color: black;
  text-transform: uppercase;
}
ul {
  list-style-type: none;
}
a {
  text-decoration: none;
color: var(--clr-primary-1);
}
img:not(.nav-logo,.services-img) {
  display: block;
}

#header_logo {
  width: 70px;
  height: auto;
margin-left: 2rem;
margin-right: 2rem;
}

h1,
h2,
h3,
h4,
h5 {
  letter-spacing: var(--spacing);
  line-height: 1.25;
  margin-bottom: 0.75rem;
  margin-top: 0.5rem;
  font-family: "Russo One", sans-serif;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  text-align: center;
}
h1 {
  font-size: 3rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.25rem;
  color: #5ec986;
}
h4 {
  font-size: 0.875rem;
}
p {
  margin-bottom: 1.25rem;
  color: var(--clr-primary-1);
}
@media screen and (min-width: 800px) {
  h1 {
    font-size: 4rem;
  }
  h2 {
    font-size: 2.5rem;
  }
  h3 {
    font-size: 1.75rem;
  }
  h4 {
    font-size: 1rem;
  }
  body {
    font-size: 1rem;
  }
  h1,
  h2,
  h3,
  h4 {
    line-height: 1.25;
  }
}

.underline {
  width: 5rem;
  height: 0.3rem;
  margin-bottom: 1.25rem;
  background: var(--clr-primary-1);
  margin-left: auto;
  margin-right: auto;
}

/*  global classes */

#google_translate_element  {
  position: absolute;
  width: 2000px;
  top: 0;
  right: 0;
  color: #333;
  background: #fff;
  border: 1px solid #ccc;
}

#google_translate_element {
  all: unset;
}
.goog-te-banner-frame {
  display: none !important;
}
.btn {
  text-transform: uppercase;
  color: var(--clr-primary-1);
  padding: 0.375rem 0.75rem;
  letter-spacing: var(--spacing);
  display: inline-block;
  font-weight: 700;
  -webkit-transition: var(--transition);
  transition: var(--transition);
  font-size: 0.875rem;
  border: 2px solid transparent;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  border-radius: var(--radius);

}
.btn:hover {
  color: black;
  background: white;
}
/* section */

.section-center {
  width: 95vw;
  margin: 0 auto;
}
@media screen and (min-width: 992px) {
  .section-center {
    width: 95vw;
  }
}
/* added during recording */

.section-title {
padding-top: 2rem;
  margin-bottom: 1rem;
  text-align: center;
  color: white;
  z-index: 20;
}

.section-title h2 {
  font-size: 2.5rem;
}

.skills-title{
  margin-bottom: 0;

}

.bg-grey {
  background: black;
  color:white;
  
}

.services-center {
  display: flex;
  /* justify-content: space-between; Horizontally center content */

  /* align-items: center; Vertically center content */
  flex-wrap: wrap; /* Allow articles to wrap to next line if needed */

}

@media screen and (min-width: 1024px) {
  .services-center {
    display: block; /* Change display to block for default behavior */
    justify-content: initial; /* Reset justify-content */
    align-items: initial; /* Reset align-items */
    flex-wrap: nowrap; /* Prevent articles from wrapping */
    text-align: center; /* Center articles horizontally */
  }}


/*
=============== 
Navbar
===============
*/
.nav-links {
  display: none;
}
.nav {
width: 100%;
  position: absolute;
  height: 6rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  transition: var(--transition);
z-index: 10000;
border-bottom: 1px var(--clr-primary-1) solid;
  background: black;
  
}

.nav-center {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  margin-left: 5px;
}

.nav-header {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
 
}
.nav-header h9{
  font-size: 0.8rem;
text-align: left;
  color:#00FF41;
transform: translateX(-15%);
}

.nav-btn {
  background: transparent;
  border-color: transparent;
  color:#00FF41;
  font-size: 2rem;
  cursor: pointer;
  justify-self: end;
}

li a::after {
  content: "";
  display: block;
  height: 2px;
  width: 0;
  background-color: var(--clr-primary-1);

  transition: all.5s;
}

li a:hover::after {
  width: 100%;
}

.translation-widget{
  position: absolute;
  top: 50%;
  right: 10rem;
}

@media screen and (min-width: 768px) {
  .nav {
    background:transparent;
  }

  .nav-btn {
    display: none;
  }
  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-self: center;
    justify-items: center;
    align-content:center;
padding-left: 20%;
  }

  .nav-links a {
    text-transform: capitalize;
    color: #00FF41;;
    font-weight: 700;
    letter-spacing: var(--spacing);
    transition: var(--transition);
    font-size: 1.15rem;
  }
  .nav-links a:hover {
    color: var(--clr-primary-1);
  }
  .nav-center {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
  }

}

/* fixed navbar */
.navbar-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  background: black;
  z-index: 2000;
  box-shadow: 2;
  box-shadow: var(--light-shadow);
}

/*
=============== 
Sidebar
===============
*/

.sidebar-video{
  opacity: 0.6;
border-style: dashed;
border-color: var(--clr-primary-1);
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80%;
  background: black;
  z-index: 4;
  display: grid;
  place-items: center;
  transition: var(--transition);
  /* add later */
  transform: translateX(-100%);
z-index: 1000;

}

.show-sidebar {
  transform: translateX(0);
}

.sidebar-links {
  text-align: center;

}
.sidebar-links::after {
  text-align: center;
  content: "";
  position: absolute;
  opacity: 1;
  background: white;
}
.sidebar-links a {
  font-size: 2rem;
  text-transform: var(--transition);
  color: var(--clr-primary-1);
  letter-spacing: var(--spacing);
  display: inline-block;
  margin-bottom: 1.5rem;

}

.sidebar-links a:hover {
  color: var(--clr-primary-5);
}

.social-icons {
  width: 100%;
  display: grid;
  margin-top: 3rem;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
  align-self: center;
}

.social-icon {
  font-size: 1.5rem;
  color: var(--clr-grey-1) var(--transition);
}

.social-icon:hover {
  color: var(--clr-primary-5);
}

.close-btn {
  position: fixed;
  bottom: 1vh; /* Position at the bottom of the page */
  left: 50%;
  transform: translateX(-50%);
  padding: 20px;
  color: var(--clr-primary-1);
  border-radius: 50%;
  font-size: 100px;
  cursor: pointer;
  display: none; /* Initially hidden */
  z-index: 1000;
  transform: translateX(-50%) rotate(90deg); /* Rotates the button to face up */

}


.close-btn:hover {
  color: #e66b6b;
}

/*
=============== 
Hero
===============
*/
/* underline added to globals */
.hero .underline {
  margin-bottom: 0.5rem;
  margin-left: 0;
}

.hero-img {
  display: block;
  justify-content: center; /* Centers items horizontally */
  align-content: center; 
height: 150px;
width: 150px;
background: var(--clr-primary-7);
padding: 1rem 1rem;
border-radius: 20px;
}

.hero-img.first{
  background: var(--clr-grey-5);
}
.hero-img.second{
  background: var(--clr-grey-5);
}
.hero-img.third{
  background: var(--clr-grey-5);
}
.hero-img.fourth{
  background: var(--clr-grey-5);
}

.hero-title-img{
  position: relative;
bottom: 0;
  width: 50%;
  height: 100;
overflow-x: hidden;
right: -6rem;
}


.hero {
  max-width: 100%; /* Ensures full-width scaling */
  height: 100vh;
  padding-top: 7vh;
  background: var(--clr-grey-3);
  display: flex; /* Enables flex layout for the header */
  flex-direction: column; /* Keeps content stacked vertically */
  z-index: 1;
  overflow-x: hidden;

}

.hero-notebook {
  position: absolute;
height: 60vh;
width: auto;
  right: 0;
  bottom: 0; /* Am unteren Rand */
  z-index: 0; /* Sicherstellen, dass es hinter anderen Elementen liegt */
}


.titel-center{
  display: flex; /* Enables flex layout for the header */
  flex-direction: column; /* Keeps content stacked vertically */
 /* Centers the content vertically */
   /* Ensures the background image scales correctly */
  width:50vw;
  height: 100%;

}


.hero h2{
  text-align: right;
  font-size: 2rem;
}

.hero-btn {
  margin-top: 1.25rem;
}

.hero-center {
   /* Abstand zum Text */
   top: 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 gleich große Spalten */
  justify-items: center;
  align-items: center;
  gap: 1rem; /* Abstand zwischen Bildern */
  max-width: 50vw;
transform: scale(0.4);
position: relative;
align-self: center;
}

@media screen and (min-width: 676px) {
  .hero-notebook {
  height: 70vh;
   
  }
  .hero-center{
    
    transform: scale(0.65);
    left: 1;
    padding-left: 2rem; 
  }
}

@media screen and (min-width: 992px) {
  .hero-notebook {
    height: 90vh;
     
    }
  .hero-center{
    transform: scale(0.6);
    left: 0;
    padding-left: 10rem; 
  }
}
@media screen and (min-width: 1024px) {
 
  .hero-center{
    transform: scale(0.8);

    padding-left: 10rem; 
  }
}







.hero-photo {
  max-width: 25rem;
  max-height: 30rem;
  object-fit: cover;
  border-radius: var(--radius);
  position: relative;
}

/*
=============== 
About
===============



*/
/* section title added to globals */
.about-info{
  width: 100%;
  justify-content: left; /* Horizontally center content */
  align-items: center;
  text-align: center;
}



.about{
background: black;
padding-bottom: 3rem;
padding-top: 1rem;

}
.about-title {

  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
  text-transform: uppercase;
}
.about-title h2{
  padding-top: 1rem;
line-height: 1.25;
font-size: 1.5rem;
max-width: 60vw;
padding-right: 1rem;
padding-left: 2rem;
}

.hero-title{
  color: var(--clr-primary-1);
}


.about-center {
  display: grid;
  gap: 3rem 2rem;
}


.about-img {
  width: 100%;
  position: relative;
  justify-self: center;
  align-self: center;
 ;

}

.about-img.second {
  background: var(--clr-primary-3);

}

.about h2 {
  text-transform: uppercase;
  background-color: black;
  color: white;
  /* padding: 2rem 2rem; */
}

@media screen and (min-width: 576px) {
  .about-title h2{
    font-size: 2.4rem;
  }

}


@media screen and (min-width: 992px) {
  .about{
    margin-top: 0rem;
    margin-bottom: 0rem;
    
      }

      .about-title h2{
        padding-top: 7rem;
      }
    

  .about-center {
    grid-template-columns: 1fr 1fr;
  }
  .about-img {
    position: relative;
  }

  .about-info {
    align-self: center;
    text-align: center;
  }
  .about-info h2 {
    text-align: right;
    font-size: 3.5rem;
  }
  
}





/*
=============== 
Services
===============
*/
/* small screen layout setup */
/* .service {
  background: var(--clr-white);
  padding: 3rem 1.5rem;
  margin-bottom: 2rem;
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition);
  width: 80%;
  height: 100%;
} */



.service-icon {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.service .underline {
  width: 3rem;
  height: 0.12rem;
  transition: var(--transition);
}

.service p {
  transition: var(--transition);
}

.service-title h2{
  color:var(--clr-primary-9)
}

.service:hover {
  background: var(--clr-primary-5);
  color: var(--clr-white);
}

.service:hover p {
  color: var(--clr-white);
}
.service:hover .underline {
  background: var(--clr-white);
}
.service:hover p {
  color: var(--clr-white);
}


@media screen and (min-width: 676px) {
  .services-center {
    display: grid;
    /* grid-template-columns: 1fr 1fr 1fr; */
    justify-content: space-between;
  }



}
@media screen and (min-width: 992px) {
  .services-center {
    grid-template-columns: 1fr 1fr 1fr 1fr; 
    /* grid-template-areas: "a b  c "; */
    /* position: relative; */
    /* margin-left: -10%; */
    justify-content: space-between;
    /* align-items: center;
    justify-items: center; */
    /* overflow: hidden; */
    /* flex-wrap: wrap; */
    width: 100%;
    height: auto;
  }
  /* .visible {
    transform: translateY(0) scale(0.5);
    background-color: #e74c3c;
  } */
}

/* Webseite overlay container */


.overlay button {
  padding: 10px 20px;
  font-size: 22px;
  cursor: pointer;
  background: transparent;
  color: white;
}
.overlay button:hover {
background: var(--clr-primary-1);
color: black;
}

iframe{
  border: none;
}


.iframe-container iframe {
  width: 100%;
  height: 100%;
}
.iframe-container.projects iframe {

  display: block;
  border-radius:var(--radius) ;
}

.hero-about{
  width: 100%;
}

.iframe-container.large {
display: none;
}

 @media screen and (min-width: 970px) {
  .iframe-container.large {
display: block;
  width: 80vw;
  height: 70vh;
  margin: 0 auto;
  margin-top: 3rem;
}
 }

/*
=============== 
Projects
===============
*/

.section.projects{

/* background-image: url(../images/hero-code-image.jpg);
background-size: 100% 100%; */
  margin-top: 0;
  color: #0D0208;
  background: black;
}

.projects-text {
  width: 85vw;
  max-width: 30rem;
  margin: 0 auto;
  color:var(--clr-primary-1);
  background: black;
  padding: 1rem 1rem;
  border-style: dotted;
  border-color: var(--clr-primary-1);
}

.project {
  position: relative;

  border-radius: var(--radius);
  margin-bottom: 2rem;
  width: 400px;
  height: auto;
}

.projects-info {
  text-align: center;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: var(--transition);
  opacity: 0;
}

.projects-info {
  text-transform: capitalize;
  color: var(--clr-white);
}

.project:hover .projects-info {
  opacity: 1;
  z-index: 11;

  
}

/* .project-img {
  transition: var(--transition);
  border-radius: var(--radius);
  height: 15rem;
  object-fit: cover;

} */

.project:hover .project.img {
  opacity: 0.1;
 
}
.project:hover .iframe-container {
  z-index: 10;




 
}
/* .project::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0.25rem solid var(--clr-white);
  border-radius: var(--radius);
  transition: var(--transition);
  opacity: 0;
} */



/* @media screen and (min-width: 1170px) {
  .projects-center {
    grid-template-rows: 200px 200px;
    gap: 1rem;
    grid-template-areas:
      "a b b"
      "a c d";
  }

  .project-img {
    height: 100%;
  }

  .project {
    height: 100%;
  }

  .project-1 {
    grid-area: a;
  }

  .project-2 {
    grid-area: b;
  }

  .project-3 {
    grid-area: c;
  }

  .project-4 {
    grid-area: d;
  }
}
 */
/*
=============== 
Connect
===============
*/

.connect {
  background: black;
  display: grid;
  position: relative;
  place-items: center;
  margin: 0rem 0;

}



.video-container {
  opacity: 0.3;
display: block;
min-height: 90vh;
height: auto;
  width: 80vw;
  object-fit: cover;
  z-index: 1;
  align-self: center;
  justify-self: center;
}

.connect::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--clr-black-10);
  opacity: 0.8;
  z-index: -1;

  ;

}

.video-banner .section-title {
  margin-bottom: 1rem;
  z-index: 0;
  color: var(--clr-primary-1);
  background: var(--light-black);
}

.video-text {
  margin: 0 auto;
  color: var(--clr-primary-1);
  text-align: center;
max-width: 60vw;
background: var(--light-black);
text-transform: uppercase;
}

.video-banner {

  opacity: 1;
  padding: 3rem 5rem 12rem 5rem;
  text-align: center;
background-color: var(--clr-black);
 

}
.video-banner.connect-banner{
  padding: 3rem 5rem 0rem 5rem;
  position: absolute;
  z-index: 10;
}

/*
=============== 
Skills
===============
*/  .skill-center{
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  column-gap: 4rem;
  row-gap: 3rem;
  justify-content: center;
  z-index: 20;
  align-self: center;
  justify-self: center;
  justify-items: center;
  align-items: center;

} 

@media screen and (min-width: 769px) {
  
  
  .skill-center {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 4rem;
    row-gap: 3rem;
    justify-items: center;
    z-index: 20;
    
  }
}


.skills {
    position: relative;
  background: black;
  padding-bottom: 1rem;
  z-index: 20;

}

.skills li{
  border-bottom: groove green;
}


.skills h3 {
  padding: 1rem 0rem;
  margin: 1.5rem 0;
  color: var(--clr-primary-1)
  ;
  font-size: 2rem;
}

.skill p {
  margin-bottom: 0, 5rem;
  text-transform: capitalize;
  color: var(--clr-primary-1);
}

.skill-container {
  background: var(--clr-white);
  height: 1rem;
  width: 100%;
  border-radius: var(--radius);
  position: relative;
}


/* Hide the paragraphs initially */
.toggle-content {

  display: none;
 color: var(--clr-primary-1);

}

/* Style for the clickable headers */
.toggle-header {
  cursor: pointer;
}

.hero-service-article{
  align-self:flex-start;
  cursor: pointer;
  width: 21rem;
  text-align: center;
    padding: 2rem 1rem;
    color: #00FF41;
    z-index: 20;
    transition: transform 4s ease; 
    margin: 0 auto;
}

.hero-service-article h4:hover {
padding: 3rem 1rem;
color: white;
  background: var(--clr-light-green);
  margin: 0 0;
}


.hero-service-article h4{
line-height: 1.5rem;
padding: 1rem 0rem;
}
.hero-service-article h3{
background: #00FF41;
color: black;
padding: 2rem 2rem;
font-size: 1.7rem;
box-shadow: var(--dark-shadow);


}



.hero-service-article.no-hover {
  /* Optionally, explicitly reset hover styles for children if needed */
  color: var(--clr-primary-1);
  background: inherit;
  transform: none; /* If using hover transforms */
  transition: none; /* Disable hover-related transitions */
}


@media screen and (min-width: 769px) {
  .hero-service-article h4{
font-size: 1.25rem;
padding: 2rem 1rem;
}
}






/*
=============== 
SKill Services footer 
===============
*/
.services-footer{
position: relative;
height: auto;
z-index: 0;
}



.service-img-container{
  z-index: 3;
}

.skill-services-container {
  display: grid;
  height: auto;
  position: relative;
  margin-top: 5rem;
  width: 95vw;
  max-width: 80vw;
  grid-template-columns: 1fr ;
  grid-template-rows: 1fr auto;
  justify-items:center ;
  align-items: center;
row-gap: 6rem;
  z-index: 5;
justify-content: space-between;
justify-self: center;


}
.skill-services-container.apps-services{
  display: grid;
  grid-template-rows: 1fr;
}
.services-img {
  max-height: 100px;
  max-width: 190px ;
  width:auto ;
z-index: 4;
}

.service-img-container h5,
.service-img-container p{
  display: grid;
  justify-items: center;
  align-items: center;
text-align: center;
color: var(--clr-primary-1);
width: 80%;
margin: 0 auto;

}

.service-img-container h5{
  margin-bottom: 1rem;
  margin-top: 1rem;
  color: var(--clr-primary-1);
  font-size: 1.3rem;
}


.service-img-container{
  display: grid;
  justify-items: center;
  align-items: center;
  border: 3px groove var(--clr-primary-1);
  padding: 2rem;
  background: transparent;
width: 80%;
}


.skill-service{
  position: absolute;
}


@media screen and (min-width: 676px){
.skill-services-container{
  grid-template-columns: 1fr 1fr;


}
.video-container {
  height: 50vh;
  min-height: 0vh;
    }
} 



/*
=============== 
Services
===============
*/

.services-title{
color: var(--clr-primary-1);
  padding-top: 2rem;
margin-bottom: 0;
background-color: var(--clr-black-10);
}

.services-title .underline{
  margin-bottom: 0;
}



.container-services {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100vw;
  height: auto;
  padding-bottom: 1rem;
  background: black;

 


}
.button-list {
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  
}
.service-btn{
color: var(--clr-primary-1);
border-color: var(--clr-primary-1);
  width: 82vw;
  background: black;
border-style: dotted;
  font-size: 1.5rem;
font-size: 1.8rem;
border-radius: 6px;
padding: 1rem 1rem;
}


.button-list li {
margin-top: 1.5rem;
margin-bottom: 2rem;

}

.text-box {
  display: none;

  width: 100%;
  display: none; /* Initially hide the text box */
  overflow-y: auto; /* Enable vertical scrollbar if content overflows */
  transition: height 0.3s ease; /* Smooth transition for height changes */
  margin-top: 20px;

}




.text-box p {

  padding-top: 1rem;
padding: 1rem 1rem;

}

.text-box.active {
  display: flex;
border-style: dashed;
border-radius: 4px;
border-color: var(--clr-primary-1);
  width: 100%;
  max-width: 70vw;
  display: block;
  height: auto;
  display: grid; /* Use grid layout */
  place-items: center; 
justify-content: center;

}

.button-list li {
  position: relative;
}

.button-list li::after {
  content: "";
  position: absolute;
  top: calc(100% - 1px); /* Adjust position of arrow */
  left: 95%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent; /* Adjust size as needed */
  border-right: 15px solid transparent; /* Adjust size as needed */
  border-top: 15px solid var(--clr-primary-1); /* Adjust size and color as needed */

}


.tour-info {
  position: absolute;
  padding-top: 1.25rem;
  text-align: center;
  max-height: 0;

  transition: max-height 0.3s ease;
}

.tour-info.active {
  position: relative;
  max-height: 2000px; /* Adjust this value to fit your content */
}


#toggleTourInfo1{
  cursor: pointer;
}

/*
=============== 
Blog
===============
*/
.blog {
  background: var(--clr-black-10);
  padding-top: 1rem;
  padding-bottom: 2rem;
}


.blog-frame{
height: 55%;
width: 100%;
}

.back-card-iframe{
  height: 29rem;
  width: 25rem;
}

.card {
  height: 29rem;
width: 25rem;
  position: relative;
  perspective: 1500px;
  max-width: 90vw;
  justify-self: center;

}

.card-side {
  backface-visibility: hidden;
  transition: all 2s linear;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  -webkit-transform: translate3d(0, 0, 0);
  visibility: visible;
}
.card-front {
  background: var(--clr-white);
}

.card-back {
  background: var(--clr-primary-10);
  transform: rotateY(180deg);
  display: grid;
  place-items: center;
}

.card:hover .card-front {
  transform: rotateY(-180deg);
}
.card:hover .card-back {
  transform: rotateY(0);
}

/* rest of the styles */

.card-info {
  padding: 1rem 1.5rem;
}

.card-front img {
  height: 13rem;
  object-fit: cover;
  border-top-right-radius: var(--radius);
  border-top-left-radius: var(--radius);
}
.card-footer {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
}

.card-footer img {
  width: 2rem;
  height: 2rem;
  object-fit: cover;
  border-radius: 50%;
}

.card-footer p {
  margin-bottom: 0;

  text-transform: uppercase;
  justify-content: end;
  color: var(--clr-primary-5);
  font-size: 0.85rem;
}

.blog-center {
  width: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 4rem 1rem;
  min-width: 30vw;
}

@media screen and (min-width: 769px) {
  .blog{
padding-top:2rem;

  }

  .blog-center {
    gap: 6rem;
}


}
/*
=============== 
Footer
===============
*/
.footer {
  padding-bottom: 2rem;
  background: black;
  display: grid;
  place-items: center;
  max-width: 100vw;
  margin-top: 4rem;
}

.footer .social-icons {
  margin-bottom: 2rem;
}
.footer .social-icon {
  color: var(--clr-primary-5);
}
.footer .social-icon:hover {
  color: var(--clr-primary-10);
}

footer p {
  font-size: 1.25rem;
  text-transform: capitalize;
text-align: center;
    color: var(--clr-primary-1);
   
}

.footer-links{
  text-align: center;
}

/*
=============== 
Single Page
===============
*/


.carousel-container {
  position: relative;
  height: 70vh;
  width: 100%; /* Adjust based on preference */
  margin: 0 auto;
  overflow: hidden; /* Hide overflowing content */
}

.carousel {
max-width: 95vw; 
 display: flex;
  gap: 20px; /* Space between items */
  transition: transform 0.5s ease-in-out; /* Smooth sliding */
}

.project {
  flex: 0 0 95vw; /* Each slide takes up 80% of the viewport width */
  height: 80vh;
  overflow: hidden;
}

.iframe-container {
  position: relative;
  overflow: hidden;
}

button.prev,
button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color:transparent;
  color: var(--clr-primary-1);
  border: none;
  padding: 5px;
  cursor: pointer;
  z-index: 10;
  font-size: 2rem;
  font-style: bold;
}

button.prev {
  left: 10px;
  z-index: 300;

}

button.next {
  right: 10px;
}


.page-info {
  max-width: 700px;
}

.page-info a {
  text-transform: uppercase;
  color: var(--clr-primary-5);
  transition: var(--transition);
}

.page-info a:hover {
  color: var(--clr-primary-1);
}




/* +++ FOOTER ++++ */



.input {
  opacity: 1;
}

.email-adress{
  text-transform: lowercase;
}

form {
 display: flex;
  justify-items: center;
  flex-wrap: wrap;
}

.form-control{
  padding: 1rem;
  margin: 0.25rem;
  width: 100%;
  background: none;
  color: white;
  border: none;
  border-bottom:groove;
  border-width: 0.2px;
}

.btn-submit{
  background: black;
  color: var(--clr-primary-1);
  border: 0.3px groove var(--clr-primary-1);
  cursor: pointer;
}

.btn-submit:hover{
  color: black;
  background-color: var(--clr-primary-1);
}

.price-table{
  justify-self: center;
  font-size: 1.2rem;
width: 100%;
  padding: 1rem 0.25rem;
  text-transform: uppercase;
}
.price-table td,th{
  padding: 1rem 0.25rem;

}
.price-table tr:hover{
background: var(--clr-grey-3);
font-weight: 800;
}


@media screen and (min-width: 769px) {

  .price-table{
    width: 200%;
margin: 0 auto;
}

.price-table td,th{
  padding: 1rem 0.25rem;
  text-transform: uppercase;
}
}
