:root {
  --background-color: darkred;
  --text-color: white;
  --combo1-color1: #1d3c25;
  --combo1-color2: #578f53;
  --combo1-color3: #eadfce;

  --combo2-color1: #b72818;
  --combo2-color2: #bc6022;
  --combo2-color3: #e8c599;

  --combo3-color1: #ede8e4;
  --combo3-color2: #e24c4f;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

button {
  background: inherit;
  border: none;
  cursor: pointer;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-align: center;
  color: white;
  background: var(--background-color);
}

.head {
  background: var(--background-color);
  margin: 0 5%;
  padding: 10px 0;
  border-bottom: 1px solid red;
  box-shadow: 0 20px 20px -15px red;
}
.main {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin: 0 5px;
}
.mobile-image {
  display: none;
}
.mainProjects {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  max-height: 300px;
}
@keyframes elevate {
  from {
    top: 0;
  }
  to {
    top: 5px;
  }
}
.mainProjectImage1 {
  display: none;
}
.mainProjectImage2 {
  display: none;
}

.miniProjects {
  display: flex;
  gap: 10px;
  flex-direction: column;
  margin: 15px 5px;
}
.project {
  display: none;
}

@media only screen and (max-width: 550px) {
  .main {
    margin-top: 20px;
    flex-direction: column;
    gap: 20px;
  }
  .desktop-image {
    display: none;
  }
  .mobile-image {
    display: inline;
    box-shadow: 0 0 1px 10px var(--combo2-color2);
  }
  .mainProjects {
    flex-direction: row;
    gap: 7px;
    margin: 20px 2%;
  }
  .project {
    display: inline;
    background: var(--combo2-color1);
    color: var(--text-color);
    padding: 10px 15px;
    border-radius: 25px;
    text-decoration: none;
  }
  .mainProjectImage1 {
    display: inline;
    position: relative;
    top: 0;
    margin: 5px;
    width: 80px;
    animation-name: elevate;
    animation-duration: 1s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
  }
  .mainProjectImage2 {
    display: inline;
    position: relative;
    top: 0;
    margin: 5px;
    width: 40px;
    animation-name: elevate;
    animation-duration: 1s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    animation-delay: 1s;
  }
  .mainProjectInfo {
    display: none;
  }
}
