@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,400;0,600;0,700;1,300;1,400;1,600&display=swap');

:root {
    --primary-color: #e48205;
    --secondary-color: #080808;
    --primary-color-light: #e4830524;
    --primary-color-super-light: #e4830514;
    --primary-color-mid-light: #e483058a;
    --primary-color-dark: #241501;
    --primary-color-mid-dark: #392000;
    --dark-grey: #222222;

  }

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
html{
    font-size: 11pt;
    font-family: 'Source Sans 3', sans-serif;
    scroll-behavior: smooth;
}

a{
    text-decoration: none;
}

.orange{
    color:var(--primary-color);
}

.white{
    color:white;
}

.italic{
    font-style: italic;
}

.container{
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
}

.cta{
    display: inline-block;
    font-weight: 600;
    padding: 10px 20px;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: .1rem;
    transition: all .3s ease;
    transition-property: background-color color;
    border-radius: 15px;
    text-align: center;
}

.cta:hover{
    color: white;
    background-color: var(--primary-color);
}


.cta-inv, .cta-inv-black{
    font-weight: 600;
    padding: 10px 20px;
    color: white;
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: .1rem;
    transition:.3s ease;
    border-radius: 15px;
    text-align: center;
    min-height: 40px;
    margin: auto;
}

.cta-inv:hover, .cta-inv-black:hover{
    color: var(--primary-color);
    background-color: white;
    border: 2px solid var(--primary-color);
}


.cta-inv-black{
    margin-top: 30px;
}
.cta-inv-black:hover{
background-color: var(--dark-grey);}

.font-400{
    font-weight: 400;
}

.font-600{
    font-weight: 600;
}

.font-700{
    font-weight: 700;
}

h2{
    font-style: italic;
    display: inline-block;
    font-weight: 500;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
}

.underlined{
    border-bottom: 2px solid var(--primary-color);
}


/* .orange-bg{
    background-color: var(--primary-color);
    color: white;
    padding: 7px 15px 7px 15px;
    padding-left: 15px;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 5px 13px 10px -15px rgb(101, 101, 101);

} */

/* Header */
/* ---------------------------------------------------------------------------- */

header{
    display: flex;
    width:100%;   
    position: fixed;
    top:0;
    z-index: 3;
}


.right-header{
    display: block;
    justify-content: end;
    min-width: 100px;
    align-items: center;
}

.header-container{
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 1em 3em;
    width:100%;   
    margin: auto;
    position: relative;
    background-color: white;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0px 13px 10px -15px #e0e0e0;
    
}

.nav-container{
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--primary-color);
    height: 0;
    overflow: hidden;
    box-shadow: none;
    width: 45%;
    margin: auto;
}

.showNavContainer{
    height: auto;
    box-shadow: 5px 13px 10px -15px rgb(101, 101, 101);

}

.nav-link-container{
    display: flex;
    flex-direction: column;
    padding-left: 1em;
    border: 1px solid white;
}

.nav-link-container a{
    margin-bottom: 1.1em;
    font-weight: 600;
}

.nav-link{
    color: white;
    transition: all .2s ease;
    margin-top: 10px;
}

.active-link{
    color: var(--primary-color);
}

.nav-link:hover{
    color: black;
}
#contact-header{
    display: none;
    width: 0;
}

.logo-img img{
    max-width:175px;
    display: block;
}

@media screen and (min-width:1024px) {
    .menu{
        display:none;
        }
    .nav-container{
        position: relative;
        top: 0;
        display: flex;
        align-content: end;
        align-items: stretch;
        justify-content: center;
        background-color: transparent;
        border-bottom: none;
        width: 100%;
        height: auto;
    }
    .nav-link-container{
        flex-direction: row;
    }
    .nav-link{
        color: var(--secondary-color);
        padding:0 20px
    }
    .nav-link-container a{
        margin-bottom: 0;
        font-weight: 600;
    }
    #contact-header{
        display: block;
        width:auto;
    }
    .right-header{
        min-width: 200px;
    }
    .nav-link:hover{
        color: var(--primary-color);
    }

}

.menu{
    color: var(--primary-color);
    font-size: 1.4rem;
    cursor: pointer;
    margin-left: 2rem;
}

section {
    width: 85%;
    min-height: 100vh;
    margin: auto;
    padding-top: 120px;
    padding-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 1em;
    overflow: hidden;
}

/* Hero Section */
/* ---------------------------------------------------------------------------- */

.hero-container{
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#hero h1{
    display: block;
    width: 100%;
    position: relative;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 7px;
    z-index: 1;
}

#hero .white-bg{
    background-color: rgba(255, 255, 255, 0.97);
    box-shadow: 11px 11px 10px -10px #6f6f6f;
    padding:5px;
    margin-left: 15px;
    margin-right: 15px;
    line-height: 210%;
    z-index: 3;
}

.container-bgimg{
    background-image: url("img/vizcachart_hero_page_diagram_phone.webp");
    background-repeat: no-repeat;
    background-position: top;
    background-size: 100%;
    width: 100%;
    min-height: 188px;
    max-width: 1000px;
    margin: auto;

}
.top-margin-50{
    margin-top: 50px;
}
.quote{
    font-style: italic;
    text-align: right;
    font-weight: 100;
    font-size: 14pt;
    width: 100%;
    max-width: 850px;
    margin: auto;
    padding-top: 30px;
}

#hero ul{
    line-height: 2em;
    list-style-type: none;
    padding-left: 20px;
}

.abstract{
    display: block;
    width: fit-content;
    max-width: 650px;
    margin: auto;
}

#hero ul li{
    text-indent: -0.8em;
    line-height: normal;
    margin-bottom: 1.2rem;
    margin-left: 0.3em;

}
.right-double > img {
    object-fit:contain;
    width: 100%;
  }


  @media screen and (min-width:1024px) {
    #hero h1{
        font-size: 1.8rem;
    }
    
    :root {
        font-size: 12pt;
    
      }
      .container-bgimg{
        min-height: 250px;
        background-image: url("img/vizcachart_hero_page_diagram_small.jpg");


    }
}


/* Tarifs section */
/* ---------------------------------------------------------------------------- */

.bg-color-100{
    background-color: var(--primary-color);
    width: 100%;
}

#tarifs {
    align-content: start;
    justify-content: center;
    align-items: center;
}

#tarifs .white-bg, #experience .white-bg{
    background-color: rgba(255, 255, 255, 0.97);
    box-shadow: 11px 11px 10px -10px #6f6f6f;
    padding:5px 15px;
    margin-left: 15px;
    margin-right: 15px;
    line-height: 210%;
    display: block;
    height: fit-content;
    width: fit-content;
}

.card-container{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    align-items: start;
    margin-top: 40px;
}
.card{
    background-color: white;
    width:100%;
    margin: 10px;
    margin-top: 25px;
    counter-increment: section;
    border-radius: 15px;
    padding: 15px;
    max-width: 500px;
    &:before {
        display: block;
        content: counter(section);
        position: relative;
        height: 2rem;
        width:2rem;
        border-radius: 50%;
        padding: 8px;
        background-color: var(--primary-color);
        border: 3px solid white;
        text-align: center;
        color:white;
        font-size: 1.5em;
        font-weight: 700;
        top:-40px;
        margin-bottom: -15px;
        left:43%;
      }
}

#tarifs h2{
    display: block;
    font-size: 1.4em;
    font-weight: 700;
    font-style: normal;
    margin: 0;
    text-align: center;
    color: var(--primary-color);
}
#tarifs p{
    display: block;
    text-align: center;
    font-style: italic;
}

#tarifs table{
    border-collapse: collapse;
    width: 100%;
    margin-top: 20px;
}

#tarifs table td{
    padding:15px;
}

table tr:nth-child(odd) td{
    background-color: var(--primary-color-light);
}
table tr:nth-child(even) td{
    background-color: white;

}
.icon-table{
    font-size:1.6rem;
    text-align: center;
    vertical-align: middle;
}

.price-box{
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    margin: auto;
    padding: 10px;
    border-bottom-left-radius: 15px ;
    border-bottom-right-radius: 15px ;
}

.price-text{
    font-size: 1.4rem;
    font-weight: 700;
}

.td-radius{
    border-radius: 15px;
    background-color: var(--primary-color);
}
.footnotes{
    color:white;
    font-weight: 100;
    margin: auto;
    padding:0 20px;
    font-size: 0.9rem;
}

.lefttext{
    text-align: left;
}


@media screen and (min-width:1024px) {
    .card-container{
        align-content: start;
        justify-content:space-around;
        gap:1rem;
        flex-wrap: nowrap;
        flex-direction: row;
    }
    .card{
        height: fit-content;
    }
}


/* Collaboration section */
/* ---------------------------------------------------------------------------- */

#collaboration {
    align-content: start;
    justify-content: start;
    padding: 50px;
    gap: 0;
    padding-top:110px;
    max-width: 800px;
}
#collaboration h1{
    margin-bottom: 15px;
}

#collaboration div {
    font-size: 1em;
    line-height: 1.75em;
    border-top: 3px solid;
    border-image: linear-gradient(to right, var(--primary-color) 30%, var(--primary-color-mid-light) 100%);
    border-image-slice: 1;
    border-width: 2px;
    margin: 0;
    padding: 25px;
    counter-increment: section;
    position: relative;
    color: black;
    width: 100%;

    &:before {
      content: counter(section);
      position: absolute;
      border-radius: 50%;
      padding: 8px;
      height: 1.2em;
      width: 1.2em;
      background-color: var(--primary-color);
      text-align: center;
      line-height: 1.25em;
      color: white;
      font-size: 1.1em;
      font-weight: 700;
      top:20px
    }
  }

  #collaboration div:nth-child(odd) {
    border-right: 2px solid;
    padding-right: 30px;
    text-align:end;
    &:before {
      left: 100%; 
      margin-left: -18px;
    }
  }

  #collaboration div:nth-child(even) {
    border-left: 2px solid;
    padding-left: 30px;

    &:before {
      right: 100%; 
      margin-right: -18px;
    }
  }

  #collaboration div:first-child {
    border-top: 0;
    border-top-right-radius:0;
    border-top-left-radius:0;
    
  }
  #collaboration div:last-child {
    border-bottom-right-radius:0;
    border-bottom-left-radius:0;
  }

#collaboration h2{
    font-size: 1.1em;
    font-weight: 700;
    color: black;
    margin: 0;
    padding: 0;
    font-style: normal;
}

#collaboration ul, #experience ul{
    line-height: 1em;
    list-style-type: none;
    padding-left: 0.3rem;
    margin-top: 5px;
    margin-left: 1.5em;
}

#collaboration ul li, #experience ul li{
    text-indent: -0.8em;
    line-height: normal;
}

.bg-orange-light{
    background-color: var(--primary-color-super-light);
}

.small-brown{
    display: block;
    font-size: 0.7rem;
    color: var(--primary-color-mid-dark);
    text-align: right;
    font-style: italic;
    margin-top: 15px;
    margin-bottom:-10px;
}

/* Experience section */
/* ---------------------------------------------------------------------------- */

#experience {
    align-content: center;
    justify-content: start;
}

.who-container{
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: white;
    margin-top: 120px;
    border-radius: 15px;
    padding-bottom: 25px ;
    max-width: 650px;
}
.round-img{
    border-radius: 50%;
}
.small-img{
    width:150px;
}
.center-img{
    margin:auto
}
#experience{
    gap: 0;
}
.over-top-img{
    margin-top:-75px;
}
.white-border-img{
    border: 5px solid white;
}

#experience h2{
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    font-style: normal;
    text-align: center;
    margin: 20px 0px 0px 0px;
    color: var(--primary-color);
}
#experience p{
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 15px;
}
.cv-part{
    padding-bottom: 25px;
}

#experience h3{
    font-style: italic;
    display: inline-block;
    font-weight: 500;
    font-size: 1.2rem;
    padding: 25px;
}

#experience table{
    border-collapse: collapse;
    width: 85%;
    margin: auto;
}

#experience table td{
    padding:15px;
}

#experience td{
    font-size: 1rem;
    vertical-align: top;
}

#experience ul {
    padding-left: 35px;
    padding-right: 35px;
    margin-top: 0px;
}
#experience li {
    margin-bottom:15px;
}
.logo-container{
    width:100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    padding-top: 20px;
}
.logo-cv{
    height:40px;
    margin-top: 10px;
}
.logo-cv-sci{
    height:55px;
}


/* Portfolio section */
/* ---------------------------------------------------------------------------- */

#portfolio {
    justify-content: center;
    width: 85%;
    align-items: flex-start;
    gap: 0;
}


#portfolio h1{
    color: white;
    margin-bottom: 20px;
}

#portfolio h2{
    display: block;
    width: 100%;
    font-weight: 600;
    font-style: normal;
    font-size: 1.2rem;
    border-bottom: 2px solid var(--primary-color);
}
.fig-container{
    display: block;
    width: 100%;
    border-radius: 15px;
    padding: 20px;
    background-color: white;
    margin-bottom: 40px;


}
.fig-description{
    display: block;
    width:fit-content;
    border-radius: 15px;
    float: right;
    padding: 12px;
    background-color: var(--primary-color-light);
    margin-bottom: 25px;
    margin-top: 0px;
    font-size: 0.9rem;
}

.img-100{
    width: 100%;
    max-width: 650px;
    margin: auto;
    display: block;
}

.legend{
    font-style: italic;
    font-size: 0.9rem;
    padding-top: 10px;
    text-align: center;
}
.portfolio-container{
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: flex-start;
}
.bg-color-80{
    background-color: var(--dark-grey);
    width: 100%;
}

@media screen and (min-width:1024px) {
    .fig-container{
        display: block;
        width: 48%;
        margin-bottom: 0px;
    }
    .portfolio-container {
        justify-content: center;
        flex-wrap: wrap;
        flex-direction: row;
        gap: 1.5em;
    }
       
}

@media screen and (min-width:1700px) {
    .fig-container{
        display: block;
        width: 31%;
    }
    .portfolio-container {
        justify-content: center;
        align-items: start;
        flex-wrap: wrap;
        flex-direction: row;
        gap: 1.5em;
    }
       
}


/* Footer */
/* ---------------------------------------------------------------------------- */

footer{
    background-color: white;
    width: 85%;
    min-height: 80vh;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-between;
    margin: auto;
    margin-top: 120px;
    margin-bottom: 20px;
    color: black;
}

footer h1{
    margin-bottom: 25px;
}
footer textarea{
    font-family: "Source Sans 3";
    resize: both;
}
  .contact-form-mb-5 {
    margin-bottom: 20px;
  }

  .contact-form-form-wrapper {
    margin: 0 auto;
    max-width: 550px;
    width: 100%;
    background: white;
  }
  .contact-form-form-label {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 12px;
  }

  .contact-form-form-input {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #c4c4c4;
    background: white;
    font-weight: 500;
    font-size: 0.9rem;
    color:var(--dark-grey);
    outline: none;
    resize: none;
  }
  .contact-form-form-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.05);
  }

  .contact-form-btn {
    text-align: center;
    font-size: 16px;
    border-radius: 6px;
    padding: 14px 32px;
    border: none;
    font-weight: 600;
    background-color:var(--primary-color);
    color: white;
    cursor: pointer;
  }
  .contact-form-btn:hover {
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.05);
    background-color:white;
    color: var(--primary-color);
    border:1px solid  var(--primary-color);
  }


  @media (min-width: 540px) {
    .sm\:w-half {
      width: 50%;
    }
  }