* {
  padding: 0;
  margin: 0;
  font-family: 'Comfortaa', cursive;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  scroll-behavior: smooth;
  scroll-padding-top: 3rem; }

html {
  overflow-x: hidden; }

body {
  background: #F0F0F0;
  color: #F0F0F0;
  user-select: none;
  -ms-overflow-style: none;
  scrollbar-width: none; }
  body::-webkit-scrollbar {
    display: none; }

span {
  color: #CD0F0F; }

section {
  padding: 10% 15%; }

@media (max-width: 805px) {
  #nav-icon {
    display: block; }
  .nav {
    position: absolute;
    top: -600px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    background: #111010;
    text-align: left;
    transition: all .35s ease; }
    .nav a {
      display: block;
      padding: 1rem;
      margin: 1rem;
      border-left: 2px solid #CD0F0F; }
    .nav.active {
      top: 100%; }
  .about-me {
    grid-template-columns: 1fr; }
  .intro-text {
    text-align: center; }
  .sections-below {
    margin-left: 28%;
    margin-top: 10%; } }

@media (max-width: 480px) {
  .panel-container {
    width: 90vw;
    margin-left: -15%; }
  .panel:nth-of-type(4),
  .panel .panel:nth-of-type(5) {
    display: none; }
  .sections-below {
    margin-left: 17%;
    margin-top: 20%; }
  .skills-content {
    margin-left: 1%; } }

.logo {
  font-size: 1.7rem;
  font-weight: 600;
  color: #F0F0F0; }

.nav a {
  color: #F0F0F0;
  font-weight: 400;
  font-size: 1.1rem; }

#nav-icon {
  font-size: 24px;
  color: #F0F0F0; }

.btn {
  font-size: 1rem;
  font-weight: 600;
  color: #F0F0F0; }
  .btn:hover {
    color: #CD0F0F; }

.intro-text h1 {
  font-size: 5rem;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: 1px;
  cursor: default;
  margin-left: -7.5px; }

.intro-text h2 {
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 1px;
  margin: 0 0 4%;
  cursor: default; }

.intro-text h4 {
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 400;
  margin-bottom: 5%;
  cursor: default;
  margin-left: 7px; }

.sections-below li {
  font-size: 1.2rem;
  font-weight: 400; }

.about-me1 h2 {
  font-size: 3rem;
  font-weight: 400; }

.about-me2 p {
  font-size: 1rem;
  font-weight: 200;
  padding-top: 3%; }

.layer h3 {
  position: absolute;
  width: 100%;
  font-size: 1.2rem;
  font-weight: 400;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: all .35s; }

.layer p {
  position: absolute;
  width: 100%;
  font-size: 0.9rem;
  font-weight: 250;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: all .35s;
  padding-left: 2%;
  padding-right: 2%; }

.layer i {
  position: absolute;
  width: 100%;
  font-size: 2rem;
  font-weight: 250;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: all .35s; }

.layer:hover h3 {
  bottom: 35%;
  opacity: 1; }

.layer:hover p {
  bottom: 20%;
  opacity: 1; }

.layer:hover i {
  bottom: 5%;
  opacity: 1; }

#skills-title {
  text-align: center;
  padding-bottom: 2rem;
  font-size: 3rem; }

.panel-desc {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 350; }

#projects-title {
  text-align: center;
  padding-bottom: 2rem;
  font-size: 3rem; }

.job h3 {
  font-size: 2rem; }

.job h4 {
  margin-top: 2%;
  font-size: 1.6rem; }

.job p {
  margin-top: 2%;
  font-size: 1.2rem; }

#jobs-title {
  text-align: center;
  padding-bottom: 2rem;
  font-size: 3rem; }

input, textarea {
  font-size: 1rem;
  color: #fff; }

input:focus ~ label,
input:valid ~ label,
input:not(:placeholder-shown) ~ label {
  font-size: 0.9rem; }

textarea:focus ~ label,
textarea:valid ~ label {
  font-size: 0.9rem; }

.copyright p {
  font-size: 0.9rem;
  font-weight: 500; }

.btn {
  display: inline-block;
  padding: 1% 3%;
  margin: 15px 0 0 6px;
  background: #CD0F0F;
  border-radius: 30px;
  border: 2px solid transparent;
  transition: ease .30s; }
  .btn:hover {
    transform: translateY(-7px);
    background: transparent;
    border: 2px solid #CD0F0F; }

.card {
  position: relative;
  border-radius: 15px;
  border-style: solid;
  border-color: #CD0F0F;
  min-height: 400px;
  transition: all .35s; }
  .card:hover {
    transform: scale(115%); }
  .card img {
    max-width: 200px;
    max-height: 200px; }

#react-logo,
#node-logo,
#postgresql-logo,
#mongodb-logo,
#github-logo {
  padding-top: 1.5rem; }

#express-logo {
  padding-top: 3rem; }

.layer {
  background: transparent;
  height: 100%;
  width: 100%;
  position: absolute;
  border-radius: 10px;
  top: 0;
  left: 0;
  transition: all .35s; }
  .layer:hover {
    background: linear-gradient(rgba(22, 22, 22, 0.06) 0%, #851f1f 100%); }

#more {
  color: #F0F0F0;
  display: none; }

form {
  width: 90%;
  max-width: 600px; }

.input-group {
  margin-bottom: 30px;
  position: relative; }

input, textarea {
  width: 100%;
  padding: 10px;
  outline: 0;
  border: 1px solid #fff;
  background: transparent; }

input:valid:not(:placeholder-shown) {
  border-color: #1BD754; }

input:focus ~ label,
input:valid:not(:placeholder-shown) ~ label,
input:not(:placeholder-shown) ~ label {
  top: -30px; }

textarea:valid {
  border-color: #1BD754; }

textarea:focus ~ label,
textarea:valid ~ label {
  top: -30px; }

label {
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  padding: 10px;
  color: #fff;
  cursor: text;
  transition: ease-out 0.2s; }

.row {
  display: flex;
  align-items: center;
  justify-content: space-between; }
  .row .input-group {
    flex-basis: 48%; }

#contact-btn {
  cursor: pointer;
  width: 100%; }

.job {
  margin-top: 5%; }
  .job li {
    margin-top: 15px; }

.panel-container {
  display: flex;
  width: 70vw; }

.panel {
  background-size: auto 100%;
  background-position: center;
  background-repeat: no-repeat;
  height: 75vh;
  border-radius: 50px;
  cursor: pointer;
  flex: 0.5;
  margin: 10px;
  transition: flex 0.5s ease-out; }
  .panel.active {
    flex: 5; }
  .panel-desc {
    margin-top: 4%;
    visibility: hidden;
    opacity: 0;
    transition: opacity 3.5s; }
    .panel-desc.show {
      visibility: visible;
      opacity: 1; }

#notesai {
  background-position: left center; }

#portfolio {
  background-position: left center; }

.copyright {
  background: #111010;
  padding: 20px 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center; }

.icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 20px;
  background: #959595;
  border-radius: 50%;
  transition: all .40s; }
  .icons a:hover {
    transform: translateY(-7px); }

header {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #111010;
  padding: 15px 6%; }

.nav {
  display: flex; }
  .nav li {
    position: relative; }
  .nav a {
    padding: 35px 35px; }
    .nav a::after {
      content: '';
      position: absolute;
      width: 0;
      height: 2px;
      background: #CD0F0F;
      left: 0;
      bottom: -3.5px;
      transition: ease .55s; }
    .nav a:hover::after {
      width: 100%; }

#nav-icon {
  z-index: 10001;
  cursor: pointer;
  display: none; }

.contact {
  width: 100%;
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.9), rgba(130, 8, 8, 0.8)), url(../images/contactBG.jpg);
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center; }

.home {
  height: 100vh;
  width: 100%;
  background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(124, 6, 6, 0.8)), url(../images/redBG.jpg);
  background-size: cover;
  background-position: center;
  position: relative;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  align-items: center; }

.intro-text {
  padding-top: 9%; }

.sections-below {
  display: flex;
  margin-top: 8%;
  cursor: default; }
  .sections-below li {
    margin-right: 7%; }

#down-arrow1 {
  padding-left: 30%;
  padding-top: 15%; }

#down-arrow2 {
  padding-left: 40%;
  padding-top: 8%; }

#down-arrow3 {
  padding-left: 30%;
  padding-top: 15%; }

.about-me {
  background: #111010;
  display: grid;
  grid-template-columns: repeat(2, 2fr);
  align-items: center;
  grid-gap: 2rem;
  cursor: default; }
  .about-me1:hover > #about::after {
    width: 75%; }

#about {
  position: relative; }
  #about::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #CD0F0F;
    left: 0;
    bottom: 0;
    transition: ease .55s; }

.jobs {
  background: #3d3d3d; }
  .jobs-container {
    display: flex;
    flex-direction: column;
    gap: 50px; }

.projects {
  background: #111010; }

.skills {
  background: #3d3d3d; }
  .skills-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, auto));
    grid-gap: 6rem;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    margin-top: 1rem; }
