body {
  font-family: "VT323", monospace;
  background: #f1f1f1;
}
         /* This is the top bar, the goal behind this is to have it so they click a text and it takes them to a certain part of the page */
/* Add a black background color to the top navigation */
.topnav {
  display: flex;
  flex-direction: row;
  background-color: #aef8ae;
  overflow: hidden;
}
/* PROB this looks bad bsc the logo is barely visable i need to update it */
#Logo1 {
  width: 2em;
  height: 2em;
}
/* Style the links inside the navigation bar, PROB the gray area is way to big i need to make it smaller */
.topnav a {
  float: left;
  color: black;
  text-align: center;
  padding: 14px 275px;
  text-decoration: none;
  font-size: 17px;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: darkgray;
  color: lime;
}
.barrier {
  background-color: darkgray;
  width: 100%;
  height: 1.5em;
  border-radius: .3em;
  border: none;
}

/* this is gonna be section 1*/
#Logo2 {
  width: 30em;
  height: 30em;
}
.container1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(#aef8ae, 50%, #f4f4f4);
  padding: 15em 15em;
  border: none;
}

#P-bt:hover {
  transform: translateY(-5px);
}
#P-bt {
  display: flex;
  border-radius: .5em;
  background-color: #c1ff72;
  color: white;
  padding: .5em;
  font-size: 2em;
  cursor: pointer;
}

/* this is sec 2*/
.container2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  padding: 1em 1em;
  border: none;
}
#aboutme {
  font-size: 7em;
  letter-spacing: .3em;
}
.text_round {
  font-size: 1.5em;
  align-items: center;
  justify-content: center;
  display: flex;
  border: 4px dashed #aef8ae;
  border-radius: 3em;
  padding: 2em;
  width: 700px
}
/* Section 3 */

/* carosoul */
ul {
  width: 1280px;
  height: 720px;
  padding: 20px;
  display: flex;
  gap: 4vw;
}
li {
  list-style-type: none ;
  background: #aef8ae;
  border: 0px solid crimson;
  padding: 20px;

  flex: 0 0 100%;
}

li:nth-child(even) {
  background: #ecf1f3;
}
ul{
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
}

li {
  scroll-snap-align: center;
}


/* buttons on the carousel, i did follow a tutorial so alot of this is mostly theory for me */


ul::scroll-button(*) {
  border: 0;
  font-size: 2rem;
  background: none;
  color: rgb(0 0 0 / 0.7);
  cursor: pointer;
}
ul::scroll-button(*):hover,
ul::scroll-button(*):focus {
  color: rgb(0 0 0 / 1);
}

ul::scroll-button(*):active {
  translate: 1px 1px;
}

ul::scroll-button(*):disabled {
  color: rgb(0 0 0 / 0.2);
  cursor: unset;
}

ul::scroll-button(left) {
  content: "<";
}

ul::scroll-button(right) {
  content: ">";
}

ul {
  anchor-name: --myCarousel;
}

ul::scroll-button(*) {
  position: absolute;
  position-anchor: --myCarousel;
}

ul::scroll-button(left) {
  right: calc(anchor(left) - 70px);
  bottom: calc(anchor(top) + 13px);
}

ul::scroll-button(right) {
  left: calc(anchor(right) - 70px);
  bottom: calc(anchor(top) + 13px);
}
ul {
  scroll-marker-group: after;
}
ul::scroll-marker-group {
  position: absolute;
  position-anchor: --myCarousel;
  top: calc(anchor(bottom) - 70px);
  justify-self: anchor-center;

  display: flex;
  justify-content: center;
  gap: 20px;
}
li::scroll-marker {
  content: "";
  width: 16px;
  height: 16px;
  background-color: transparent;
  border: 2px solid black;
  border-radius: 50%;
}
li::scroll-marker:target-current {
  background-color: black;
}

/* this is gonna be section 4 */


#contacts-wrapper {
  background-color: #aef8ae;
  border-radius: 30px;
  padding: 4em;
  max-width: 1000px;
  margin: auto;
  text-align: center;
  font-family: "Arial", sans-serif;
}

.section-description {
  color: #333;
  font-size: 1.2em;
  margin-bottom: 2em;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.contacts-grid {
  display: flex;
  justify-content: space-between;
  gap: 2em;
  flex-wrap: wrap;
}

.contact-card {
  flex: 1;
  min-width: 250px;
  background-color: #ffffff;
  border-radius: 15px;
  padding: 2em;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
}

.icon {
  width: 40px;
  margin-bottom: 1em;
}

.contact-card h3 {
  font-size: 1.4em;
  margin-bottom: 0.5em;
}

.contact-card p {
  font-size: 1em;
  color: #555;
}

.contact-card a {
  display: inline-block;
  margin-top: 1em;
  color: #0066cc;
  text-decoration: none;
  font-weight: bold;
}

.contact-card a:hover {
  text-decoration: underline;
}


#R-bt {
  display: flex;
  border-radius: .5em;
  background-color: #c1ff72;
  color: white;
  padding: .5em;
  font-size: 2em;
  cursor: pointer;
}
#R-container {
  display: grid;
  grid-auto-rows: auto;
  justify-items: center;
  text-align: center;
}

/* this is a micro libary that manages the transition animations */


.invs {
  position: relative;
  z-index: 1;
  pointer-events: none;
}
.hidden {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}
.show {
  opacity: 1;
  transform: translateY(0);
  z-index: -1;
  position: relative;

}
