@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  --primary: #ffc906;
}

.montserrat-regular {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

html {
  padding: 0;
  margin: 0;
}

body {
  font-family: "Montserrat", sans-serif;
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

/* NAVBAR */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.navbar-logo {
  font-size: 24px;
  font-weight: 700;
}

.navbar-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.navbar-link {
  padding: 10px;
  cursor: pointer;
  font-weight: 700;
  transition: background-color 0.3s ease;
  &:hover {
    background-color: black;
    color: white;
  }
}

.dropdown {
  position: relative;
  cursor: pointer;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  padding: 0px;
  background-color: #fff;
  background-color: #33373d;
}

.dropdown-menu-item {
  list-style: none;
  cursor: pointer;
  padding: 10px 20px;
  white-space: nowrap;
  transition: background-color 0.3s ease;
  &:hover {
    background-color: #747474;
  }
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* ANNOUNCEMENT */

.announcement {
  background-color: #ffc906;
  color: white;
  padding: 0px 20px;
  text-align: center;
  height: 50px;
  display: flex;
  justify-content: flex-end;
  overflow: hidden;
  align-items: center;
}

.announcement-item {
  padding: 0px 30px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: black;
  &:hover {
    background-color: black;
    color: white;
    cursor: pointer;
    scale: 1.2;
    transition: all 0.3s ease;
  }
}

.hero {
  min-height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url(https://www.rwgaragedoors.com/wp-content/uploads/2022/07/4-1.jpg)
    no-repeat center center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 900px;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  color: white;
  padding: 20px;
  text-align: left;
  border-radius: 10px;
}

.hero-title {
  font-size: 45px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0px;
  max-width: 50%;
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 600;
  color: white;
  letter-spacing: 0px;
}

.hero-description {
  font-size: 16px;
  font-weight: 400;
  color: white;
  letter-spacing: 0px;
  max-width: 50%;
}

.hero-button {
  background-color: var(--primary);
  color: black;
  padding: 10px 30px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0px;
  cursor: pointer;
  border: none;
}
