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

html,
body {
  height: 100%;
}

.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #f8fafc;
  max-width: 1440px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0f172a;
  color: #f8fafc;
  padding: 1rem 2rem;

  .logo {
    display: flex;
    align-items: center;
    font-style: italic;
    font-size: 1.5rem;
    font-weight: bold;

    img {
      height: 60px;
      margin-right: 10px;
    }
  }
}

.nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;

  a {
    color: #f8fafc;
    text-decoration: none;
    margin-left: 1.5rem;
    font-size: 0.95rem;

    &:hover {
      text-decoration: underline;
    }
  }
}

.user-info {
  margin: 0;
  font-size: 1rem;
  img{
    height: 35px;
    border-radius: 50%;
  }
}

.site-content {
  flex: 1;
  padding: 2rem;
  text-align: center;

  .content-box {
    img{
      max-width: 100%;
      height: auto;
      margin-top: 1rem;
    }
    display: inline-block;
    text-align: left;
  }

  .description {
    font-size: 1.2rem;
    color: #333;
    margin-top: 0.75rem;
  }
}

/* Main image (hero) */
.hero-img {
    position: relative;
    background-image: url('../assets/images/todo-home-img-clean.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    max-width: 430px;
    height: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem auto;
}

/* End main image (Hero) */

/* Image center inherit */
.img-center-inherit {
    position: inherit;
    background-position: center;
    background-repeat: no-repeat;
    max-width: 300px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1.5rem auto;
    gap: 20px;
}

/* End image center inherit */

/* Image right inherit */
.img-right-inherit {
    position: inherit;
    background-position: center;
    background-repeat: no-repeat;
    max-width: 300px;
    display: flex;
    float: right;
    align-items: center;
    justify-content: space-between;
    margin: 1.5rem auto;
    gap: 20px;
}

/* End image right inherit */

/* Button style */
.btn-main {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #4338CA;
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    font-family: inherit;
    font-size: 42px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

    .btn-main:hover {
        background-color: #7268F0;
    }
    /*
    .btn-main:active {
        transform: scale(0.98);
    }*/

.btn-icon {
    display: block;
    flex-shrink: 0;
    fill: currentColor; /* It works only if the path d="" is set with vectors code*/
}
/* end button style */

/* Button style violet */
.btn-violet {
    position: relative;
    /*top: 25%;
    left: 50%;
    transform: translateX(-50%); */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 10px;
    background-color: #4338CA;
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    font-family: inherit;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid #000000;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

    .btn-violet:hover {
        background-color: #7268F0;
    }
/* end button style violet */

/* Button style grey */
.btn-grey {
    position: relative;
    /*top: 25%;
    left: 50%;
    transform: translateX(-50%); */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 10px;
    background-color: #E5E7EB;
    color: #111827;
    border: none;
    border-radius: 10px;
    font-family: inherit;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid #000000;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

    .btn-grey:hover {
        background-color: #D7E5FF;
    }
/* end button style grey */

/* Button style red */
.btn-red {
    position: relative;
    /*top: 25%;
    left: 50%;
    transform: translateX(-50%); */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 10px;
    background-color: #C53030;
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    font-family: inherit;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid #000000;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

    .btn-red:hover {
        background-color: #DD3232;
    }

/* end button style red */

/* DIV mid-left 600px */
.div-mid-left-600px {
    position: relative;
    top: 25%;
    display: inline-block;
    /*border: 2px solid #000000;
    border-radius: 10px;*/
    max-width: 600px;
    text-align: left;
    padding: 1rem;
    margin: 1rem 0;
}
/* End DIV mid-left 600px */

/* DIV mid-left 300px */
.div-mid-left-300px {
    position: relative;
    top: 25%;
    display: inline-block;
    /*border: 2px solid #000000;
    border-radius: 10px;*/
    max-width: 300px;
    text-align: left;
    padding: 1rem;
    margin: 1rem 0;
}
/* End DIV mid-left 300px*/

/* DIV only border */
.div-only-border {
    display: inline-block;
    border: 2px solid #000000;
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem 0;
}
/* END DIV only border */

/* DIV with and border and center */
.div-border {
    position: relative;
    /*top: 25%;
    left: 50%;
    transform: translateX(-50%); */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #000000;
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem 0;
}
/* End DIV with border */

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0f172a;
  color: #f8fafc;
  padding: 1rem 2rem;
  font-size: 0.9rem;

  a {
    color: #ffffff;
    text-decoration: none;

    &:hover {
      text-decoration: underline;
    }
  }

  .footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    font-style: italic;

    img {
      height: 40px;
      margin-right: 10px;
    }
  }
    
  .footer-links {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 10px;
  }
}
