*{
    max-width: 100%;
}


body{
    margin: 0px;
    background-color: #FCFAFA;
    font-family:Arial, Helvetica, sans-serif;

}


header{
    align-items: center;
    text-align: center;
    justify-content: center;
    background-image: url(img/header_bg.jpg);
    background-size: cover;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

}

header div{
    background-color: rgb(18, 58, 59, 0.9);
    padding: 40px 0px 40px 0px;
}


h1{
    color: #FCFAFA;
    font-stretch: ultra-expanded;
    font-weight: lighter;
    font-size: xx-large;
}


main{
    margin: 50px 23% 70px 23%;
}




nav{
    font-size: large;
}


ul{
    list-style-type: none;
}

.horizontalNav{
    display: flex;
    justify-content: center;
}


 /*Change according to the size of the screen*/
.horizontalNav li{
    display: block;
    padding: 5px 40px;
    border-radius: 20px;

}


.noType{
    list-style-type: none;
}


section{
    text-align: justify;
    margin-top: 30px;
}

section li{
    margin-bottom: 10px;
}

#presentation{
    display: flex;
}


#presentation > *{
    flex: 1 1 0;
}

#image {
    text-align: center;
    vertical-align: middle;
}

footer{
    display: flex;
}

footer, nav{
    background-color: rgb(18, 58, 59, 0.9);
    color: white;
    padding: 20px 20px;
}

#contact{
    text-align: right;
}

footer section{
    width: 50%;
    padding: 20px;
}

a{
    color:  #318F94;
    text-decoration: none;
}

footer a, nav a{
    color: #BEE8EB;
}

a:hover{
    color: #FF70A7;
}

.logo{
    height: 40px;
}

/* 
ul.carousel {
  width: 40%;
  height: 300px;
  padding: 0px;
  display: flex;
  /* gap: 1vw;
  margin-top: 80px;
}

li.carousel {
  list-style-type: none;
  padding: 0px;
  flex: 0 0 100%;
}

ul.carousel {
  overflow-x: hidden;
  scroll-snap-type: x mandatory;
  overflow-y:hidden;
}

li.carousel {
  scroll-snap-align: center;
}

ul.carousel::scroll-button(*) {
  border: 0;
  font-size: 2rem;
  background: none;
  color: black;
  opacity: 0.7;
  cursor: pointer;
}

ul.carousel::scroll-button(*):hover,
ul.carousel::scroll-button(*):focus {
  opacity: 1;
}

ul.carousel::scroll-button(*):active {
  translate: 1px 1px;
}

ul.carousel::scroll-button(*):disabled {
  opacity: 0.2;
  cursor: unset;
}
ul.carousel::scroll-button(left) {
  content: "◄" / "Previous";
}

ul.carousel::scroll-button(right) {
  content: "►" / "Next";
}
ul.carousel {
  anchor-name: --my-carousel;
}

ul.carousel::scroll-button(*) {
  position: absolute;
  position-anchor: --my-carousel;
}
ul.carousel::scroll-button(left) {
  right: calc(anchor(left) - 150px);
  bottom: calc(anchor(top));
}

ul.carousel::scroll-button(right) {
  left: calc(anchor(right) - 150px);
  bottom: calc(anchor(top));
} */


.onlyBigScreen{
    visibility: visible;
}

.onlyLittleScreen{
    display: none;
    visibility: hidden;
    width: 0px;
    height: 0px;

}

@media (max-width:800px){
    main{
        margin: 20px;
    }

    .horizontalNav{
        display: block;
    }

    .horizontalNav li, .noType li{
        padding: 10px;
        margin: 0px;
    }

    ul.noType{
        padding: 0px;
        margin: 0px;
    }

    #presentation{
        display: block;
    }

    footer, footer ul.horizontalNav{
        display: block;
        padding: 0px;
        margin: 0px;
    }

    footer *{
        text-align: center;

    }

    footer section{
        padding:10px;
        margin: 0px;
        width: auto;

    }

    .onlyBigScreen{
        display: none;
        visibility: hidden;
        width: 0px;
        height: 0px;
    }

    .onlyLittleScreen{
        display: inline;
        width: auto;
        visibility: visible;
    }
}