/*
Theme Name: My Website Theme
Theme URI: https://up-to-you.ch/
Author: Léa Medrano
Author URI: https://leamedrano.myportfolio.com/
Description: uptoyoutheme
Text Domain: uptoyoutheme
Requires at least: WordPress 5.6
Version: 1.0
*/

/****
WP CUSTOM
 */

.top-header {
    position: fixed;
    top: 0;
}

.admin-bar .top-header {
    top: 32px;
}

@font-face {
  font-family: 'basisGrotesquePro';
  src: url(assets/fonts/basis-grotesque-regular.woff);
}

/*****
VARS
 */

html {
    font-size: 18px;
}

:root {
    --main-font: 'basisGrotesquePro';
    --accent-font: 'Aleo', serif;
    --accent-bold-font: "Maax Bold";
    --accent-font-light: "Maax Light";
    --main-color: #8595B4;
    --text-color: #21466F;
    --grey-color: #F5F5F5;
    --accent-color: #D05700;
    --basic-color: #ffffff;
    --container-width-s: 1180px;
    --container-width-m: 1420px;
    --header-height: 120px;
}

/*****
GENERAL
 */

body {
    margin-bottom: -15px;
    font-family: var(--main-typo);
}

section {
    padding: var(--margin-m) 0;
}


p {
    margin-top: 0;
    margin-bottom: 0;
    font-family: var(--main-font);
}

a {
    text-decoration: none;
    color: var(--basic-color);
    font-family: var(--main-font);
}

li {
    list-style: none;
}


img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

ul {
    margin-top: 0;
    margin-bottom: 0;
}

/*****
DISPOSITION
 */

.di__container-small {
    width: var(--container-width-s);
    margin: 0 auto;
}

.di__container-big {
    width: var(--container-width-m);
    margin: 35px auto;
}

.di__section-main {
    background-color: var(--main-color);
}

.di__section-accent {
    background-color: var(--grey-color);
}

.di__section-basic {
    background-color: var(--basic-color);
}

.di__padding-regular {
    padding-top: 100px;
    padding-bottom: 100px;
}

.di__padding-top-regular {
    padding-top: 100px;
}

.di__padding-basic {
    padding-top: 75px;
    padding-bottom: 100px;
}

.di__padding-small {
    padding-top: 60px;
    padding-bottom: 50px;
}

.di__padding-x-small {
    padding-top: 60px;
    padding-bottom: 40px;
}

.di__flex-column {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.di__flex-center {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.di__flex-center2 {
    display: flex;
    align-items: center;
    justify-content: center;
}

.di__flex-evenly {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
}


.di__flex-around {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
}


.di__flex-between {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.di__flex-start-center {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
}

.di__flex-start-center2 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
}

/*****
TYPOS
 */

h1, .ty__h1 {
    font-family: var(--accent-font);
    text-align: center;
    padding-top: 72px !important;
    text-transform: uppercase;
    color: var(--text-color);
}

h2, .ty__h2 {
    font-family: var(--main-font);
}

h3, .ty__h3 {
    font-family: var(--main-font);
}

h4, .ty__h4 {
    font-family: var(--main-font);
}

h5, .ty__h5 {
    font-family: var(--main-font);
}

h6, .ty__h6 {
    font-family: var(--main-font);
}

p, .ty__p {
    font-family: var(--main-font);
}


/*****
BUTTONS
 */


.el__btn {

}

a.el__btn {

}


/*****
SECTIONS
 */


/* VIDEO */

video {
    object-fit: cover;
    height: 80vh !important;
}

.el__video-mobile {
    display: none;
}

.video-container {
    position: relative;
}

.unmute {
    margin: 20px;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0px 0px 50px rgb(0 40 100 / 40%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 0;
    align-items: center;
    justify-content: center;
    display: flex;
}

.unmute img {
    width: auto;
    height: 60% !important;
    opacity: 0.3;
}

.unmute img.play {
    margin-left: 20px;
}

.unmute img:last-child {
    display: none;
}

.hide {
    display: none !important;
}

.active {
    display: block !important;
}

/* MAP */

.marker {
    background-image: url("assets/imgs/Pointer.png");
    background-size: cover;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: 300ms ease-in-out;
}

.icon-dc {
    background: #3bb2d0;
}

.marker-active {
    width: 40px;
    height: 40px;
    background-image: url("assets/imgs/Pointer-active.png");
    transition: 300ms ease-in-out;
}

/* FOOTER */

.el__prescripteurs .el__prescripteurs-content {
    align-items: baseline;
    justify-content: flex-start;
    text-decoration: none;
    cursor: pointer;
}

.el__prescripteurs .el__prescripteurs-content h3 {
    color: var(--basic-color);
    padding-bottom: 21px;
    font-family: var(--accent-font);
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 20px;
    color: var(--basic-color);
}

.el__prescripteur-line {
    width: 100%;
    height: 1px;
    background-color: var(--basic-color);
}

.el__prescripteurs .el__prescripteurs-content .el__prescripteurs-picto {
    width: 40px;
    height: 40px;
    margin-right: 8px;
    transition: transform 300ms ease;
    transform: rotate(0deg);
}

.el__prescripteurs .el__prescripteurs-content .el__prescripteurs-picto.active {
    transform: rotate(180deg);
    transition: transform 300ms ease;
}

.el__prescripteurs .el__prescripteurs-list p, .el__prescripteurs .el__prescripteurs-list {
    color: var(--basic-color);
}

.el__prescripteurs .el__prescripteurs-list {
    display: none;
    border-bottom: 1px solid var(--basic-color);
    padding: 21px 0;
}

.el__prescripteurs .el__prescripteurs-list a {
    font-family: var(--accent-font);
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    text-decoration: none;
}

.useful-links, .ordo_list, .catalogue_list {
    margin-top: 20px;
}

.el__prescripteurs .el__prescripteurs-list a:hover {
    color: var(--accent-color);
}

.el__footer-link-title {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    font-family: var(--accent-font);
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    font-feature-settings: 'pnum' on, 'lnum' on;
    color: var(--basic-color);
}

.el__footer-link-img {
    width: 16px;
    height: 16px;
    margin-right: 4px;
}

.uptoyou {
    text-align: center;
    color: var(--basic-color);
    padding: 20px;
    background-color: black;
    font-size: 12px;
}

.uptoyou a {
    text-decoration: none;
    font-weight: bolder;
    transition: all ease 500ms;
}

.uptoyou a:hover {
    color: white;
    font-size: 13px;
}

/* RESPONSIVE */

@media (max-width: 1024px) {
    :root {
        --container-width-s : 700px;
        --container-width-m : 940px;
    }
}

@media (max-width: 992px) {
    :root {
        --container-width-s : 100%;
        --container-width-m : 100%;
    }

    .burger-mobile {
        display: block;
    }

    .burger-mobile div {
        z-index: 10;
        position: relative;
        top: 3px;
        height: 2px;
        width: 28px;
        background-color: black;
        margin-bottom: 5px;
        transition: 0.3s ease transform, 0.3s ease top, 0.3s ease width, 0.3s ease right;
        border-radius: 2px;
    }

    .burger-mobile.open div:first-child {
        transform: rotate(45deg);
        top: 7px;
        width: 32px;
    }

    .burger-mobile.open div:nth-child(2) {
        width: 0;
        transform: rotate(45deg);
    }

    .burger-mobile.open div:last-child {
        transform: rotate(-45deg);
        top: -7px;
        width: 32px;
    }

    .el__nav-bar.show {
        display: block !important;
        position: absolute;
        top: 100%;
        display: flex;
        right: 0;
        background-color: var(--text-color);
        flex-direction: column;
        margin-left: 0;
        width: 100%;
        transition: padding-top 200ms ease;
    }

    .el__nav-bar {
        transition: padding-top 200ms ease;
        display: none;
    }

    .menu {
        align-items: flex-start;
        flex-direction: column;
    } 

    .navbar {
        padding: 5px 20px;
        align-items: center;
        flex-wrap: wrap;
    }

    .navbar.sticky {
        padding: 5px 20px;
        align-items: center;
        flex-wrap: wrap;
        padding-top: 5px;
        width: 100vw;
    }

    .admin-bar.logged-in .navbar.sticky {
        padding-top: 40px;
    }

    body .sticky {
        padding-top: 40px;
    }

    .nav-link {
        padding: 0 !important;
    }

    .navbar #mainNavbar {
        margin-left: 0px;
        padding-top: 20px;
        height: 100vh;
    }

    .navbar-light .navbar-nav .nav-link {
        font-size: 22px;
        margin: 20px 0;
    }

    .sticky .collapse.navbar-collapse.show {
        top: 100%;
    }

    .menu-top-menu-container .menu .menu-item {
        padding: 20px 0;
    }

    .menu-top-menu-container .menu {
        padding-left: 20px;
    }

    .prev-arrow, .next-arrow {
        z-index: 98;
    }

    .navbar a {
        color: white;
    }

    .rellax img {
        width: 100%;
        height: 100%;
    }
    
    .navbar .blue-btn {
    	padding: 8px 5px;
    }

    .menu {
    	padding-left: 0;
	align-items: center;
	justify-content:centeR;
	height: 100vh;
    }

    .menu-item {
    	margin: 50px 0;
    }

    .di__padding-basic {
    	padding-left: 50px;
	padding-right: 50px;	
    }

    .services .service-content {
    	padding: 45px 25px;
    }

    .about .about-content .about-txt {
    	padding: 0;
    }

    #contact {
    	padding: 0 50px;
    }
}

@media (max-width: 768px) {
    .service-content {
        margin: 20px;
        flex-wrap: wrap;
    }

    .services .service-content {
    	width: 45%;
    }

    .team {
        justify-content: center;;
    }

    .service-btn {
        width: 30%;
        padding: 10px;
    }

    .di__padding-x-small {
        padding-top: 60px;
        padding-bottom: 40px;
        padding-left: 50px;
    }

    .di__flex-center2 {
        flex-wrap: wrap;
    }

    .about-img {
        margin-bottom: 50px;
    }

    .about-txt {
        margin: 0 50px;
    }

    .contact-content {
        flex-wrap: wrap;
    }

    .el__map {
        width: 100%;
        margin-left: 0;
    }

    .el__form {
        width: 100%;
        margin: 50px;
    }

    .di__padding-basic {
        padding: 50px;
    }

    .logo-list .logo-content {
        width: 100px;
        height: 100px;
    }

    .logo-content .service-txt h3 {
        font-size: 18px;
        font-weight: 600;
        margin-top: 10px;
        line-height: 20px;
    }

    .logo-list {
        padding: 50px;
        padding-bottom: 100px;
        padding-top: 10px;
    }

    .socials-footer {
        justify-content: center !important;
        flex-direction: column;
    }

    .el__menu-footer {
        flex-direction: column;
        padding-left: 0;
        padding-top: 20px;
    }
}

@media (max-width: 675px) {
	.team {
		flex-wrap: wrap;
	}
}

@media (max-width: 525px) {
	.navbar .blue-btn {
	    font-size: 12px;
	    right: 20%;
	    width: 150px;
	}

	.team .service-content {
		width: 100%;
	}

	.services {
		padding: 50px;
	}
	
	.services .service-content {
		width: 100%;
	}

	.di__padding-x-small {
    		padding-top: 0px;
    		padding-bottom: 0;
    		padding-left: 0;
    		padding: 0 50px;
	}
}

@media (max-width: 425px) {
	.navbar .blue-btn {
		top: 98%;
		right: 0;
	}

	.di__container-big {
    		margin: 0;
	}

    .services .service-content {
        margin: 10px 0px !important;
    }

    .service-txt {
        font-size: 16px;
    }

    .team .service-content .service-txt {
    	margin-bottom: 30px;
    }

    .services.service-slider .slick-slide .service-txt {
        padding: 0 80px;
    }

    .fas.fa-chevron-right {
        font-size: 15px;
    }

    .slider-content {
        text-align: center;
    }

    .slider-content h3 {
        font-size: 16px;
    }

    .about-img {
        margin-bottom: 0;
        margin: 0;
    }

    .about-txt {
        margin: 0;
        margin-top: 20px;
    }

    .service-content {
        margin: 0;
    }

    .logo-list .logo-content {
        width: 100%;
        height: 100%;
    }

    .di__padding-x-small {
        padding-left: 50px;
    }
}

@media (max-width: 375px) {
    .service-btn {
        width: 50%;
    }
    
    h1 {
        text-align: center;
    }

    .services.service-slider .slick-slide img {
        width: 50% !important;
    }
}
