:root {
    --background: #F5F3EF;
    --card: #FFFFFF;
    --accent: #788973;
    --primary: #000000;
    --secondary: #646464;
    --outline: #DCDCDC;
    --red: #cd282b;
    --light-red: #cf5857;
    --dark-green: #475a42;
}   

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    background-color: var(--background);
    height: 100%;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
    font-family: 'Roboto Serif';
    color: var(--primary);
}

h1, h2 {
    font-weight: 600;
}

h1 {
    font-size: 64px;
}

h2 {
    font-size: 40px;
}

h3 {
    font-size: 24px;
    font-weight: 800;
}

p, a, button {
    font-family: 'Roboto';
    font-weight: 400;
}

button {
    text-decoration: none;
    border: none;
    font-weight: 500;
    color: var(--accent);
}

a {
    text-decoration: none;
    color: var(--primary);
}

p {
    color: var(--secondary);
}

/* NAV SECTION */

nav {
    margin-top: 30px;
    margin-bottom: 100px;
    margin-left: 80px;
    margin-right: 80px;
}

nav button a {
    color: var(--card);
    font-size: 16px;
    font-weight: 500;
    width: 60px;
    height: 30px;
    line-height: 19px;
}

nav button {
    color: var(--card);
    background-color: var(--accent);
    border-radius: 28px;
    width: 130px;
    height: 48px;
}

nav img {
    width: 162px;
    height: 40px;
}

nav section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.nav-link-course {
    margin-right: 48px;
}

/* HEADER SECTION */

header {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 120px;
    margin-left: 80px;
    margin-right: 80px;
}

header img {
    width: 740px;
    height: 540px;
    border-radius: 48px;
}

header h1 {
    margin-bottom: 32px;
    line-height: 75px;
}

header p {
    font-size: 24px;
    line-height: 32px;
}

header div {
    display: flex;
    flex-direction: column;
    width: 600px;
    margin-right: 80px;
}

header button, header a {
    background-color: var(--red);
    color: var(--card);
    border-radius: 50px;
    width: 500px;
    height: 60px;
    font-size: 25px;
    margin-top: 32px;
}

/* MAIN SECTION */

main {
    margin-left: 80px;
    margin-right: 80px;
}

.item-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 80px;
    margin-left: 40px;
    gap: 80px;
}

.item-type-1 {
    background-color: var(--accent);
    width: 400px;
    height: 324px;
    border-radius: 40px;
    padding: 40px;
    display: flex;
    box-shadow: 0px 2px 24px
        rgba(0, 0, 0, 0.1);
}

.item-type-1 h2 {
    color: var(--card);
    line-height: 47px;
    text-align: start;
    margin-right: 40px;
}

.item-type-2 {
    background-color: var(--card);
    display: flex;
    flex-direction: column;
    position: relative;
    width: 400px;
    height: 324px;
    border-radius: 40px;
    padding: 40px;
    justify-content: space-between;
    box-shadow: 0px 2px 24px
        rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.item-type-2 p {
    width: 320px;
    height: 112px;
    line-height: 28px;
    margin-top: 24px;
    margin-bottom: 30px;
}

.item-type-2 button, .item-type-2 a {
    color: var(--card);
}

.tiny-pic {
    width: 90px;
    height: 90px;
    position: absolute;
    top: -25px; right: 50px
}

.tiny-storage {
    width: 90px;
    height: 85px;
    position: absolute;
    top: -22px; right: 50px
}

.tiny-fridge {
    width: 63px;
    height: 85px;
    position: absolute;
    top: -24px; right: 50px
}

main p {
    font-size: 18px;
    font-weight: 400;
}

main button {
    font-size: 18px;
    background-color: var(--accent);
    color: var(--card);
    border: solid 1px var(--outline);
    border-radius: 50px;
    width: 143px;
    height: 48px;
}

nav button {
    font-size: 16px;
}

.about-main {
    padding-bottom: 200px;
}

.about-main div {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 80px;
}

.about-main h1{
    margin-bottom: 20px;
}

.about-main h2{
    margin-top: 30px;
    margin-bottom: 10px;
}

.about-main p{
    text-align: center;
    font-size: 30px;
    line-height: 1.5;
}

.contact-container {
    text-align: center;
    padding: 40px;
  }
  
  .contact-row {
    display: flex;
    justify-content: space-evenly;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
  }
  
  .contact-box {
    background-color: #6d816b;
    color: white;
    font-family: 'Roboto Serif';
    padding: 40px 60px;
    border-radius: 12px;
    font-size: 30px;
    font-weight: bold;
    min-width: 350px;
    text-align: center;
    box-shadow: 0px 2px 24px rgba(0, 0, 0, 0.1);
  }
  
.services-main h3 {
    margin-top: 140px;
    margin-bottom: 120px;
    color: var(--red);
    font-size: 40px;
}

.services-main {
    flex: 1;
    margin: 0;
    padding: 0;
    min-height: 65vh;
}

.pricing-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 60px 20px;
  }
  
  .pricing-card {
    background: white;
    border: 3px solid var(--light-red);
    border-radius: 8px;
    padding: 30px 20px;
    margin: 20px;
    text-align: center;
    width: 250px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .pricing-card h2 {
    font-size: 48px;
    margin: 0 0 20px;
  }
  
  .pricing-card p {
    font-size: 16px;
    margin: 10px 0;
  }
  
  .pricing-card hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 15px 0;
  }
  
  .pricing-card button {
    background-color: #ff5e3a;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
  }
  
  .pricing-card button:hover {
    background-color: #e04827;
  }
  
  /* Ribbon */
  .ribbon {
    background: black;
    color: white;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    line-height: 25px;
    position: absolute;
    top: 12px;
    right: -40px;
    width: 140px;
    transform: rotate(45deg);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
  }

.footer {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 150px;
    background-color: var(--dark-green);
    color: #fff;
    min-height: 140px;
  }

  .footer p, .footer a, footer h3 {
    color: var(--card);
    line-height: 1.5;
  }
  