html, body {
margin: 0;
scroll-behavior: smooth;
overflow-x: hidden;
}

* {
box-sizing: border-box;
}
img, picture, video, audio, canvas, svg {
display: block;
width: 100%;
max-width: 100vw;
height: auto;
}
input, button, textarea, select {
font: inherit;
font-size: 16px;
}

section, aside, footer, header {
width: 100%;
max-width: 1200px; /* 1600px */
display: flex;
flex-direction: column;
margin-inline: auto;
padding-inline: 16px;
}


@font-face {
font-family: 'Fleur mirage';
src: url('./FleurMirage-Regular.woff2') format('woff2');
}



body {
    background-color: #433A37;
}

main{
    margin-left: 160px;
    margin-right: 160px;
    margin-bottom: 160px;
}

section{
    margin-bottom: 80px;
}



#menu{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: #F4F3EE;
    white-space: nowrap;
    text-decoration: none;
}

#menu:hover{
    color: #E0AFA0;
}

header ul{
    list-style: none;
    gap: 24px;
    display: flex;
    flex-direction: row;
    justify-content: right;
}

.header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}



h1{
    font-family: "Fleur mirage";
    color: #F4F3EE;
    font-weight: normal;
    display: flex;
    flex-direction: column;
}

.suzie{
    font-size: 140px;
    display: flex;
    justify-content: left;
    padding-left: 140px;
}

.bouchart{
    font-size: 230px;
    display: flex; 
    justify-content: center;
}

h2{
    font-family: "Mynerve" ;
    color: #F4F3EE;
    font-weight: normal;
    font-size: 40px;
    text-align: right;
    margin-bottom: 160px;
}



h3{
    font-family: "Fleur mirage";
    color: #151413;
    font-weight: normal;
    font-size: 48px;
    text-align: center;
}

#home-p {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 40px;
    color: #F4F3EE;
}



.about-me-title {
    display: flex;
    justify-content: center;
    position: relative;
}

#about-me-text{
    position: absolute;
    left: 50%;
    top: 25%;
    transform: translate(-50%, -50%);
    background-color:#E0AFA0;
}

#card-key{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 65px;
}

#languages-things{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 65px;
}

#carousel {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.my-work-title {
    display: flex;
    justify-content: center;
    position: relative;
}

#my-work-text{
    position: absolute;
    left: 50%;
    top: 25%;
    transform: translate(-50%, -50%);
    background-color:#E0AFA0;
}

#home-p a{
    color: #E0AFA0;
}



.contact-me-title {
    display: flex;
    justify-content: center;
    position: relative;
}

#contact-me-text{
    position: absolute;
    left: 50%;
    top: 25%;
    transform: translate(-50%, -50%);
    background-color:#E0AFA0;
}

.contact-card{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 32px;
}



footer{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    background-color: #E0AFA0;
}

.footer-bg{
    background-color: #E0AFA0;
    width: 100%;
    overflow-x: hidden;
}

footer ul{
    list-style: none;
    gap: 56px;
    display: flex;
    flex-direction: column;
    justify-content: left;
    gap: 8px;
    padding-left: 0;
}

h4{
    font-family: "Fleur mirage";
    color: #151413;
    font-weight: normal;
    font-size: 24px;
    margin-bottom: 0;
}

.center-footer{
    display: flex;
    flex-direction: column;
    align-items: center;
}

#links-footer{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: #151413;
    white-space: nowrap;
    text-decoration: none;
}

#links-footer:hover{
    color: #433A37;
}




a:focus-visible,
button:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
input:focus-visible {
outline-offset: 2px;
outline: #F4F3EE 2px solid;
transition: none;
}




@media (max-width: 1024px) {
  main {
    margin-left: 32px;
    margin-right: 32px;
    margin-bottom: 96px;
  }
  #card-key,
  #languages-things {
    flex-direction: column;
    gap: 32px;
    align-items: center;
  }
  #card-key img:last-child {
    display: none;
  }
  #carousel {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
}

@media (max-width: 600px) {
  main {
    margin-left: 16px;
    margin-right: 16px;
    margin-bottom: 80px;
  }
}

@media (max-width: 1150px) {
  .suzie {
    font-size: 96px;
    padding-left: 0;
    justify-content: center;
  }

  .bouchart {
    font-size: 140px;
  }

  h2 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 96px;
  }
}

@media (max-width: 700px) {
  .suzie {
    font-size: 64px;
  }

  .bouchart {
    font-size: 72px;
    line-height: 1;
    text-align: center;
  }

  h2 {
    font-size: 22px;
    margin-bottom: 64px;
  }
}

@media (max-width: 768px) {
    #home-p {
    font-size: 20px;
    line-height: 1.6;
    text-align: left;
  }

    .contact-card {
    flex-direction: column;
    align-items: center;
  }

  footer {
    flex-direction: column;
    gap: 32px;
    padding: 32px 16px;
    text-align: center;
  }

  footer ul {
    align-items: center;
  }
}

@media (max-width: 460px) {
  .header {
    flex-direction: column;
  }
  header ul{
    padding-left: 0;
  }
}

@media (max-width: 530px) {
  h3 {
    font-size: 32px;
  }
}