
body {
  background-attachment: fixed;
  border-radius: 75px;
  background-color: #050220;
}

header {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 75%;
  position: fixed;
  height: 75px;
  width: 100%;
  color: white;
  background-color: rgb(0, 0, 36);
  font-family: "Rubik";
  font-size: 2em;
  padding: 10px;
  z-index: 10;
}

h1 {
  font-size: 4rem;
  font-family: "Rubik";
  color: white;
  margin-top: 100px;
  color: gold;
  text-align: center;
  margin-bottom: 25px;
}

h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  margin-top: 30px;
  color: white;
}

p {
  font-size: 1.125rem;
  color: white;
}

button {
  width: 200px;
  margin: 40px;
  height: 50px;
  border-radius: 50px;
  font-size: 25px;
  transition: background-color 0.3s linear;
}

a {
    text-decoration: none;
    font-size: 1.125rem;
    color: cadetblue;
}

a:hover {
    color: gold;
}

img {
    margin-bottom: 25px;
}

div p {
    text-align: center;
}

.also {
    margin-bottom: 75px;
    padding: 30px;
}

.block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  border-radius: 50px;
  background: linear-gradient(to bottom, #060b17, #0a1226);
  padding: 50px;
  padding-bottom: 100px;
  z-index: 1;
}

.block#proj1{
    transform: translateY(-50px);
}
.block#proj2{
    transform: translateY(-100px);
}
.block#proj3{
    transform: translateY(-150px);
}

.proj-img {
  height: 400px;
  width: auto;
  border-radius: 5%;
  border: 3px solid darkgray;
}

.img-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3%;
    margin-top: 40px;
    margin-bottom: 40px;
}

@media (max-width: 767px) {

  h1 {
    font-size: 3rem;
  }

  header {
    height: 65px;
    gap: 50%;
    font-size: 19px;
  }

  .proj-img {
    height: 175px;
  }
}

@media (min-width: 320px) and (max-width: 370px) {
    .proj-img {
        height: 130px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {

  header {
    gap: 60%
  }
  
  h1 {
    font-size: 2.9rem;
  }

  .proj-img {
    height: 280px;
  }
}

@media (min-width: 992px) and (max-width: 1024px) {

  header {
    gap: 60%
  }
}