/* ==========================================
   MODERN CSS RESET
   ========================================== */

/* 1. Use a more intuitive box-sizing model */
*, *::before, *::after {
  box-sizing: border-box;
}

/* 2. Remove default margins to prevent layout bugs */
* {
  margin: 0;
  padding: 0;
}

/* 3. Allow smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* 4. Set core body defaults */
body {
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased; /* Makes typography look crisper */
}

/* 5. Make images easier to work with */
img, picture, svg {
  max-width: 100%;
  display: block;
}

/* 6. Inherit fonts for form inputs and buttons */
input, button, textarea, select {
  font: inherit;
}

/** Global changes */

* {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #333333;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}

body {
  background-color: #f2f0ef;
}

main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 1.5rem;
  padding: 0 1rem;
}

/** Color & type variables */

:root{
  --primary-color: #f2f0ef;
  --secondary-color: #333333;
  --accent-color: #d72839;
  --dark-accent-color: #175677;
  --font-family: "M PLUS Rounded 1c", sans-serif;
}

/** Button design */

.btn-3{
  display: inline-flex;
  height: 50px;
  padding: 0;
  background: var(--accent-color);
  border: none;
  outline: none;
  border-radius: 5px;
  overflow: hidden;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: .2s;
}

.btn-3:hover{
  background: var(--btn-3-hover);
}
  
.btn-3:active{
  background: var(--btn-3-active);
}

.btn-text, .btn-icon{
  display: inline-flex;
  align-items: center;
  padding:0 24px;
  color: var(--primary-color);
  height: 100%;
}

.btn-icon{
  font-size:1.5rem;
  background: var(--secondary-color);
  color: var(--primary-color);
}

/** --header-- */
header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: var(--accent-color);
  color: var(--primary-color);
}

.title{
  color: var(--dark-accent-color);
}

