:root {
    --font-size: 16px;
    --primary-color: #f5ae14;
    --text-color: #f1f3f3;
    --background-light: #1b1b1b;
    --header-height: 100vh;
}

@font-face {
    font-family: Texts;
    src: url("assets/fonts/Be Kind To The Earth.otf");
}

@font-face {
    font-family: Liaison;
    src: url("assets/fonts/Dangerless Liaisons.otf");
}

@font-face {
    font-family: Titles;
    src: url("assets/fonts/Beautiful Heartbeat.otf");
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Texts';
    font-size: 16px;
    color: #f8fafa;
    line-height: 1.5;
    overflow-x: hidden;
}

nav {
    position: fixed;
    padding: 25vh 0;
    font-size: 25px;
}

nav ul {
    list-style:none;
    margin: 0 auto;
    padding: 0;
    text-align: left;
    align-items:center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration:none;
    font-family: 'Texts';
    vertical-align: left;
}

.top-background {
    background: linear-gradient(rgba(240, 159, 52, 0.493), rgba(222, 64, 236, 0.527)),
        url("assets/space.jpg") center center fixed;
    background-size: cover;
    height: 100vh;
}

.top-topline{
    color :rgba(255, 228, 247, 0.525);
    margin: 0 0;
    padding-top: 50px;
    font-family: 'Liaison';
    text-align: center;
    font-size: 8vw;
}

.top-centered{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.top-centered img {
    width: 75vw;
    max-width: 500px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#about {
    background-color: rgb(128, 44, 133);
    padding: 15px;
    margin: 0;
    text-align: center;
}

#portfolio {
    background-color: rgba(255, 228, 247, 0.466);
    color: rgb(0, 0, 0);
    border-radius: 0.5%;
    text-align: center;
    padding-top: 100px;
    margin-bottom: 0px;
}

#contact {
    background-color: rgb(128, 44, 133);
    padding: 15px;
    border-radius: 0.5%;
    text-align: center;
    padding-bottom: 25px;
}

.project {
    width:1250px;
  margin:0 auto;
    padding-top: 50px;
    padding-bottom: 50px;
    padding-left: 15px;
    padding-right: 15px;
}

.project-content-row
{
    display:flex;
    flex:content;
    justify-content:space-evenly;
    flex-direction:row;
    text-align: left;
    margin-top: 25px;
    margin-bottom: 25px;
}

.project-content-column
{
    display:flex;
    flex:50%;
    flex-direction:column;
    text-align: left;
    padding-left: 15px;
    padding-right: 15px;
    white-space: pre-line;
}



.links-btn {
    padding: 0;
    border: 5px solid transparent;
    background-color: #ffffff00;
}
.links-btn:hover
{
     border: 5px solid rgb(243, 155, 24);
}

footer {
    background-color: #0e0e0e;
    text-align: center;
    font-size: 12px;
    padding: 10px;
}

/*Titres des projets*/
h1 {
    color: rgb(243, 155, 24);
    font-family:'Titles';
    text-align: left;
    font-size: 2.7rem;
    margin-top: 0;
    margin-bottom: 0;
}

/*Titres de sections*/
h2 {
    padding: 15px;
    margin-top: 0px;
    margin-bottom: 0px;
    color: rgb(243, 155, 24);
    font-family:'Titles';
    font-size: 4rem;
}

/*Liens cliquable*/
a {
    color: rgb(243, 155, 24);
    transition: color 0.2s ease-in-out;
}

p {
    color: rgb(255, 255, 255);
    margin: 0;
}

a:hover {
    color: #ffdb98;
    padding-left: 30px;
    transition: padding-left 0.1s ease-in-out;
}

  @media only screen and (max-width: 1600px) {
      /* MAKES LEFT MENU DISAPEAR ON SMALL SCREENS AKA MOBILES*/
      nav ul {
          display: none;
        }
}

  @media only screen and (max-width: 1250px) {      
        /* MAKES LEFT AND RIGHT MARGINS DISAPEAR*/
.project
{
    margin-left: 0%;
    margin-right: 0%;
width: 100%;/* The width is 100%, when the viewport is 768 or smaller */
}
.project-content-row{
    flex-direction:column;
}
}
/***********************************/

/*USED TO ANIMATE MY NAME ON TOP OF SITE*/
.wavy {
  animation-name: wavy;
  animation-duration: 1.3s;
  animation-timing-function: ease;
  animation-iteration-count: infinite;
  position: relative;
  top: 0;
  left: 0;
}
@keyframes wavy {
  0% {
    top: 0px;
  }
  50% {
    top: -15px;
  }
  100% {
    top: 0px;
  }
}