/* FONTS */

.nunito-sans-300 {
  font-family: "Nunito Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-variation-settings:
    "wdth" 100,
    "YTLC" 500;
}


/*RESET CSS*/

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video { margin: 0; padding: 0; border: 0; vertical-align: baseline;}

article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section { display: block;}
body { line-height: 1;}
blockquote,q { quotes: none;}
blockquote:before,blockquote:after,q:before,q:after { content: ''; content: none;}
table { border-collapse: collapse; border-spacing: 0;}

*, *::before, *::after {box-sizing: border-box;}

.clearfix::after {
clear: both;
content: "";
display: block;
font-size: 0;
height: 0;
visibility: hidden;
}

/* GENERAL */

* { 
    margin: 0;
    padding: 0;
}

html{
    /* border: solid red; */
}

.page-width {
    width: 100%;
    margin: 0 auto;
    max-width: 1200;
}

body {
  background-color: #efeadd;/* sets the page background */
  background-image: url(../Images/background-image.svg);
  background-repeat: repeat;
  background-position: 0px 5px;
  width: 100%;
  margin: 0 auto;
}

.footer-fixed {
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: black;
    height: 25px;
    border-top-color: transparent;
    box-shadow: 0 3px 20px 5px black; /* fade effect */
    width: 100%;;
}

.footer-avoid-fixed-end {
    height: 35px;
}



/* INTRODUCTION BLOCK */
.introduction-block {
    margin: 30px 0px 30px 0px;
}

.introduction-block>div {
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
}

.introduction-text {
    max-width: 85%;
    font-size: 20px;
    padding-top: 6%;
    text-align: center;
}

.main-photo-keily-paiz {
  width: 90%;
  max-width: 450px;; /* key part */
  height: auto;
  order:-1;
  
}

.main-photo-keily-paiz img {
  border-radius: 10%;
  max-width: 100%;
    
  /* fade edges in all directions */
  -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: cover;

  mask-image: radial-gradient(circle, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: cover;
}

.section-divider-cafe {
    width: 80%;;
    height: 2px;
    background-color: #a27250;
    margin: 0 auto;
    opacity: 0.7;
}

@media (min-width: 768px) {
    .introduction-block>div {
        display: block;
    }
    .introduction-text {
        padding-top: 0%;
        max-width: none;
        text-align: left;
        margin: 15px 50px 15px 50px;
    }
    .main-photo-keily-paiz {
        width: 40%;
        order: 1;
        float: right;
        margin: 15px 50px 15px 30px;;
    }
}

/* PRICES */
.price-block {
    display: flex;
    margin: 30px 0px 30px 0px;
}

@media (min-width: 768px) {
    
}

/* PORTFOLIO */
.portfolio-block {
    display: block;
    margin: 30px 0px 30px 0px;
}

/* Reposition controls to align with post width */
.carousel-control-prev,
.carousel-control-next {
  width: auto;              /* shrink default giant clickable area */
  top: 50%;
  transform: translateY(-50%);
}

.carousel-control-prev {
  left: calc(50% - 240px);  /* 500px/2 + some padding */
  top: 370px;
}

.carousel-control-next {
  right: calc(50% - 240px); /* mirror of prev */
  top: 370px;
}

@media (max-width: 500px) {
    .carousel-control-prev {
  left: 0px;  /* 500px/2 + some padding */
  top: 300px;;
}

.carousel-control-next {
  right: 0px; /* mirror of prev */
  top: 300px;;
}
}


/* COLLABORATIONS */
.collaboration-block {
    margin: 30px 0px 30px 0px;
}

.que-dicen-aquellos-introduction-wrapper{
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px 10px 20px 10px;
    width: auto;
    max-width: 800px;
    margin: auto;
}

.que-dicen-aquellos-logo-wrapper{
    padding: 0 15px 0 0;
}
.que-dicen-aquellos-logo-wrapper img{
    border-radius: 50%;
    width:100%;
}

.que-dicen-aquellos-introduction-text {
    font-size: 20px;
    width: 100%;
    text-align: left;
}

.que-dicen-aquellos-iframe-wrapper {
    aspect-ratio: 16 / 9;
    width: 100%;
    max-width: 850px;
    margin: auto;
}

.que-dicen-aquellos-iframe-wrapper iframe{
    width: 100%;
    height: 100%;
}


@media (min-width: 768px) {
    
}

/* SOCIAL MEDIA STATISTICS */
.social-media-stats-block {
    margin: 30px 0px 30px 0px;
}

/* TERMINOS Y CONDICIONES */
.terminos-y-condiciones-block {
    margin: 30px 0px 30px 0px;
}

.terminos-y-condiciones-grid-container {
  display: grid;
  max-width: 1200px;
  width: 100%;
  gap: 20px;
  justify-items: center;
  padding: 10px 20px 10px 20px;
  margin: 10px auto 10px auto; 
  grid-template-columns: repeat(auto-fit, minmax(201px, 1fr));
  min-width: 0;
}

.terminos-y-condiciones-grid-container > * {
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

@media (min-width: 466px) { /* When wrap happens*/
    .terminos-y-condiciones-grid-container {grid-template-columns: repeat(auto-fill, minmax(401px, 1fr));}
}

.terminos-y-condiciones-grid-container>div {
  max-width: min(600px,100%);
}

.terminos-y-condiciones-grid-container>div>ul {
    list-style-type: disc;
    list-style-position: outside;
    padding: 0 20px 0 30px;
    width: 100%;;
}

@media (min-width: 860px) { /* When wrap happens again*/
    .item1 {order:1;}
    .item2 {order:3;}
    .item3 {order:5;}
    .item4 {order:7;}
    .item5 {order:2;}
    .item6 {order:4;}
    .item7 {order:6;}
    .item8 {order:8;}
    .terminos-y-condiciones-grid-container {padding: 10px 50px 10px 50px;}
}