@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:ital,wght@0,100..900;1,100..900&family=New+Amsterdam&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Outfit:wght@100..900&display=swap');

body{
    margin-left: 100px;
    margin-right: 100px;
    background-color: rgb(31, 31, 31);
    font-family: "Montserrat", sans-serif;
    color: white;
    height: 100%;
}

header{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header img{
    width: 300px;
}

.socials{
    list-style: none;
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
    margin-right: 40px;
}

.socials a{
    text-decoration: none; 
    font-size: 40px; 
    color: white; 
    transition: all 0.05s ease;
}

.socials a:hover{
    color: #7ed957;
}

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

.author p{
    color: white;
    margin-top: -35px;
    cursor: default;
}

nav{
    list-style: none;
    display: flex;
    gap: 2.5rem;
    margin: 0;
    padding: 10px;
    justify-content: center;
    border-radius: 8px;
    background-color: rgb(40, 42, 45);
}

nav a{
    text-decoration: none;  
    color: white; 
    font-weight: 400;
    transition: all 0.1s ease;
    cursor: pointer;
}

nav a:hover{
    color: #7ed957;
}

main {
  flex: 1;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

footer{
    margin-top: 30px;
    font-size: 13px;
    padding: 15px;
}

.copy{
    color: white;
    font-size: 13px;
    text-align: center;
}

footer span{
    font-weight: bold;
}

.main-nav {
  position: relative;
}
.nav-toggle {
  display: none;          
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
}
.nav-list {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.active{
    color: #7ed957;
}

.raccourcis li{
    list-style: none;
}

.raccourcis a{
    text-decoration: none;
    color: white;
    transition: all 0.1s ease;
}

.raccourcis a:hover{
    color: #7ed957;
}

.contain{
    display: flex;
    justify-content: space-around;
}

#main-img{
  width: 100%;
  margin-top: 20px;
  border-radius: 8px 8px 0 0;
}

@media (max-width: 1000px) {
  header {
    flex-direction: column;     
    gap: 1rem;                 
  }
  .logo,
  .socials {
    text-align: center;
    margin-top: -60px;
    margin-right: 0;
  }

  #main-img{
  width: 100%;
  margin-top: 20px;
  border-radius: 0;
}

  .author{
    margin-top: 30px;
  }

  body{
    margin-left: 20px;
    margin-right: 20px;
  }

  .nav-toggle {
    display: block;     
    color: #7ed957;
  }
  .nav-list {
    display: none;     
    flex-direction: column;
    gap: 0rem;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #181818;
    border-top: 1px solid #333;
    box-shadow: 2px 2px 2px 2px #353434;
  }

  .main-nav.open .nav-list {
    display: flex;     
  }
  .nav-list li + li {
    margin-top: 0.5rem;
  }
  .nav-list a {
    display: block;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: #fff;
  }
  .nav-list a.active {
    color: #7ed957;
  }
}