@import url("https://fonts.googleapis.com/css2?family=Open+Sans");
@import url("https://fonts.googleapis.com/css2?family=Montserrat");

:root {
    --color1: #00b0d8;
    --color2: #d5d5d5;
    --color3: #5a5a5a;
    --color4: #266fab;
    --color5: #ff3d61;
    --font1: "Open Sans", sans-serif;
    --font2: "Montserrat", sans-serif;
    --navbarbutton-display: none;
    --edudentlogo-margin: auto;
    --navopen-width: auto;
    --navopen-height: fit-content;
    --navopen-position: sticky;
    --navopenul-display: flex;
    --navopenul-width: clamp(930px, 80vw, 3500px);
    --navopenli-fontsize: clamp(12px, 0.9vw, 40px);
    --navopenli-margin: auto;
    --container-width: clamp(300px, 75vw, 4500px);

    --h1-fontsize: clamp(30px, 2.2vw, 90px);
    --h2-fontsize: clamp(20px, 1.5vw, 62px);
    --h3-fontsize: clamp(14px, 1.2vw, 55px);
    --p-fontsize: clamp(13.5px, 1vw, 45px);

    --mp: calc(50px + 1vw);
    --mp1: calc(15px + 0.2vw);
    --mp2: calc(10px + 0.2vw);
    --mp3: calc(5px + 0.2vw);
    --mp4: calc(2px + 0.2vw);
    --mp5: calc(5px + 0.5vw);
    --mp6: calc(20px + 1vw);
    --mp7: calc(25px + 1vw);
    --mp8: calc(30px + 1.5vw);
    --mp9: calc(25px + 0.5vw);
    --mp10: calc(75px + 1.5vw);
    --mp11: calc(10px + 0.5vw);
    --boxshadow: calc(-2px - 0.2vw) calc(-2px - 0.15vw);
    --icon-widthheight: calc(35px + 1vw);
    --column-number: 2;
    --column-justify: justify;
    --article-height: clamp(185px, 13vw, 550px);
    --boxshadow2: calc(-2px - 0.1vw) calc(-2px - 0.1vw);
}

@media screen and (max-width: 1150px) {
    :root {
        --column-number: 1;
        --column-justify: left;
    }
}


@media screen and (max-width: 975px) {
    :root {
        --container-width: 90vw;
        --navbarbutton-display: block;
        --navopen-width: 100vw;
        --navopen-height: 100vh;
        --navopen-position: fixed;
        --navopenul-display: block;
        --navopenul-width: fit-content;
        --navopenli-fontsize: 16px;
        --navopenli-margin: 15px 0;
        --boxshadow: -0.5vw -0.5vw;
    }
}

@media screen and (max-width: 750px) {
    :root {
        --container-width: 99vw;
    }
}

@media screen and (max-width: 550px) {
    :root {
        --edudentlogo-margin: auto 10px auto auto;
        --h1-paddingleft: calc(35px + 1vw);
        --mp: calc(25px + 0.5vw);
    }
}

@media screen and (max-width: 450px) {
    :root {
        --mp9: calc(10px + 0.5vw);
    }
}

@media screen and (min-width: 2500px) {
    :root {
        --h1-paddingleft: calc(50px + 2vw);
        --icon-widthheight: calc(35px + 1.5vw);
        --boxshadow: calc(-3px - 0.1vw) calc(-3px - 0.1vw);
    }
}

/* general */
h1,
h1>span,
h2,
h3 {
    font-family: var(--font2);
}

h1:not(.eventData h1),
h2:not(#inav h2,
    article h2,
    #courseDetails section:nth-child(2) h2,
    .eventData h2,
    #mentorsPresentations h2,
    #networkpresentation h2,
    #downloadsMedias h2,
    #AboutTermsPrivacyCookies h2),
.eventData {
    margin-top: var(--mp);
}

h1:not(#contact h1),
h2:not(#downloadsMedias h2, .coursedesc h2),
h3:not(#courseDetails h3),
#navopen li,
#courseDetails .readmoreBtn,
#courseDetails td:last-child button,
#courseName,
#mentorsNav>button,
.backBanderol {
    text-transform: uppercase;
}

h1:not(#courseDetails h1, #contact h1, #AboutTermsPrivacyCookies h1, .eventData h1),
.eventData {
    margin-left: 3vw;
    padding-bottom: var(--mp1);
    padding-top: var(--mp8);
    padding-left: var(--mp);
    border-left: 1.5px solid;
}

h1:not(#itext h1, #courseDetails h1, #contact h1, #AboutTermsPrivacyCookies h1, .eventData h1),
.eventData {
    margin-bottom: var(--mp7);
}

.eventData,
h2:not(#inav h2, article h2),
.partnerDescription h2 {
    margin-bottom: var(--mp1);
}

p,
search>button,
.backBanderol,
time {
    font-size: var(--p-fontsize);
}

#mentorsNav>button,
.backBanderol {
    text-align: center;
}

a,
.backBanderol,
.backBtn,
#courseDetails .readmoreBtn,
#courseDetails td:last-child button:not(.disabledBtn),
#submitRegistration,
#submitPaymentOfFee,
#submitPayment,
#mentorsNav button,
#events article,
#downloadsMedias button,
search>button,
button>img,
#contact h1>span,
.sectioncontainer span:hover {
    cursor: pointer;
}

.white,
#inav h2,
#ievents article h2,
#ievents article h3,
#ievents article div:nth-child(3),
i:not(#downloadsMedias i, #courseDetails i, .closeIconMobile),
.readmoreBtn,
#courseDetails h1,
.coursedesc h2,
#chooseDate table button,
#submitRegistration,
#submitPaymentOfFee,
#submitPayment,
#mentors main-footer footer,
#educationnetork main-footer footer,
.banderol h2,
.banderol h3,
.banderol time,
.backBanderol,
.backBanderol i {
    color: white;
}

a:hover:not(.backBanderol:hover, #inav a),
#pagenavigation button:hover,
#confirmedPolicyLabel b:hover,
search>button:hover,
.sectioncontainer span:hover {
    color: var(--color1);
}

.books a:hover i {
    color: var(--color1);
}

.active,
.highlightedMentor {
    color: var(--color1);
}

#confirmedPolicyLabel b,
.highlightedMentor,
#mentorsNav .active,
.partnerDescription a,
#networkpresentation a,
.sectioncontainer span {
    text-shadow: unset;
    font-weight: 600;
}

img:not(#navbar img,
    .logo img,
    #edudentLogo,
    #edudentLogoVideo,
    .eventIcon,
    #center img,
    #downloadsMedias img) {
    width: 100%;
    object-fit: cover;
}

img:not(#navbar img,
    .logo img,
    #edudentLogo,
    #edudentLogoVideo,
    .eventIcon,
    .sectioncontainer img,
    #center img,
    #downloadsMedias img,
    #eventImgs img) {
    height: 100%;
    filter: brightness(85%) grayscale(1);
}

article:not(#selectcourse article, .partnerDescription) {
    height: var(--article-height);
}

#mentorsNav,
search {
    width: fit-content;
    margin: var(--mp2) auto;
}

* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    background-color: transparent;
    color: var(--color3);
    font-family: var(--font1);
    font-weight: 100;
    list-style-type: none;
    text-decoration: none;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.flex {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

main {
    position: relative;
}

path:not(#scroll path) {
    fill: #00b0d8;
}

.centered {
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.twoOneColumns {
    column-count: var(--column-number);
    column-gap: var(--mp7);
    text-align: var(--column-justify);
}

.twoOneColumns p:first-child {
    margin-top: 0;
}

.blurredBackground {
    background-color: #ffffffc9;
    backdrop-filter: blur(10px);
}

.bluBackground {
    background-color: var(--color1);
}

article:not(.partnerDescription) {
    position: relative;
    overflow: hidden;
}

.banderol {
    width: 100%;
    display: flex;
    align-items: center;
    position: absolute;
    bottom: var(--mp6);
    padding: var(--mp5);
    background-color: var(--color1);
    opacity: 0.8;
    z-index: 1;
}

.backBanderol {
    width: 100%;
    display: block;
    background-color: var(--color1);
}

.backBtn {
    margin: var(--mp3);
    margin-top: var(--mp1);
    padding: calc(var(--mp3) * 0.5) calc(var(--mp3) * 1.5);
    background: white;
    font-size: var(--p-fontsize);
    line-height: calc(var(--p-fontsize) * 2);
    display: flex;
    box-shadow: var(--boxshadow2) var(--color1),
        clamp(3px, 0.2vw, 5px) clamp(3px, 0.2vw, 5px) 10px #00000047;
}

.backBtn i {
    font-size: var(--p-fontsize);
    line-height: calc(var(--p-fontsize) * 2);
}

.active {
    pointer-events: none;
    text-shadow: 0px 0px 0.6px var(--color1);
}

.container {
    width: var(--container-width);
    margin: auto;
}

.containerText {
    padding: var(--mp1);
}

.eventIcon {
    width: var(--icon-widthheight);
    height: var(--icon-widthheight);
    margin-left: auto;
}

h1 {
    font-size: var(--h1-fontsize);
    line-height: calc(var(--h1-fontsize) * 1.4);
}

h2 {
    font-size: var(--h2-fontsize);
}

h3 {
    font-size: var(--h3-fontsize);
}

h3:not(article h3, #mentorsPresentations h3) {
    margin: calc(var(--mp1) * 0.5) auto;
}

p {
    margin: calc(var(--mp1) * 0.5) auto;
}

.closeBtnDiv {
    width: 100%;
    height: 50px;
    position: relative;
}

.closeIconMobile {
    font-size: 30px;
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
}

.closeIconDesktop {
    width: calc(15px + 2.5vw) !important;
    height: calc(15px + 2.5vw);
    position: absolute;
    left: 0;
    right: 0;
    z-index: 6;
    margin: auto;
    border: solid 2px;
    border-color: #5a5a5ae8;
    border-radius: 50%;
    background: #5a5a5ae8;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: calc(var(--h1-fontsize) - 2px);
    cursor: pointer;
}

i {
    font-size: calc(var(--p-fontsize) * 1.35);
    margin: auto calc(var(--mp1) * 0.25);
}

footer {
    width: fit-content;
    padding: 2px 0;
    font-size: calc(var(--p-fontsize) - 4px);
    margin: auto;
    text-align: center;
}

#mentors main-footer,
#educationnetork main-footer {
    background: var(--color1);
    text-align: center;
}

/* scrollbars */
::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 3px;
}

::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: var(--color1);
}

/* navbar */
#navbar {
    display: flex;
}

#navbar button {
    display: var(--navbarbutton-display);
    margin: 0 2%;
}

#logoContainer {
    width: clamp(240px, 20vw, 800px);
    margin: var(--edudentlogo-margin);
    padding-top: calc(10px + 0.5vw);
}

#navopen {
    width: var(--navopen-width);
    height: var(--navopen-height);
    display: flex;
    position: var(--navopen-position);
    top: 0;
    padding: 1% 0;
    border-bottom: 1px solid #5a5a5a5a;

    z-index: 4;
    transition-property: left, opacity, visibility;
    transition-duration: 0.7s;
    transition-timing-function: linear;
}

#navopen ul {
    width: var(--navopenul-width);
    height: fit-content;
    display: var(--navopenul-display);
    justify-content: space-between;
    margin: auto;
}

#navopen li {
    font-size: var(--navopenli-fontsize);
    margin: var(--navopenli-margin);
}

@media screen and (max-width: 975px) {
    #navopen {
        height: 100dvh;
        justify-content: flex-start;
        padding-top: 50px;
        padding-bottom: 50px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* cookies popup */
#popupWindow {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  font-family: sans-serif;"
}

#popupCookie {
  max-width: 400px;
  width: 85%;
  height: fit-content;
  position: absolute;
  background: white;
  padding: 25px;
  margin: auto;
  top:0;
  bottom:0;
  left: 0;
  right:0;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* About, Terms, Privacy and Cookies page */
#AboutTermsPrivacyCookies {
    padding: var(--mp1);
}

#AboutTermsPrivacyCookies h1 {
    font-size: calc(var(--h1-fontsize) * 0.85);
}

#AboutTermsPrivacyCookies h2 {
    margin-top: var(--mp7);
}

#AboutTermsPrivacyCookies li {
    font-size: var(--p-fontsize);
    list-style-type: disc;
    list-style-position: inside;
}


/* animations */
@keyframes appear-left {
    to {
        left: 0;
        opacity: 1;
    }
}

@keyframes appear-bottom {
    to {
        bottom: 0;
        opacity: 1;
    }
}

@keyframes fade-in {
    to {
        scale: 1;
        opacity: 1;
    }
}

.bigger {
    scale: 1.2;
}

.hideNav {
    left: -50vw;
    visibility: hidden;
    opacity: 0;
}

.showNav {
    left: 0;
    visibility: visible;
    opacity: 1;
}

.hideCloseIcon {
    top: calc(-35px - 1vw);
    visibility: hidden;
    opacity: 0;
}

.showCloseIcon {
    top: 1%;
    visibility: visible;
    opacity: 1;
}

.hideContent {
    right: -50vw;
    visibility: hidden;
    opacity: 0;
}

.showContent {
    right: 0;
    visibility: visible;
    opacity: 1;
}

.showContentLeft {
    display: block;
    left: 0;
    visibility: visible;
    opacity: 1;
}

.hideContentLeft {
    left: -5vw;
    visibility: hidden;
    opacity: 0;
}

.showContentBottom {
    display: block;
    bottom: 0;
    visibility: visible;
    opacity: 1;
}

.hideContentBottom {
    bottom: -5vw;
    visibility: hidden;
    opacity: 0;
}

.animatedContent,
.animatedContent2 {
    position: relative;
    transition: all 1s linear;
}

.animatedContent3 {
    position: relative;
    transition: all 0.5s linear;
}

article img {
    transition: scale 1s;
}
