/* styles.css */
body {
  font-family: Montserrat, Arial, sans-serif;
  min-width: 375px;
  font-size: 1.1rem;
}

nav {
  display: none;
}

nav ul {
  list-style: none;
  padding: 0;
  text-align: center;
}

nav ul li {
  display: inline;
  margin-right: 20px;
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: 700;
  font-size: 1.5rem;
}

section {
  padding: 10px 40px;
  text-align: center;
}

section#trivia p,
section#trivia ul {
  text-align: left;
}

.hero {
  background-image: url('./images/bubbles-dark.webp');
  background-size: cover;
  background-position-y: -40px;
  background-repeat: no-repeat;
  position: relative;
  min-height: 300px;
}

.social-header {
  position: absolute;
  right: 30px;
}

.social-header img {
  padding: 10px;
  width: 20px;
}

.social-header img.linked-in {
  width: 25px;
}

.social-header img.blog {
  width: 22px;
}

.social-header a {
  text-decoration: none;
}

#welcome {
  color: white;
  text-align: left;
  font-size: 2rem;
}

.text-group {
    display: inline-block;

    h1, p {
      margin: 0;
    }
}

.logo {
  position: absolute;
  top: 250px;
  left: 30px;
  width: 100px;
}

.vince {
  float: right;
  width: 150px;
  padding-left: 30px;
}

.service-item {
  margin: 20px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #eee;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: black;
  color: white;
  text-decoration: none;
  margin-top: 20px;
  font-size: 1rem;
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 700;
  border: none;
}

form {
  max-width: 400px;
  margin: 0 auto;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

input,
textarea {
  font-family: Montserrat, Arial, sans-serif;
  width: 100%;
  padding: 8px;
  margin-bottom: 16px;
  box-sizing: border-box;
}

.quote {
  font-style: italic;
}

.quote .quote-list {
    display: list-item;
    text-align: left;
    margin-left: 3em;
}

.quote .quote-list:first-child {
  padding-top: .5em;
}

.quote .quote-list:last-child {
  padding-bottom: .5em;
}

footer {
  background-color: black;
  color: white;
  text-align: center;
  padding: 10px 0;
}

.social img {
  padding: 10px;
  width: 40px;
}

.social img.linked-in {
  width: 50px;
}

.social img.blog {
  width: 45px;
}

.social a {
  text-decoration: none;
}

.modal {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  width: 450px;
  padding: 1.3rem;
  min-height: 250px;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  border: 3px solid black;
  border-radius: 15px;
  z-index: 2;
}

.modal p {
  margin: 0.4rem 0 0.2rem;
}

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  z-index: 1;
}

.hidden {
  display: none;
}

@media only screen and (min-width: 420px) {
  .hero {
    min-height: 260px;
  }

  .logo {
    top: 200px;
  }
  
}

@media only screen and (min-width: 570px) {
  .hero {
    min-height: 220px;
  }

  .logo {
    top: 170px;
  }
}

@media only screen and (min-width: 640px) {
  nav {
    display: block;
  }

  .logo {
    top: 200px;
  }
}
