html,
body {
  padding: 0;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
    Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
}

#myVideo {
  position: fixed;
  object-fit: cover;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
}

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

* {
  box-sizing: border-box;
}

main {
  z-index: 5;
  min-height: 100vh;
  padding-top: clamp(20px, 30vh, 70vh);
  padding-left: 10%;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  color: white;
}

/* name containter */
.nameContainer {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-start;


}

.whiteBar {
  width: 10px;
  height: 200px;
  background-color: white;
}

.dominic {
  font-family: Arial Black, Arial Bold, Gadget, sans-serif;
  font-size: 50px;
  padding-left: 20px;

}

/* text containter */
.textContainer {
  display: flex;
  flex-direction: column;
  width: 80vh;
  padding-left: 25px;
}

.aboutMe {
  margin-top: 20px;
  height: 10vh;
  min-width: 220px;
  max-width: 33vw;
  background-color: rgba(0, 0, 0, 0.75);
  border-radius: 5px 10px 5px 10px;
  color: white;
  display: flex;
  justify-content: left;
  align-items: center;
}

.aboutMe p {
  margin-left: 10px;
  
}

.email {
  margin-top: 20px;
 
  height: 5vh;
  min-width: 170px;
  max-width: 15vw;
  background-color: rgba(61, 0, 39, 0.7);
  color: #949494;
  border-radius: 5px 10px 5px 10px;
  display: flex;
  justify-content: left;
  align-items: center; 
}

.email a {
  margin-left: 10px;
}



.title {
  margin: 0;
  line-height: 1.15;
  font-size: 4rem;
}

.title,
.description {
  text-align: center;
}

.description {
  margin: 4rem 0;
  line-height: 1.5;
  font-size: 1.5rem;
}

.code {
  background: #fafafa;
  border-radius: 5px;
  padding: 0.75rem;
  font-size: 1.1rem;
  font-family: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono,
    Bitstream Vera Sans Mono, Courier New, monospace;
}

.grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 800px;
}

.card {
  margin: 1rem;
  padding: 1.5rem;
  text-align: left;
  color: inherit;
  text-decoration: none;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  transition: color 0.15s ease, border-color 0.15s ease;
  max-width: 300px;
}

.card:hover,
.card:focus,
.card:active {
  color: #0070f3;
  border-color: #0070f3;
}

.card h2 {
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
}

.card p {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.5;
}



@media (max-width: 600px) {
  .grid {
    width: 100%;
    flex-direction: column;
  }
}