/*  TIPOGRAFÍAS   **************************************/
    
@font-face {
    font-family: "Varela round";
    src: url("varelaRound-Regular.otf");
    font-weight: normal;
    font-style: normal;
}

html, .root {
  font-size: 20px;
  line-height: 30px;
}
body, .article {
  font-family: 'Varela Round';
  font-size: 1rem;
  line-height: 1.5rem;
  margin: auto;
}
h1, .h1 {
  font-family: 'Varela Round', sans serif;
  font-size: calc(1rem + 2vw);
  line-height: 3rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}
h2, .h2 {
  font-family: 'Varela Round', sans serif;
  font-size: 2rem;
  line-height: 2.3rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}
h3, .h3 {
  font-family: 'Varela Round', sans serif;
  font-size: 1.4rem;
  line-height: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}
h4, .h4 {
  font-family: 'Varela Round', sans serif;
  font-size: 1rem;
  line-height: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 0rem;
}
h5, .h5 {
  font-family: 'Varela Round', sans serif;
  font-size: 1rem;
  line-height: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 0rem;
}
p, ul, ol, pre, table, blockquote {
  margin-top: 0rem;
  margin-bottom: 1.5rem;
}
p + h1, p + h2, p + h3, p + h4, p + h5 {
margin-top: 3rem;
}
ul ul, ol ol, ul ol, ol ul {
  margin-top: 0rem;
  margin-bottom: 0rem;
}

a{
    text-decoration: none;
    color: #2783b6;
}

/*  RE-ORDER SERVICES  **************************************/
a.service.create-home {
    order: 7;
}
a.service.property-management {
    order: 5;
}


/*  SERVICES PAGE  **************************************/

body{
    margin: 0px;
    font-family: "Varela round";
    color: #2783b6;
}
body p{
    color: #808080;
}

.container{
    max-width: 1200px;
    margin: 0 auto;
}

.hero-page-services{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    height: 90vh;
    background-image: url("1-services/img/hero-services.jpg");
    background-position: top left;    
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-page-services .hero-text{
    margin-right: 10vw;

}

.hero-page-services .hero-text p{
    margin: -20px 0px;
    color: #2783b6;
}

.all-services{
    margin:40px auto;
    max-width: 1200px;
    display: flex;
    justify-content:space-around;
    flex-wrap: wrap;
}

.article-title{
    width: 100%;
    text-align: center;
}

.service{
    margin:20px 10px;
    flex-basis:47%;
}

.service-image{
    display: block;
    width: auto;
    height: 300px;
    background-repeat: no-repeat;
    background-size: cover;
}

.consulting .service-image{
    background-image: url("1-services/img/grupo-platinum-consultancy-768x510.jpg");
    background-position: center;    
}

.mortgage .service-image{
    background-image: url("1-services/img/grupo-platinum-mortgage-management-768x510.jpg");
    background-position: center;         
}

.paperwork .service-image{
    background-image: url("1-services/img/grupo-platinum-administrative-management-768x510.jpg");
    background-position: center;         
}

.create-home .service-image{
    background-image: url("1-services/img/grupo-platinum-create-home-768x510.jpg");
    background-position: center;         
}
/*  Añadidas a la sección original SERVICES PAGE  **************************************/

.sell-properties .service-image{
    background-image: url("1-services/img/grupo-platinum-sell-properties-768x510.jpg");
    background-position: center;         
}

.property-management .service-image{
    background-image: url("1-services/img/grupo-platinum-property-management-768x510.jpg");
    background-position: center;         
}


/*  SINGLE SERVICE PAGES  **************************************/

.hero-services{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 90vh;
    background-position: top left;    
    background-repeat: no-repeat;
    background-size: cover;
}
.hero-services h1{
    color:white;
    text-align: center;
    text-shadow: 2px 2px 6px #333333;

}
.text{
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/*  PROPERTY CONSULTANCY  **************************************/

.page-property-consultancy .hero-services{
    background-image: url("2-consultancy/img/grupo-platinum-consultancy.jpg");
    background-position: top left;    
    background-repeat: no-repeat;
    background-size: cover;
}   

/*  MORTGAGE MANAGEMENT  **************************************/

.page-mortgage-management .hero-services{
    background-image: url("3-mortgage/img/grupo-platinum-mortgage-management.jpg");
    background-position: top left;    
    background-repeat: no-repeat;
    background-size: cover;
}   

/*  ADMINISTRATIVE MANAGEMENT  **************************************/

.page-administrative-management .hero-services{
    background-image: url("4-administrative/img/grupo-platinum-administrative-management.jpg");
    background-position: top left;    
    background-repeat: no-repeat;
    background-size: cover;
}   

/*  CREATE HOME  **************************************/

.page-create-home .hero-services{
    background-image: url("5-create-home/img/grupo-platinum-create-home.jpg");
    background-position: top left;    
    background-repeat: no-repeat;
    background-size: cover;
}

/*  SELL HOME  **************************************/

.page-sell-properties .hero-services{
    background-image: url("7-sell-properties/img/grupo-platinum-sell-properties.jpg");
    background-position: top left;    
    background-repeat: no-repeat;
    background-size: cover;
}

/*  PROPERTY MANAGEMENT  **************************************/

.page-property-management .hero-services{
    background-image: url("8-property-management/img/grupo-platinum-property-management.jpg");
    background-position: top left;    
    background-repeat: no-repeat;
    background-size: cover;
}

/*  TEAM PAGE  **************************************/

.page-about-us .hero-about-us{
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    height: 90vh;
	background-image: url(https://news.grupoplatinum.com/wp-content/uploads/2023/05/equipo-platinum-1.jpg );
    background-position: center center;    
    background-repeat: no-repeat;
    background-size: cover;
}
.page-about-us .hero-about-us h1{
    color:white;
    text-align: center;
    text-shadow: 2px 2px 6px #333333;
}

.team{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 20px;

}
.team .employee{
    background-color: #f6f7f8;
    width: 30%;
    padding: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.team .employee .employee-pic{
    width: 100%;
}

.team .employee .employee-name{
    text-transform: uppercase;
    margin-bottom: -20px;
}
.team .employee .employee-languages{
    color:#808080;
    margin-bottom: 20px;
}

.team .employee .employee-mail, .team .employee .employee-phone{
    margin: 20px;
    font-size: 30px;
}

.hero-page-services .hero-text {
    margin-right: 10vw;
    width: 430px;
}



/*  MEDIA QUERIES   **************************************/

/*  Desktop  */
@media only screen and (max-width: 766px)
.hero-page-services .hero-text {
    width: 100%;
    margin: 0 auto;
    background-color: rgba(255,255,255,0.9);
    text-align: center;
    padding-bottom: 20px;
    width: 100%;
}

@media only screen and (min-width: 979px) and (max-width: 1199px) {
    .container{
        width: 979px;
    }
    .hero-page-services {
        background-position: -100px;    
    }
    .page-about-us .hero-about-us{
        height: 85vh;
    }
}

/*  Tablet  */

@media only screen and (min-width: 767px) and (max-width: 978px) {
    .container{
        width: 767px;
    }
    .hero-page-services {
        background-position: -150px;    
    }

    .hero-page-services .hero-text{
        margin-right: 20px;
    }
    .page-about-us .hero-about-us{
        height: 70vh;
    }
    .team .employee{
        width: 45%;
    }
}

/*  Mobile  */

@media only screen and (max-width: 766px) {
    .container{
        width: 480px;
    }
    .hero-page-services {
        align-items: flex-end;
        background-position: -50px;    
    }
    .hero-page-services .hero-text{
        width: 100%;
        margin: 0 auto;
        background-color: rgba(255,255,255,0.9);
        text-align: center;
        padding-bottom: 20px;
    }

   .hero-page-services .hero-text h1{
       margin-top: 30px;
    }
    .hero-page-services .hero-text p{
        margin-bottom: -40px;
    }

    .service{
        margin:20px;
        flex-basis:100%;
    }
    .hero-services{
        height: 50vh;
    }
    .page-administrative-management .hero-services h1{
    font-size: 2.5rem;
    } 
    .page-about-us .hero-about-us{
        height: 45vh;
    }
    .page-about-us .hero-about-us h1{
        font-size: 46px;
    }
    .team .employee{
        width: 100%;
    }
}

