@import url('https://fonts.googleapis.com/css2?family=Cherry+Bomb+One&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root{
  --text: #0f0d11;
  --background: #f9f9fa;
  --primary: #7d6a9a;
  --secondary: #bbb1cd;
  --accent: #9d8cba;

  --border-width: 3px;
  --border-style: solid;
  --border-color: var(--text);
  --border-radius: 25px;

  --border: var(--border-width) var(--border-style) var(--border-color);
}

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

html, body {
  height: 100%;
  margin: 0 auto;
  font-weight: 500;
}

body{
  font-family: 'Poppins', sans-serif;
  background-color: var(--background);
  display: flex;
  flex-direction: column;
}

a{
  text-decoration: none;
  display: inline-block;
  &:hover{
    color: var(--accent);
    transform: scale(1.1);
  }
  &:visited{
    color: var(--secondary);
  }
}


main{
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
}

section{
  max-width: 1200px;
  margin: 1em auto;
}
section h2{
  font-size: 3em;
  line-height: 1.5em;
}

header{
  border-bottom: var(--border);
}

nav{
  max-width: 1200px;
  margin: 0 auto;
  padding: 1em 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav h1{
  font-size: 3em;
  font-family: 'Cherry Bomb One', cursive;
  font-weight: 400;
}
nav h1 a{
  color: var(--primary) !important;
}

hr{
  border: none;
  border-top: var(--border);
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
img{
  border-radius: 25px;
  border: var(--border);
  object-fit: cover;
}

footer {
  border-top: var(--border);
  padding: 1.5em;
  text-align: center;
}

.nav-links{
  display: flex;
  gap: 2em;
  font-weight: 600;
  list-style: none;
  font-size: 1.5em;
  & li a{
    color: var(--text);
  }
}

.btn, button{
  padding: 0.7em 2.5em;
  border-radius: 1.5em;
  font-size: 1.5em;
  color: var(--background) !important;
  cursor: pointer;
  border: none;
  &:hover{
    transform: scale(1.05);
  }
}

.btn-primary{
  font-weight: 700;
  background-color: var(--primary);
}
.btn-secondary{
  color: var(--text) !important;
  background-color: var(--secondary);
}

.flag-icon{
  width: 16pt;
}
.lang-btn{
  display: flexbox;
  align-items: baseline;
  cursor: pointer;
}