/* Sciensquare */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600&display=swap');

:root {
    --page-max-width: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body {
    background: #F1F1F1;
    color: #1B3F55;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 1.6rem;
    margin: 0;
    padding: 0;
    text-align: center;
}

h1 {
    font-weight: 500;
    text-transform: uppercase;
    color: #4ACFDC;
    margin-bottom: 1rem;
}

h2 {
    font-weight: 500;
    line-height: 1.1;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

p {
    margin-top: 0;
    margin-bottom: 1.2rem;
}

a {
    text-decoration: none;
    color: #26bccb;
}

a:hover {
    text-decoration: underline;
}

header,
.services-detail {
    background: #1B3F55;
    color: #fff;
}

header .logo {
    max-width: 100%;
    margin-top: 2rem;
    margin-bottom: 3rem;
    animation: fadein 1s ease-in;
}

@keyframes fadein {
    from {opacity:0;}
    to {opacity:1;}
}

header p strong,
.services-detail .description strong {
    color: #4ACFDC;
}

header,
.services,
.services-detail,
.contact,
footer {
    padding: 2rem;
}

header .wrapper,
.services,
.services-detail .wrapper,
.companies {
    max-width: var(--page-max-width);
    margin: auto;
}

header ul.lang {
    list-style: none;
    margin: 10px 0 20px;
    padding: 0;
    transition: all .5s ease-out; 
}

header ul.lang a {
    font-size: 1.3rem;
    color: #fff;
    text-decoration: none;
    background: transparent;
    border: 1px solid #4ACFDC;
    padding: 10px;
    transition: all .3s ease-in; 
}

header ul.lang a:hover {
    color: #4ACFDC;
}

.logo {
    max-width: 100%;
}

.services ul {
    padding: 0;
    margin-top: 3rem;
    list-style: none;
}

.services ul li {
    font-weight: 600;
    font-size: 2rem;
    line-height: 1.1;
    text-transform: uppercase;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.services ul li img {
    margin-bottom: 1rem;
}

.services ul li .circle {
    background: #fff;
    margin: auto;
    width: 100px;
    height: 100px;
    border-radius: 50px;
    margin-bottom: 10px;
    box-shadow: 0 5px 5px #ccc;
}

.services-detail h1 {
    font-size: 2.2rem;
    margin-top: 1rem;
}

.services-detail .service {
    border-bottom: 1px solid rgba(74, 207, 220, .2);
    padding-bottom: 1rem;
}

.services-detail .service .visuel {
    text-align: center;
}

.services-detail .service .visuel img {
    max-width: 100%;
}

.services-detail .service .advantages {
    padding: 1.5rem;
    margin: 2rem auto 0;
    border: 1px solid #4ACFDC;
    text-align: left;
    width: 330px;
}

.services-detail .service .advantages ul {
    padding-left: 2rem;
    margin-bottom: 0;
}

.services-detail .service ul.datas {
    padding: 0;
    margin: 3rem 0;
    list-style: none;
}

.services-detail .service ul.datas li {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    font-size: 1.6rem;
    font-weight: 600;
    margin-top: 1.5rem;
    transition: all .5s ease-in;
}

.services-detail .service .number {
    border: 4px solid #4ACFDC;
    width: 80px;
    height: 80px;
    line-height: 72px;
    text-align: center;
    border-radius: 50%;
    margin-right: 1rem;
    font-size: 3rem;
    font-weight: 600;
}

.services-detail .service .number.white {
    color: #4ACFDC;
    background: #fff;
    border: none;
    line-height: 80px;
}

.services-detail .service .number.small {
    font-size: 2rem;
}

.services-detail .service:last-child {
    border-bottom: none;
}

.companies h1 {
    text-transform: inherit;
    color: #1B3F55;
    font-weight: 600;
}

.companies .worldMap {
    max-width: 100%;
}

.companies .contact {
    display: flex;
    flex-direction: column;
}

.companies .contact .sciensquare,
.companies .contact .cyim {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.companies .contact .cyim .logo {
    margin-bottom: 5px;
}

.contact a.button {
    background: #1B3F55 url("../img/ico_contact_x2.png") no-repeat 1.5rem center;
    background-size: 20px;
    border: 2px solid #1B3F55;
    color: #fff;
    font-size: 1.8rem;
    text-decoration: none;
    padding: 1.5rem 2rem 1.5rem 4rem;
    margin-top: 10px;
    margin-bottom: 10px;
    transition: all .3s ease-in; 
}

.contact a.button:hover {
    background-color: #fff;
    border-color: #4ACFDC;
    color: #1B3F55;
}

.contact .cyim a.button {
    background-image: url("../img/ico_web_x2.png");
}

.contact .address p {
    font-size: 1.3rem;
}

footer {
    font-size: 1.3rem;    
}

footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

footer p span {
    color: #4ACFDC;
}

/* responsive ***********************/

@media screen and (min-width: 768px) {
    header,
    .services-detail {
        text-align: left;
    }
    header {
        height: 420px;
        background: #1B3F55 url("../img/header_bg.png") no-repeat right top;
    }
    header p {
        width: 65%;
    }
    header ul.lang {
        position: absolute;
        right: 180px;
        top: 45px;
    }
    .services ul {
        display: flex;
        justify-content: center;
    }
    .services ul li {
        margin: 0 5rem;
    }
}

@media screen and (min-width: 1024px) {
	header {
		height: 360px;
	}
	header p {
        width: 70%;
    }
    .services p {
        max-width: 700px;
        margin: auto;
    }
    .services-detail .service .advantages {
        margin-top: 0;
        margin: inherit;
    }
    .services-detail .service .description {
        display: flex;
        flex-direction: column;
        width: 50%;
    }
    .services-detail .service p,
    .services-detail .service .text {
        margin-right: 4rem;
    }
    .services-detail .service .text p {
        width: 100%;
    }
    .services-detail .service ul.datas {
        margin: 0 0 2rem;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
    }
    .services-detail .service ul.datas li {
        text-align: left;
    }
    .services-detail .service .service-content {
        display: flex;
    }
    .companies .contact {
        flex-direction: row;
        justify-content: center;
    }
    .companies .contact .sciensquare,
    .companies .contact .cyim {
        padding: 0 40px;
    }
    .companies .contact .cyim {
        border-left: 1px solid #ccc;
    }
}

@media screen and (min-width: 1280px) { 
      header ul.lang {
        right: 300px;
    }  
}