
@font-face {
  font-family: roboto;
  src: url(fonts/Roboto-Bold.ttf);
}


@font-face {
  font-family: roboto-light;
  src: url(fonts/Roboto-Light.ttf);
}

body{
  background-color: rgb(248, 248, 243);
}

.header{
    -webkit-animation: fadein 1s;
    -moz-animation: fadein 1s;
    -ms-animation: fadein 1s;
    -o-animation: fadein 1s;
    animation: fadein 1s;
    width: 100%;
}

.content{
  width: 100%;
  margin-top: 20px;
  -webkit-animation: fadein 2s;
  -moz-animation: fadein 2s;
  -ms-animation: fadein 2s;
  -o-animation: fadein 2s;
  animation: fadein 2s;
}

.footer{
  margin-top: 50px;
}

.summary{
    margin-right: 20px;
}

.category{
  margin-bottom: 50px;
}

.work{
  margin-top: 15px;
  display: grid;
}

.period{
  font-style: italic;
}

.tags{
  margin-top: 5px;
}

.tag{
  background-color: rgb(161, 161, 161);
  color: white;
  padding-left: 10px;
  padding-right: 10px;
}

h1, h2, h3, h4, h5{
  font-family: roboto;
  margin: 0px;
}

h2{
  color: rgb(255, 255, 255);
  background-color: rgb(77, 66, 66);
  max-width: max-content;
  padding-left: 30px;
  padding-right: 10px;
}

h3{
  margin-bottom: 10px;
}

p{
  margin: 0px 0px 8px 0px;
  font-family: roboto-light;
}

.esn{
  margin-left: 10px;
  font-style: italic;
  color: gray;
}

.button{
  font-family: roboto;
  text-decoration: none;
  background-color: rgb(255, 234, 0);
  font-size: 20px;
}

.button:hover{
  background-color: black;
  color: rgb(255, 234, 0);
}

.button-selected{
  font-family: roboto;
  text-decoration: none;
  font-size: 20px;
  color: rgb(255, 234, 0);
  background-color: black;
}

.menu{
  padding: 0;
  list-style-type: none;
  display: inline-flex;
}

ul{
  font-family: roboto-light;
}

li{
  margin-right: 10px;
}

hr{
  border-top: dotted 2px;
  margin: 20px 10px 20px 0px;
  width: 30%;
  color: gray;
  text-decoration-thickness: 3px;
}

u{
  text-decoration-color: rgb(238, 215, 11);
  text-decoration-style: dotted;
  text-decoration-thickness: 3px;
  font-weight: bold;
}

u:hover{
  text-decoration-color: black;
}

a{
  text-decoration: none;
  color: black;
}

.courriel{
  margin-top: 10px;
  font-style: italic;
  background-color: rgb(255, 234, 0);
  max-width: max-content;
}

.point{
  padding-top: 5px;
  color: grey;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.spacerBottom10{
  margin-bottom: 10px;
}

@media (orientation: portrait) {
  .card {
    width: 90%;
    margin-bottom: 10%;
  }

  .summary{
    width: 100%;
  }

  .images{
    width: 100%;
    margin-top: 30px;
  }

  h1{
    font-size: 100px;
  }

  h2{
    font-size: 30pt;
  }

  h3{
    font-size: 20pt;
  }

  p, ul{
    font-size: 20pt;
  }

  .button, .button-selected{
    font-size: 40px;
  }
}

@media (orientation: landscape) {
  .card {
    width: 65%;
    margin-top: 2%;
  }

  .summary{
    width: 80%;
  }
  

  .content{
    display: flex;
  }

  h1{
    font-size: 60px;
  }

  p, ul{
    font-size: 13pt;
  }

  .button, .button-selected{
    font-size: 20px;
  }
}


@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}