
body, footer {
    background-color: white;
    color:rgba(0,0,139, 0.9);
}

body {
    /*font-family: 'Merriweather', serif;*/
    font-family: "Inter Tight", sans-serif; 
    font-size: 1.1em;
}
    

header nav a {
    font-family: "Inter Tight", sans-serif;
    color: white;
    font-size: 0.9em;
    text-decoration: none;
    letter-spacing: 2px;
}

header nav a:hover {
    color:cornflowerblue;
}

.logo {
    font-size: 2em;
    color:white;
    letter-spacing: 2px;
}
.logo:hover {
    color:cornflowerblue;
}
.logoSousRubrique {
    font-size: 0.3em;
    letter-spacing: 2px;
}

.navbarColor {
    background-color:rgba(0,0,139, 0.9);
    padding-top: 0;
    padding-bottom:0;
    
}
.colorLogo {
    background-color: white;
}

#myVideo {
    /** Simulationg background-size: cover */
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}
.videoWrapper {
    /* Telling our absolute positioned video to 
    be relative to this element */
    position: relative;
    
    width: 100%;
    height: 700px;
  
    /* Will not allow the video to overflow the 
    container */
    overflow: hidden;
  
    /* Centering the container's content vertically 
    and horizontally */
    text-align: center;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    
  }


.imageWhiteBackgroundA {
    background: url('Images/whiteBackgroundA.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
.imageWhiteBackgroundB {
    background: url('Images/whiteBackgroundB.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.imageWhiteBackgroundC {
    background: url('Images/whiteBackgroundC.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.imagePartners {
    background: url('Images/together.jpg');
    padding-top: 7em;
    padding-bottom: 7em;
    height: 600px;
    width: 100%;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.imageVision {
    background: url('Images/vision.jpg');
    padding-top: 7em;
    padding-bottom: 7em;
    height: 500px;
    width: 100%;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.sizeAppend {
    font-size: 0.53em;
    line-height: 1.5em;
    margin-top:1em;
    text-align: left;
    font-family: "Inter Tight", sans-serif;
    letter-spacing: 1.3px;
    padding-left:1em;
    padding-right:1em;
}
  
.content {
    position: relative;
    color:white;
    /*background-color: rgba(0,0,139, 0.5);*/
    margin-top: 2em;
    text-align: center;
}
.marginText {
    margin-bottom: 1em;
}


.explanation {
    display: flex;
    background-color: rgba(0,0,139, 0.4);
}


.fontTitle {
    font-family: "Inter Tight", sans-serif;
    letter-spacing: 3px;
    color: white;
    font-weight: bold;
    font-size: 3em;
}


.fontForTitle {
    font-family: "Inter Tight", sans-serif;
    letter-spacing: 3px;
    font-size: 4em;
    margin-top: 1em;
   
}


.colorButton {
    background-color: rgba(0,0,139, 0.9);
    color: white;
    font-family: "Inter Tight", sans-serif;

}
.colorButton:hover {
    background-color:cornflowerblue;
    color: white;
}
.whiteButton {
    color: rgba(0,0,139, 0.9);
    background-color: white;
    font-family: "Inter Tight", sans-serif;

}
.whiteButton:hover {
    background-color:rgba(0, 0, 139, 0.9);
    color: white;
}


.fontSizeSmall {
    font-size: 1.1em;
    font-family: "Inter Tight", sans-serif;
    letter-spacing: 1.5px;
    color: rgba(0,0,139, 0.9);
}

.headerColor {
    letter-spacing: 1.5px;
    background-color: rgba(0,0,139, 0.9);
}

.notreApprocheParagraphe {
    font-family: "Inter Tight", sans-serif;
    font-size: 1.1em;
    letter-spacing: 1.3px;
    line-height: 1.5em;
    text-align: center;
}

.paddingTopp {
   	padding-top: 150px;
}




/* vision sidan */
.widthVision {
    width: 75%;
}
.widthColumnVision {
    width: 50%;
}

/* vision sidan*/






/* Neurology sidan */
#mySecondVideo {
    /** Simulationg background-size: cover */
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.videoWrapperNeurology {
    /* Telling our absolute positioned video to 
    be relative to this element */
    position: relative;
       
    width: 100%;
    height: 800px;
     
    /* Will not allow the video to overflow the 
    container */
    overflow: hidden;
 }

 .content2 {
    position: relative;
    color: white;

}
.widthParagraph {
    width: 75%;
 }
 .widthLastParagraph {
    width: 75%;
 }

 .neurologieLastParaph {
    width: 75%;
 }

 /*stop Neurology sidan*/


 /* Virologie sidan */

 .imageVirologie {
    background: linear-gradient(rgba(250,250,250),
    rgba(250,250,250, 0.4)), url('Images/virusBackground.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;

 }

 #widthVirologie {
    width: 50%;
 }
 
 

 /* stop Virogolie sidan */


 /* Endocrinologie sidan */

 .imageBackgroundEndocrinologie {
    background: linear-gradient(rgba(250,250,250),
    rgba(250,250,250, 0.6)), url('Images/medicin.jpg');
    width: 100%;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.widthEndocrinologie {
    width: 50%;
}


 /* stop Endocrinologie sidan */


 /* Oncologie sidan*/

 .imageBackgroundOncologie {
    background-image: url('Images/purpleCells.jpg');
    width: 100%;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

#widthOncologie {
    width: 50%;
 }


 /*stop Oncologie sidan*/

/* Footer */

.colorText {
    color: darkblue;
    font-size: 1.1em;
}

.footerLogo {
    color:rgb(45, 89, 134);
    background-color: white;
}
.linksFooter {
    text-decoration: none;
    color: darkblue;
}
.linksFooter:hover {
    color: cornflowerblue;
    
}
footer {
    background-image: url('Images/whiteBackgroundA.jpg');
    font-family: "Inter Tight", sans-serif;
    border-top: 2px solid rgba(0, 0, 139, 0.9);
}

.logoFooter {
    font-size: 2em;
    color:rgba(0,0,139, 0.9);
    letter-spacing: 2px;
}

#paragrapheLogoAggl {
    width: 25%;
}

/* end footer */

.rubriquePolitiqueEtMentions {
    font-size: 3em;
}



@media screen and (max-width: 1180px)  {
    .fontTitle {
        font-size: 2.6em;
    }
    .widthLastParagraph {
        width: 100%;
     }
    
    
}

@media screen and (max-width: 1070px)  {
    header nav a {
        font-size: 0.8em;
    }

    
}


@media screen and (max-width: 1051px)  {
    .fontTitle {
        font-size: 2.3em;
    }
     
}

@media screen and (max-width: 1035px) {
    .fontSizeSmall {
        font-size: 1em;
    }
}

@media screen and (max-width: 1018px)  {
    a img {
        width: 190px;
    }

    header nav a {
        font-size: 0.7em;
    }

}


@media screen and (max-width: 991px)  {
    header nav a {
        font-size: 0.9em;
    }
    a img {
        width: 200px;

    }
}

@media screen and (max-width: 947px) {
    .fontSizeSmall {
        font-size: 1em;
    }
}


@media screen and (max-width: 900px)  {
    .fontForTitle {
        font-size: 3.5em;
    }
}

@media screen and (max-width: 870px)  {
    .fontTitle {
        font-size: 2em;
    }
    #widthOncologie {
        width: 65%;
     }
     
}

@media screen and (max-width: 860px) {
    .videoWrapperNeurology {
        height: 800px;  
     }
}

@media screen and (max-width: 845px) {
    .fontSizeSmall {
        font-size: 0.9em;
    }
}



@media screen and (max-width: 800px)  {
    .fontForTitle {
        font-size: 3em; 
    }
    .imageVision {
        background: url('Images/vision800.jpg');
        padding-top: 7em;
        padding-bottom: 7em;
        height: 500px;
        width: 100%;
        background-position: center;
        background-size: cover;
        background-attachment: fixed;
    }
    .imageWhiteBackgroundA {
        background: url('Images/whiteBackgroundA800.jpg');
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }
    .imageWhiteBackgroundB {
        background: url('Images/whiteBackgroundB800.jpg');
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }
    .imagePartners {
        background: url('Images/together800.jpg');
        padding-top: 7em;
        padding-bottom: 7em;
        height: 500px;
        width: 100%;
        background-position: center;
        background-size: cover;
        background-attachment: fixed;
    }
    .imageWhiteBackgroundC {
        background: url('Images/whiteBackgroundC800.jpg');
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }
    .imageVirologie {
        background: linear-gradient(rgba(250,250,250),
        rgba(250,250,250, 0.4)), url('Images/virusBackground800.jpg');
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        background-attachment: fixed;
    
     }
    
     .imageBackgroundEndocrinologie {
        background: linear-gradient(rgba(250,250,250),
        rgba(250,250,250, 0.6)), url('Images/medicin800.jpg');
        width: 100%;
        background-position: center;
        background-size: cover;
        background-attachment: fixed;
    }
    
     .imageBackgroundOncologie {
        background-image: url('Images/purpleCells800.jpg');
        width: 100%;
        background-position: center;
        background-size: cover;
        background-attachment: fixed;
    }

    footer {
        background-image: url('Images/whiteBackgroundA800.jpg');
        
    }

}

@media screen and (max-width: 790px)  {
    .fontTitle {
        font-size: 1.7em;
    }

   
    .fontSizeSmall {
        font-size: 0.8em;
    } 
}

@media screen and (max-width: 767px) {
    .fontSizeSmall {
        font-size: 1em;
        margin-bottom: 0;
    }
    #widthVirologie {
        width: 75%;
     }
     .widthColumnVision {
        width: 75%;
    }
}

@media screen and (max-width: 750px) {
    .widthVision {
        width: 100%;
    }
    
}


@media screen and (max-width: 705px)  {
    .fontTitle {
        font-size: 1.5em;
    }
    .fontForTitle {
        font-size: 2.6em;
    }
    .notreApprocheParagraphe {
        
        font-size: 1em;
        letter-spacing: 1.2px;
        line-height: 1.4em;
    }

    .colorButton {
        font-size: 0.7em;
    
    }
     
}

@media screen and (max-width: 650px) {
    .explanation {
        flex-direction: column;
    }
    .widthEndocrinologie {
        width: 70%;
    }
    
        .widthColumnVision {
            width: 100%;
        }
        
    
}

@media screen and (max-width: 648px) {
    .videoWrapperNeurology {
        height: 850px;  
     }
     #widthOncologie {
        width: 75%;
     }
}

@media screen and (max-width: 600px)  {
    
    .imageVision {
        background: url('Images/vision600.jpg');
        height: 500px;
        width: 100%;
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }
    .imageWhiteBackgroundA {
        background: url('Images/whiteBackgroundA600.jpg');
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }
    .imageWhiteBackgroundB {
        background: url('Images/whiteBackgroundB600.jpg');
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }
    .imagePartners {
        background: url('Images/together600.jpg');
        padding-top: 7em;
        padding-bottom: 7em;
        height: 400px;
        width: 100%;
        background-position: center;
        background-size: cover;
        background-attachment: fixed;
    }
    .imageWhiteBackgroundC {
        background: url('Images/whiteBackgroundC600.jpg');
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }

    .imageVirologie {
        background: linear-gradient(rgba(250,250,250),
        rgba(250,250,250, 0.4)), url('Images/virusBackground600.jpg');
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        background-attachment: fixed;
    
     }
    
     .imageBackgroundEndocrinologie {
        background: linear-gradient(rgba(250,250,250),
        rgba(250,250,250, 0.6)), url('Images/medicin600.jpg');
        width: 100%;
        background-position: center;
        background-size: cover;
        background-attachment: fixed;
    }
    
     .imageBackgroundOncologie {
        background-image: url('Images/purpleCells600.jpg');
        width: 100%;
        background-position: center;
        background-size: cover;
        background-attachment: fixed;
    }
    
    footer {
        background-image: url('Images/whiteBackgroundA600.jpg');
      
    }

    #logoAggl {
        width: 150px;
    }
  	.paddingTopp {
   	padding-top: 200px;
	}

}


@media screen and (max-width: 582px)  {
    
    .notreApprocheParagraphe {
        font-size: 0.9em;
    }

    .colorButton {
        font-size: 0.6em;
    
    }   
}

@media screen and (max-width: 580px) {
    
     .widthParagraph {
        width: 100%;
     }
     .neurologieLastParaph {
        width: 100%;
     }
}

@media screen and (max-width: 575px) {
    .colorButton {
        font-size: 1em;
        margin-bottom: 0.5em;
        margin-bottom: 0.5em;
    }
    #paragrapheLogoAggl {
        width: 50%;
    }
}


@media screen and (max-width: 534px)  {
    
    .notreApprocheParagraphe {
        letter-spacing: 1px;
        line-height: 1em;
        padding-left: 2px;
    } 
}


@media screen and (max-width: 500px)  {
    .fontTitle {
        font-size: 1.3em;
    }
    #widthOncologie {
        width: 100%;
     }
}

@media screen and (max-width: 480px)  {
    
    .imageVision {
        background: url('Images/vision400.jpg');
        width: 100%;
        background-position: center;
        background-size: cover;
        background-attachment: fixed;
    }


    .imageWhiteBackgroundA {
        background: url('Images/whiteBackgroundA400.jpg');
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }
    .imageWhiteBackgroundB {
        background: url('Images/whiteBackgroundB400.jpg');
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }
    .imagePartners {
        background: url('Images/together400.jpg');
        padding-top: 7em;
        padding-bottom: 7em;
        height: 300px;
        width: 100%;
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }
    .imageWhiteBackgroundC {
        background: url('Images/whiteBackgroundC400.jpg');
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }

    .imageVirologie {
        background: linear-gradient(rgba(250,250,250),
        rgba(250,250,250, 0.4)), url('Images/virusBackground400.jpg');
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        background-attachment: fixed;
    
     }
    
     .imageBackgroundEndocrinologie {
        background: linear-gradient(rgba(250,250,250),
        rgba(250,250,250, 0.6)), url('Images/medicin400.jpg');
        width: 100%;
        background-position: center;
        background-size: cover;
        background-attachment: fixed;
    }
    
     .imageBackgroundOncologie {
        background-image: url('Images/purpleCells400.jpg');
        width: 100%;
        background-position: center;
        background-size: cover;
        background-attachment: fixed;
    }
    footer {
        background-image: url('Images/whiteBackgroundA400.jpg');
        
    }
    #widthVirologie {
        width: 100%;
     }

}

@media screen and (max-width: 450px) {
    
    .widthEndocrinologie {
        width: 100%;
    }
    #rubriqueEndocrinologie {
        font-size: 2.2em;
    }
}

@media screen and (max-width: 420px) {
    #rubriqueNosPartenaires {
        font-size: 2.3em;
    }
}

@media screen and (max-width: 400px) {
    .paddingTopp {
        padding-top: 100px;
    }
}


@media screen and (max-width: 384px) {
    #rubriqueNosPartenaires {
        font-size: 2.1em;
    }
    .videoWrapperNeurology {
        height: 900px;  
     }
     #rubriqueEndocrinologie {
        font-size: 2em;
     }
}


@media screen and (max-width: 363px)  {
    .fontTitle {
        font-size: 1em;
    }
    .fontForTitle {
        font-size: 2em;
    }
    .fontSizeSmall {
        font-size: 0.8em;
    }
     
}

@media screen and (max-width: 359px) {
    #rubriqueNosPartenaires {
        font-size: 1.9em;
    }
    #rubriqueEndocrinologie {
        font-size: 1.8em;
    }
}

@media screen and (max-width: 334px) {
    #rubriqueNosPartenaires {
        font-size: 1.7em;
    }
}


@media only screen and (max-device-width: 1300px)  {
    .imagePartners {
        background-attachment: scroll;
    }
    .imageVision {
        background-attachment: scroll;
    }
    .imageWhiteBackgroundA {
        background-attachment: scroll;
    }
    .imageWhiteBackgroundB {
        background-attachment: scroll;
    }
    
    .imageWhiteBackgroundC {
        background-attachment: scroll;
    }
    .imageVirologie {
        background-attachment: scroll;
    
     }
    
     .imageBackgroundEndocrinologie {
        background-attachment: scroll;
    }
    
     .imageBackgroundOncologie {
        background-attachment: scroll;
    }
    
}
    




