@import url('https://fonts.googleapis.com/css2?family=DynaPuff:wght@400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jura:wght@300..700&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap");



header, footer {
  background-color: #393F4A;
}

p {
  font-family: "Jura", system-ui;
  color: white;
  padding: 0.5vw;
}

strong {
  padding-right: 1em;
}

.brand {
  color: white;
  font-size: 1.1vw;
}
.badge {
  background-color: red;
  color: white;
  padding: 4px 8px;
  text-align: center;
  border-radius: 5px;
}

.card {
  border: 1px solid #f5f3f4;
  border-radius: 5px;
  width: 15%;
  margin: 2vw;
}
.cardIcon {
  justify-self: center;
  align-self: center;
}
.card-title {
  font-family: "Jura", system-ui;
  font-size: 1vw;
}
.card-text {
  font-size: 0.7vw;
  color: #393F4A;
}
.connectIcon {
  width: 1.7rem;
  margin-left: 1em;
  transition: all 0.2s ease-in-out;
  border-radius: 50%;
}
.connectIcon:hover {
  color: #D27D2D;
  box-shadow: 0 0 10px;
}
.connectText {
  font-size: 0.7vw;
}

.categoryName {
  color: #393F4A;
  font-family: "DynaPuff", system-ui;
  font-size: 0.8vw;
}


.flex-container {
  display: flex;
  justify-content: space-around;
  height: 100%;
  padding: 15px;
  gap: 5px;
}

.flex-container > div {
  border-radius: 5px;
  padding: 8px;
}

.latestTitle {
  color: white;
  font-family: "Jura", system-ui;
  font-size: 1.5vw;
}

.latestImgHeight {
  width: 60%;
  border-radius: 10px;
}

.latestImgWidth {
  height: 5%;
  border-radius: 10px;
}

.main {
  padding: 2vw;
  padding-top: 4vw;
  padding-bottom: 4vw;
}






.navLink {
  font-weight: bold;
  font-size: 0.6vw;
}

.navLink:hover {
  text-decoration: underline 3px #D27D2D;
}

.nav-menu-item {
  color: white;
}

.navmenu {
  gap: 10px;
  margin-left: 15vw;
}

.navIcon {
  width: 8vw;
  border-radius: 50%;
  transition: all 0.2s ease-in-out;
}

.navIcon:hover {
  color: #D27D2D;
  box-shadow: 0 0 50px;
}


.profilHalfImg {
  width: 12vw;
  padding-right: 1vw;
}

.profilName {
  font-size: 2vw;
  padding: 0;
  padding-left: 0.5vw;
  margin: 0;
}

.profilTitle {
  font-size: 1vw;
  padding-top: 0;
  font-weight: bold;
}

.profilInfo {
  font-size: 0.8vw;
  padding-top: 0.5vw;
}

.photo {
  border-radius: 30px 30px 0px 0px;
}

.recipeImg, .photoImg, .diyModalImg {
  width: 40%;
  border-radius: 10px 10px 0px 0px;
}

.recipeModalImg {
  width: 10%;
  border-radius: 10px;
}

.recipeList, .photoList, .diyList {
  margin: 2vw;
}

.timelineTitle {
  text-align: center;
  color: #393F4A;
  font-size: 1.5vw;
  padding-top: 3vw;
  margin: 0;
  font-family: "Jura", system-ui;
  font-weight: bold;
}
#timeline {
  display: flex;
      background: linear-gradient(to top, #393F4A 1%,#ffffff 70%);


  &:hover {
    .tl-item {
      width: 23.3333%;
    }
  }
}

.tl-item {
  transform: translate3d(0, 0, 0);
  position: relative;
  width: 20%;
  height: 40vh;
  color: #fff;
  overflow: hidden;
  transition: width 0.5s ease;
  
  &:before, &:after {
    transform: translate3d(0, 0, 0);
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 100%;
  }

  &:after {
    background: transparentize(white, 0.15);
    opacity: 1;
    transition: opacity 0.5s ease;
  }

  &:before {
    background: linear-gradient(to bottom, #ffffff 1%,#ffffff 100%);
    z-index: 1;
    opacity: 0;
    transform: translate3d(0, 0, 0) translateY(100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  &:hover {
    width: 30% !important;
    
    &:after {
      opacity: 0;
    }

    &:before {
      opacity: 1;
      transform: translate3d(0, 0, 0) translateY(0);
      transition: opacity 1s ease, transform 1s ease 0.25s;
    }
    
    .tl-content {
      opacity: 1;
      transform: translateY(0);
      transition: all 0.75s ease 0.5s;
    }

    .tl-bg {
      filter: grayscale(0);
    }
  }
}

.tl-content {
  transform: translate3d(0, 0, 0) translateY(25px);
  position: relative;
  z-index: 1;
  text-align: center;
  margin: 1vw;
  top: 25%;
  opacity: 0;
  
  h1 {
    font-family: "Jura", system-ui;
    text-transform: uppercase;
    color: #393F4A;
    font-size: 1.3vw;
    font-weight: bold;
    border-bottom: #D27D2D 2px solid;
  }
  p{
    color: #393F4A;
    font-size: 0.8vw;
    font-weight: bold;

  }
}

.tl-year {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  z-index: 1;
  background-color: #393F4A;
  width: 100%;
  text-align: center  ;
  
  p {
    font-family: "Jura", system-ui;
    font-weight: bold;
    font-size: 1.5vw;
    line-height: 0;
    margin : 0;
    color: white;
    padding : 1.5vw;
  }
}

.tl-bg {
  transform: translate3d(0, 0, 0);
  position: absolute;
  width: 100%; height: 100%;
  top: 0; left: 0;
  background-size: cover;
  background-position: center center;
  transition: filter 0.5s ease;
  filter: grayscale(100%);
}


.welcomeHeader {
  font-family: "DynaPuff", system-ui;
  margin-bottom: 0;
  padding-bottom: 0;
  padding-top: 0;
  font-weight:bold; 
  font-size : 3vw;
}
.welcomeText {
  font-family: "Jura", system-ui;
  margin-bottom: 0;
  padding-bottom: 0;
  padding-top: 0;
  font-size : 1vw;
}





