* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
    /* background: #f2f2f2; */
    font-family: "Inter", sans-serif;
}

main {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 80%;
  height: 100vh;
  overflow: hidden;
}

.footer {
  position: absolute;
  bottom: 10px;
  left: 40px;
  font-size: 12px;
  color: #939393;
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 5% 0;
}

.content .logo {
    width: 140px;
}

.content h3 {
    font-size: 48px;
    font-weight: bold;
    color: #0A2238;
}
.content h3.subtitle {
    color: #646464;
}

.content h4 {
    font-size: 18px;
    font-weight: bold;
    color: #646464;
}
.content h4.email {
    color: #0A2238;
}

.container {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 35px;
}

@keyframes slide-top-bottom {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes slide-bottom-top {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-100%);
  }
}

.carousel {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

/* 
.carousel:hover .carousel-slide {
  animation-play-state: paused;
} */

.carousel-slide {
  display: flex;
  flex-direction: column;
}

.carousel-slide-left {
  animation: 40s slide-top-bottom infinite linear;
}

.carousel-slide-right {
  animation: 35s slide-bottom-top infinite linear;
}

.carousel-slide img {
  height: 550px;
  width: 330px;
  margin: 30px 0px;
  border-radius: 15px;
}

/* Writting */

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes delete {
    from { width: 100%; }
    to { width: 0; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: black; }
}

.typewriter {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 0.15em solid black;
    animation: blink-caret 0.75s step-end infinite;
}

@media screen and (max-width: 1500px) {
    .content h3 {
        font-size: 36px;
    }

    .carousel-slide img {
        height: 400px;
        width: 230px;
        margin: 20px 0px;
    }
}

@media screen and (max-width: 1100px) {
    .content h3 {
        font-size: 32px;
    }

    .carousel-slide img {
        height: 340px;
        width: 200px;
        margin: 20px 0px;
    }
}

@media screen and (max-width: 576px) {
    .content {
        margin: 25% 0;
    }

    .content h3 {
        font-size: 26px;
    }

    .container {
        display: none;
    }
}