
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400;500;600;700&display=swap');


body,
* {
  font-family: 'Josefin Sans', sans-serif;
  color: #666;
  margin: 0;
  overflow-x: hidden;
}

*, html {
  scroll-behavior: smooth;
}

body {
  background: #f5f5f5;
  background-image: radial-gradient(black 1px, transparent 0);
  background-size: 40px 40px;
  background-position: -19px -19px;
}

#header {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  text-align: center;
  margin-bottom: 20px;
  color: rgb(59, 59, 59);
  font-size: 1.5rem;
  z-index: 100;
}

#header h1 {
  font-size: 4rem;
}

#header h3 {
  margin: 10px 0;
}

#section2 {
  position: absolute;
  top: 100vh;
  width: 100vw;
  height: 100%;
  background-color: #f5f5f5;
}

#section3 {
  position: absolute;
  top: 200vh;
  width: 100vw;
  height: 100%;
  font-size: 1rem;
  text-align: center;
  background: #f5f5f5;
  background-image: radial-gradient(black 1px, transparent 0);
  background-size: 40px 40px;
  background-position: -19px -19px;
}

#section3 h1 {
  font-size: 2rem;
  margin-top: 50px;
}

#section3-text {
  padding: 30px;
  width: 95%;
  font-size: 1rem;
  margin-top: 50px;
  text-align: justify;
  width: 60%;
  font-size: 1.1rem;
  margin-left: calc(20% - 20px);
  background-color: #f5f5f5;
  border-style: dashed;
  border-color: #999;
  border-radius: 20px;
}

#carousel {
    position: relative;
    float: right;
    display: flex;
    gap: 1rem;
    flex-direction: row;
    width: 60%;
    margin: 10% 50px 10% 0;
    height: 60%;
    text-align: center;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
}

#carousel .pile {
    /*border: 1px solid black;*/
    flex-shrink: 0;
    width: 300px;
    text-decoration: none;
    color: black;
    transition: 0.5s;
    font-size: 1.5rem;
}

.pile:hover {
    transform: scale(1.02);
}

#carousel::-webkit-scrollbar {
  height: 10px;
}

#carousel::-webkit-scrollbar-track {
  background-color: #e4e4e4;
  border-radius: 100px;
}

#carousel::-webkit-scrollbar-thumb {
  background-color: #7681b3;
  border-radius: 100px;
}


.card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: 10px;
    margin-bottom: 5px;
    margin-left: 10px;
    box-shadow: 5px 5px 12px rgb(137, 137, 137);
    border-radius: 10px;
    width: 90%;
    height: 90%;
    background: #f5f5f5;
    background-image: radial-gradient(#7681b3 1px, transparent 0);
    background-size: 20px 20px;
    background-position: -8px -8px;
}

.about, .about:visited {
  font-size: 20px;
  display: inline-block;
  background-color: #7681b3;
  color: #f5f5f5;
  text-decoration: none;
  padding: 0.5rem;
  margin: 1rem;
  width: 150px;
  border-radius: 30px;
}

.about:hover {
  background-color: #66709c;
  color: #f5f5f5;
}

.about:active {
  background-color: #505674;
  color: #f5f5f5;
}

.icon {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    text-align: center;
    font-size: 3rem;
    background: none;
    color: rgb(59, 59, 59);
    transition: 0.5s;
    animation: bob 1s infinite;
}

.icon:hover {
  animation: none;
}

@keyframes bob {
  0% {
    bottom: 50px;
  }
  50% {
    bottom: 55px;
  }
  100% {
    bottom: 50px;
  }
}


.icon2 {
  position: absolute;
  bottom: 140px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  text-align: center;
  font-size: 2rem;
  background: none;
  color: rgb(59, 59, 59);
}

.icon3 {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  text-align: center;
  font-size: 3rem;
  background: none;
  color: rgb(59, 59, 59);
}