:root {
  --content-width: 65rem;
}

*,
*:after,
*:before{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";;
}

li {
  list-style: none;
}

a {
  color: currentColor;
  text-decoration: none;
}

strong, b {
  font-weight: 500;
}

hr {
  border: 1px solid black;
  margin: 8px 0;
}

@font-face {
  font-family: "Popins regular";
  src: url("assets/fonts/Poppins-Regular.ttf");
}

@font-face {
  font-family: "Popins bold";
  src: url("assets/fonts/Poppins-Bold.ttf");
}


@font-face {
  font-family: "Popins black";
  src: url("assets/fonts/Poppins-Black.ttf");
}


body {
    font-family: "Poppins regular", sans-serif;
    overflow-x: hidden;
    margin: 25px;
    background-color: rgb(255, 240, 0);
    max-width: 1920px;
}

h2 {
  font-size: 3em;
}

h3{
  font-size: 24px;
  line-height: 28px;
  margin-bottom: 24px;
    
}
header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

p {
  font-size: 20px;
  line-height: 28px;
  margin-bottom: 24px;
    
}

.uys {
    font-size: 14em;
    line-height: 200px;
    margin: unset;
    width: 50vw;
    font-weight: bold;
}

.logo {
  position: fixed;
  right: -10em;
}

.logo img{
  /*animation: rotation 6000ms infinite linear;*/
  height: 100vh;
}

.content {
  width: 50%;
}

.projets {
  margin-top: 2em;
}
@keyframes rotation {
   0% { transform: rotate(0deg);  }
   100% { transform: rotate(360deg); }
}

.presentation p {
  font-size: 34px;
  line-height: 40px;
}

.projets {
  font-size: 1.2em;
}

.socials {
  display: flex;
    justify-content: space-between;
}

.gallery {
  margin: 25px 0px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(325px, 1fr));
  grid-auto-rows: 325px;
  grid-gap: 25px;
}

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

footer {
  margin: 25px 0px;
  text-align: center;
}

.calendar {
  margin: 3em 0;
}

.calendar h3{
  margin-bottom: 1em;
}

.calendarHead {
  text-transform: uppercase;
  font-weight: bold;
}

.calendarHead, .calendarEvents {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
}

.table-cell {
  box-sizing: border-box;
  flex-grow: 1;
  width: 100%;
  overflow: hidden;
  list-style: none;
  margin-left: 2% ;
  width: 20%;
}

.date {
  width: 10%;
}

.place {
  width: 45%;
}
.table-cell:first-child {
  margin: unset;
}



@media screen and (max-width: 1030px) {
  .logo img {
    height: 85vh;
  }
  .uys {
    font-size: 10em;
    line-height: 140px;
  }
  h2 {
    font-size: 1.5em;
  }
  .presentation {
    font-size: 1.3em;
  }

  .projets {
    font-size: 1em;
  }
  
}

@media screen and (max-width: 815px) {
  .logo img {
    height: 65vh;
  }
 .content {
    width: 60%;
 } 

 .calendarEvents {
  flex-direction: column;
 }
 .table-cell {
  width: unset;
  margin: unset;
 }
}

@media screen and (max-width: 630px) {
  .logo img {
    height: 50vh;
  }
 .content {
    width: 70%;
 } 
}

@media screen and (max-width: 530px) {
  .logo {
    position: absolute;
    right: 1em;
  }
  .logo img {
    height: 35vh;
  }
 .content {
    width: 100%;
 } 
}


@media screen and (max-width: 420px) {
  .logo img {
    height: 24vh;
  }
}


@media screen and (max-width: 320px) {
  .logo {
    right: -5em;
  }

  .uys {
    font-size: 6em;
    line-height: 85px;
  }
  h2 {
    font-size: 1.3em;
  }
  .presentation {
    font-size: 1em;
  }

  .projets {
    font-size: 1em;
  }
}