/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");
/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;
  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: hsl(220, 68%, 54%);
  --first-color-lighten: hsl(220, 68%, 97%);
  --title-color: hsl(220, 48%, 28%);
  --text-color: hsl(220, 12%, 45%);
  --body-color: hsl(220, 100%, 99%);
  --dark-color: hsl(240, 3.6%, 16.3%);
  --secondary-color: hsl(0, 100%, 98%);
  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Poppins", sans-serif;
  --title-font-size: 2.8rem;
  --large-font-size: 1.8rem;
  --normal-font-size: 1.1rem;
  --small-font-size: .9rem;
  --smaller-font-size: .85rem;
  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;
  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;

  --d: 400ms;
  --e: cubic-bezier(0.19, 1, 0.22, 1);

}
@media screen and (max-width: 1118px) {
  :root {
    --title-font-size: 2.4rem;
    --large-font-size: 1.4rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.95rem;
    --smaller-font-size: 0.85rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

/*=============== HERO ===============*/

.hero__container {
    width: 100%;
    height: 50vh;
    background-image: url(https://images.unsplash.com/photo-1616432043562-3671ea2e5242?q=80&w=1974&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D);
    align-items: center;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-position-y: 55%;
}

.hero__content {
    text-align: center;
}

.hero__title {
    display: flex;
    font-size: var(--title-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--body-color);
    margin-bottom: 0rem;
}

/*=============== SERVICES ===============*/

.services__container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 5rem;
    padding: 5%;

    @media screen and (max-width: 1118px) {
        gap: 3rem;
    }

}


.services__element {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    gap: 5rem;
    padding: 5%;

    @media screen and (max-width: 1118px) {
        align-items: center;
        justify-content: center;
        text-align: center;
        flex-direction: column; 
        gap: 1rem;
    }

}

.services__element__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 60%;
}

.services__element__image {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 40%;

    
    @media screen and (max-width: 1118px) {
        max-width: 100%;
    }

}

.services__element__img {
    width: 100%;
    box-shadow: 0 0 50px 0 rgba(0, 0, 0, 0.333);

    @media screen and (max-width: 1118px) {
        max-width: 80%;
    }
}

.portrait {
    width: 50vh;
    height: 50vh;
}

.services__element__title {
    font-size: var(--title-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--title-color);
    margin-bottom: 3rem;
}

.services__element__description {
    font-size: var(--normal-font-size);
    color: var(--text-color);
    margin-bottom: 1rem;
}

/*=============== Delivery ===============*/

.delivery__container {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4%;
  background-color: var(--title-color);
  margin-bottom: 8%;
}

.delivery__title {
  font-size: var(--title-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--body-color);
    margin-bottom: 2%;
}

.delivery__description {
  font-size: var(--normal-font-size);
  color: var(--secondary-color);
  padding-left: 20%;
  padding-right: 20%;
  margin-bottom: 2%;
}

/* Overrides */
.image__button {
    margin-bottom: 0%;
}

.services__bullet { 
	overflow:hidden;
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
    box-sizing: border-box;
  
  > li{ 
    list-style:none; 
    position:relative; 
    padding:0 0 0 2em;
    margin:0 0 .5em 10px;
    transition:.12s;
    
    &::before{
      position:absolute;
      content:'\2022'; 
      color: var(--text-color);
      top:0;
      left:0;
      text-align:center; 
      font-size:2em; 
      opacity:.5;
      line-height:.75; 
      transition:.5s;
    }
    
    &:hover{
      color: var(--dark-color);
      &::before{
        transform:scale(2); 
        opacity:1; 
        text-shadow:0 0 4px;
        transition:.1s;
      }
    }
  }

  &.services__bullet__style{
    > li{
      &::before{
        content:'';
        width:10px; 
        height:10px;
        background: var(--title-color);
        border-radius:3px;
        line-height:0;
        top:.27em;
        left:5px;
      }
      
      &:hover::before{
        transform:none; 
        border-radius:5px; 
        width:25px; 
        left:-10px;
        background: var(--title-color);
      }
    }
  }
}

.services__bullet__title {
  font-size: var(--large-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  margin-bottom: 2%;
  text-align: center;
  align-items: center;
  justify-content: center;
  display: flex;
    box-sizing: border-box;
}

.services__bullets {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  gap: 4rem;
  box-sizing: border-box;
  flex-direction: row;
  white-space: wrap;
  padding: 0 20%;
  
  @media (max-width: 1118px) {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    max-width: 100%;
    gap: 2rem;
  }
}
