/*@import url('https://fonts.cdnfonts.com/css/kollektif');*/
@import url('https://fonts.cdnfonts.com/css/ibm-plex-sans');
@import url('https://fonts.cdnfonts.com/css/archivo');
@import url('https://fonts.cdnfonts.com/css/acumin-pro');

/* Variables */
:root {
    --c-dark: #545454;
    --c-light-gray: #F9F9F9;
    --c-white: #ffffff;
    --c-brand: #330066;
    --c-brand-light: #02B5C4;
    --c-brand-rgb: 78, 87, 212;
    --c-body: #666666;
    --font-base: "IBM Plex Sans";
    /*--font-titles: "Kollektif";*/
    --font-titles: "Archivo";
    --box-shadow: 0px 15px 25px  rgba(0, 0, 0, 0.08);
    --transition: all 0.5s ease;
}


/* BODY PROPERTIES */
body {
    font-family: var(--font-base);
    line-height: 1.7;
    color: var(--c-body);
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 600;
    font-family: var(--font-titles);
}

a {
    text-decoration: none;
    color: var(--c-brand);
    transition: var(--transition);
}

a:hover {
    color: var(--c-brand-light);
}

img {
    max-width: 100%;
    height: auto;
}

.section-padding {
    padding-top: 60px;
    padding-bottom: 140px;
}

.section-padding-test {
    padding-top: 100px;
    padding-bottom: 140px;
}

.section-title {
    font-weight: 300;
    display: inline-block;
    padding-bottom: 10px;
    position: relative;
}

.section-title:before{
    content: "";
    position: absolute;
    width: 5%;
    height: 1px;
    bottom: 0;
    left: 47.5%;
    text-underline-offset: 22px;
    border-bottom: 2px solid var(--c-brand);;
}


/* LOGO */
.logo {
    height: 60px;
    width: auto;
    margin: 0;
    padding: 0;
}

.logo-footer {
    height: 100px;
    width: auto;
    margin: 0;
    padding: 0;
}

/* NAVIGATION BAR */
/*
    Maybe copy navbar from https://www.etsfactory.com/
*/
.navbar {
    box-shadow: var(--box-shadow);  /* No sé si me gusta */
}

.navbar-nav > li{
    padding-left:20px;  /* controls space between links of navbar */
    padding-right: 20px;
}


.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--c-dark);
}

.navbar-nav .nav-link.active {
    color: var(--c-brand);
}

/* -- navbar animations -- */
.navbar .navbar-nav .nav-link:hover {
    color: var(--c-brand);
}
.navbar .navbar-nav .nav-item {
    position: relative;
}
.navbar .navbar-nav .nav-item::after {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    background-color: var(--c-brand);
    width: 0%;
    content: "";
    height: 2.5px;
    transition: all 0.5s;
}

.navbar .navbar-nav .nav-item:hover::after {
    width: 50%;
}

/* BUTTON */
.btn {
    font-weight: 500;
    font-size: 14px;
    border-radius: 4px;
    padding: 10px 24px;
}

.btn-grad {
    font-weight: 500;
    font-size: 14px;
    border-radius: 4px;
    padding: 10px 24px;

    background-image: linear-gradient(to right, var(--c-brand) 0%, var(--c-brand)  51%, var(--c-brand-light)  100%);
    margin: 1px;
    text-align: center;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    display: block;
}

.btn-grad:hover {
    background-position: right center; /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
}

/* ---- HOME ---- */
#home {
    background-color: var(--c-light-gray);
    color: var(--c-dark);
}

.home-title {
    margin-bottom:40px;
    text-align: left;
    color: var(--c-dark);
    text-decoration: underline;
    text-decoration-color: var(--c-brand-light);
    text-underline-offset: 20px;
    text-decoration-thickness: 2px;
}


#services {
    background-color: var(--c-light-gray);
    color: var(--c-dark);
}

#about {
    /*background: url(../images/fern.png);*/
    margin-top: 50px;
    background-position: center;
    background-size: cover;
}

.bottom-buffer {
    margin-bottom:50px;
}

.top-buffer {
    margin-top:50px;
}

/* ABOUT */
.img-about {
    width: 100px;
    height: 100px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-bottom: 30px;
}


/* SERVICES */
.services-center-col {
    margin-left: 30px;
    margin-right: 30px;
    text-align: left;  /*justify*/
}

.services-title-col {
    margin-bottom:30px;
    text-align: center;
    margin-left: 50px;
    margin-right: 50px;
}

.services-left-col {
    margin-right: 30px;
    text-align: left;
}

.services-right-col {
    margin-left: 30px;
    text-align: left;
}

/* ICONBOX */

.iconbox {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--c-brand);
}

/* ----- FOOTER ----- */
#footer {
    background-color: var(--c-light-gray);
    color: var(--c-dark);
}

#footer h5 {
    margin-bottom: 25px;
}

/* footer lists */
.ful {
    list-style-type: none;
    margin-left: 0;
    padding-left: 0;
    padding-bottom: 5px;
}

footer a {
    text-decoration: none;
    color: var(--c-dark);
    transition: var(--transition);
}

footer a:hover {
    color: var(--c-brand-light);
}

hr.solid {
    border-top: 1px solid var(--c-dark);
  }


.ful li {
    margin-bottom: 5px;
}

/* ----- IMGS ------ */
.section-img {
    filter: drop-shadow(5px 5px 5px var(--c-body));
    display: inline-flex;
    height: 400px;
    width: auto;
}


/* ---- FORM ----*/
input[type='radio'] {
    accent-color: #02B5C4;
}

input[type=checkbox]:checked {
    background-color: #02B5C4 !important;
}

input[type=text]:focus{
    outline: none;
    box-shadow: 0 0 0 2px var(--c-brand-light);
}

input[type=email]:focus{
    outline: none;
    box-shadow: 0 0 0 2px var(--c-brand-light);
}

input[type=tel]:focus{
    outline: none;
    box-shadow: 0 0 0 2px var(--c-brand-light); 
}

textarea:focus {
    outline: none !important;
    box-shadow: 0 0 0 2px var(--c-brand-light) !important;
}

#test {
    size: cover;
    padding-top: 56px;
}

#test h1 h4 {
    color: var(--c-body);
}


/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
    width: 100%;
    height: 40vh;
    overflow: hidden;
    position: relative;
    background: url(../images/hero.jpg) top center;
    background-size: cover;
    background-position: center;
    margin-bottom: -60px;
    margin-top: 60px;
    z-index: 99;
    transition: 0.3s;
  }
  
  #hero:before {
    content: "";
    position: absolute;
    background: url(../images/hero.jpg);
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
  }
  
  #hero .carousel-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
  }
  
  #hero h1 {
    color: var(--c-dark);
    margin-bottom: 30px;
    font-size: 48px;
    font-weight: 700;
  }
  
  #hero p {
    width: 80%;
    animation-delay: 0.4s;
    margin: 0 auto 30px auto;
    color: #fff;
  }
  
  #hero .carousel-control-prev,
  #hero .carousel-control-next {
    width: 10%;
  }
  
  #hero .carousel-control-next-icon,
  #hero .carousel-control-prev-icon {
    background: none;
    font-size: 48px;
    line-height: 1;
    width: auto;
    height: auto;
  }
  
  #hero .btn-get-started {
    font-family: "Raleway", sans-serif;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    transition: 0.5s;
    line-height: 1;
    margin: 10px;
    color: #fff;
    animation-delay: 0.8s;
    border: 2px solid #f6b024;
  }
  
  #hero .btn-get-started:hover {
    background: #f6b024;
    color: #fff;
    text-decoration: none;
  }
  
  @media (min-width: 1024px) {
    #hero p {
      width: 60%;
    }
  
    #hero .carousel-control-prev,
    #hero .carousel-control-next {
      width: 5%;
    }
  }
  
  @media (max-width: 768px),
  (max-height: 700px) {
    #hero {
      height: 120vh;
      padding: 100px 0;
    }
  
    #hero h2 {
      font-size: 28px;
    }
  }



/*--------------------------------------------------------------
Description elements:
- hide when mouse is not on the are
- animation to sho
--------------------------------------------------------------*/
.description {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 15px; /* adjust as needed */
    margin: 0;
}

.col-md-4:hover .description,
.col-md-4.active .description {
    max-height: 500px; /* ensure this value is high enough for your content */
    padding: 15px; /* add padding when expanded if desired */
}


