#background {
    background-image: url("images/IMG_0125.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-color: rgba(255,255,255,0.9);
    background-blend-mode: lighten;
    top: 63px;
    right: 0px;
    left: 0px;
    bottom: 0px;
    background-position: center;
    position: fixed;
    z-index: -5;
}

body {
    padding-bottom: 150px;
}

#nav {
    padding-top: 0;
    padding-bottom: 0;
}

.navbg {
    background-color: #757575;
    color: black !important;
}

nav .active {
    color:white !important;
}

.nav-item :hover {
    color:#a9a9a9 !important;
}

.buttonbg {
    border: 1px solid black !important;
    background-color: black;
}

h5 {
    font-family: var(--bs-font-sans-serif) !important;
}

p {
    font-size: 40px;
    font-weight: bold; 
}

#leetcode {
    filter: brightness(0%);
}

footer {
    color:#fff;
  }

.contactcontainer {
    border: 1px solid grey;
    border-radius: 10px;
    padding: 10px;
    margin-top: 5%;
}

@media screen and (max-width: 992px) {
    .desktop-break {display: none;}
    p {font-size: 80px}
    label {font-size: 35px !important}
    h3 {font-size: 45px !important}
    h4 {font-size: 40px !important}
    h5 {font-size: 35px !important}
    h6 {font-size: 30px !important}
    nav a {font-size: 40px !important;}
}

@media screen and (min-width: 993px) {
    .mobile-break {display: none;}
}   

.fade-in {
    opacity:0;
    transition: 4s;
}

.projects {
    opacity: 0;
}

.projects:nth-of-type(1) {
    animation-name: project;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
}

.projects:nth-of-type(2) {
    animation-name: project;
    animation-duration: 1.5s;
    animation-delay: 1.5s;
    animation-fill-mode: forwards;
}

.projects:nth-of-type(3) {
    animation-name: project;
    animation-duration: 1.5s;
    animation-delay: 3s;
    animation-fill-mode: forwards;
}

.projects:nth-of-type(4) {
    animation-name: project;
    animation-duration: 1.5s;
    animation-delay: 4.5s;
    animation-fill-mode: forwards;
}

.projects:nth-of-type(5) {
    animation-name: project;
    animation-duration: 1.5s;
    animation-delay: 6s;
    animation-fill-mode: forwards;
}

.projects:nth-of-type(6) {
    animation-name: project;
    animation-duration: 1.5s;
    animation-delay: 7.5s;
    animation-fill-mode: forwards;
}

@keyframes project {
    0% {
        opacity: 0;
        transform: translate3d(0, 50px, 0);
      }
      20%, 100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
      }
}

.word-in {
    animation: infinite;
    animation-name: fadein;
    animation-duration: 3.0s;
    animation-delay: 2.95s;
}

@keyframes fadein {
    0%, 10% {
        opacity: 0;
        transform: translate3d(0, 50px, 0);
      }
      30%, 70% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
      }

      100% {
          opacity: 0;
          transform: translate3d(0,0,0);
      }
}

@media screen and (max-width: 992px) {
    @keyframes fadein2 {
        0% {
            opacity: 0;
            transform: translate3d(-180%, 0, 0);
        }
        50%, 100% {
            opacity: 1;
            transform: translate3d(0, 0, 0);
        }
    }
}

@media screen and (min-width: 993px) {
    @keyframes fadein2 {
        0% {
            opacity: 0;
            transform: translate3d(-90%, 0, 0);
        }
        50%, 100% {
            opacity: 1;
            transform: translate3d(0%, 0, 0);
        }
    }
}

.slide-over {
    opacity: .5
}

.slide-over:nth-of-type(1){
    animation-name: fadein2;
    animation-duration: 5.5s;
    animation-fill-mode: forwards;
}

::placeholder {
    color:lightgray !important;
}

@media screen and (min-width: 993px) {
    .zoom {transition: transform .2s;}
    .zoom:hover {
        transform: scale(2);
        z-index: 5;
    }
}

@media screen and (min-width: 544px) {
    p1 {font-size: 30px;
        font-weight: bold; }
}
@media screen and (min-width: 768px) {
    p1 {font-size: 40px;
        font-weight: bold; }
}
@media screen and (min-width: 992px) {
    p1 {font-size: 40px;
        font-weight: bold; }
}