@font-face {
  font-family: Wotfard;
  src: url(../fonts/wotfard-regular-webfont.woff2);
}
:root {
  --color-ida: #e72166;

  --font: 'Wotfard', sans-serif;
}

/*
  1. Use a more-intuitive box-sizing model.
*/
*, *::before, *::after {
  box-sizing: border-box;
}
/*
  2. Remove default margin
*/
* {
  font-family: var(--font);
  margin: 0;
}
/*
  Typographic tweaks!
  3. Add accessible line-height
  4. Improve text rendering
*/
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
/*
  5. Improve media defaults
*/
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
/*
  6. Remove built-in form typography styles
*/
input, button, textarea, select {
  font: inherit;
}
/*
  7. Avoid text overflows
*/
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}
/*
  8. Create a root stacking context
*/
#root, #__next {
  isolation: isolate;
}

/* Navbar */
.landing__header {
  position: fixed;
  width: 100%;
  z-index: 3;
  background-color: #fff;
  box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
  height: 5rem;
  overflow: hidden;
}
.landing__header nav,
.landing__header ul,
.landing__header__logo {
  height: 100%;
}
.landing__header ul {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: space-evenly;
}
.landing__header ul a {
  text-decoration: none;
  color: var(--color-ida);
  font-weight: bold;
}
.landing__header__logo img{
  height: 100%;
  padding: .5rem 0;
}

/* Redes sociales */
.socialMedia {
  padding-top: 6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.socialMedia i {
  font-size: 1.5rem;
  color: #bbb;
}

.socialMedia i:hover {
  color: #aaa;
}

/* Layout general */
.landing {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
main {
  display: flex;
}
section {
  flex: 1;
}
section:last-child {
  padding: 0 2rem;
  border-left: 2px solid #aaa;
}

/* Carousel de Materias */
.subjects {
  width: 90%;
  margin: auto 2rem;
}
#carouselSubjects {
  margin: auto;
}
.carousel-inner {
  border-radius: 1rem;
}
.carousel-item::after {
  content: "";
  position: absolute;
  margin: auto 0 0 0;
  height: 75%;
  inset: 0;
  background: linear-gradient(to top, #000, transparent);
}
.carousel__Img {
  aspect-ratio: 16/9;
}
.carousel-caption {
  position: absolute;
  z-index: 2;
}
.carousel-indicators {
  display: none;
}

/* Propositos */
.content h1 {
  font-size: 2.5rem;
  font-weight: bold;
}
.content h2{
  font-size: 1.2rem;
}
.content h3 {
  font-size: 2rem;
  margin-top: 2.5rem;
  font-weight: bold;
  color: var(--color-ida);
}
.content i {
  font-size: 3rem;
}

/* Footer */
#footer {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 1rem;
  margin-top: 2rem;
  background-color: #efefef;
}
.footer__Contact {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.footer__Contact a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #000;
  font-size: .85rem;
  font-weight: bold;
}
.footer__Contact a span {
  background-color: #ccc;
  
  display: flex;
  border-radius: 50%;
  padding: .5rem;
}
#footer img {
  height: 12vh;
  width: auto;
}

/* Media Queries */
@media (max-width: 1200px) {
  main {
    flex-direction: column;
    gap: 2rem;
  }
}
@media (max-width: 768px) {
  .subjects {
    width: 100%;
    margin: 1rem auto;
    padding: 0 2rem;
  }
  .carousel-item::after {
    height: 0px;
  }
}
@media (max-width: 480px) {
  #footer {
    flex-direction: column;
    gap: 2rem;
  }
}