body{
    margin: 0;
    font-family: 'Courier New', Courier, monospace;
}
html {
  scroll-behavior: smooth;
}
nav{
    margin-bottom: 20px;
    height: 10vh;
}
.navbar-brand{
    margin-left: 20px;
}
a{
    text-decoration: none;
    padding-left: 15px;
}
.hero{
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: linear-gradient(to right, #000428, #004e92);
}
.hero h1{
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p{
    font-size: 1.5rem;
    margin-bottom: 30px;
}
.profile-pic {
  width: 100%;
  max-width: 240px;
  height: auto;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
}

#about,#projects{
    height: 100vh;
    background:linear-gradient(to right, #000000, #01052b);
    color: white;
    font-size: larger;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

span,a{
    color: #00ddffcd;
    font-weight: bold;
}

#about h2{
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-family: 'Courier New', Courier, monospace;
    margin-top: 10px;
}

h5{
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif
}

.card{
    background: #1a1a1a;
    height: 100%;
    color: rgb(255, 255, 255);
}

.social-icons{
    display: flex;
    margin-top: 20px;
}
i{
    font-size: 7rem;
    margin: 0 10px;
    color: #00ddffcd;
    
}
#contact{
    height: 100vh;
    background: linear-gradient(to right, #000428, #004e92);
    color: white;
    font-size: 2rem;
}
#contact h1{
    font-size: 4rem;
    margin-top: 1em;
    text-align: center;
    font-family: 'Courier New', Courier, monospace;
}
@media (max-width: 768px) {

    .navbar-brand {
        margin-left: 10px;
    }

  
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        height: auto;
    }

   .hero img {
    width: 100%;
    max-width: 200px; /* Controls the max size */
    height: auto;
    display: block;
    margin: 0 auto 20px;
}
    .banner{
        position: relative;
        top:50px;

    }
    .profile-pic {
    max-width: 180px;
  }
    .hero h1 {
        font-size: 24px;
    }

    .hero p {
        font-size: 16px;
    }

   
    #about, #projects {
        padding: 20px;
        height: auto;
        text-align: center;
    }

    #about ul {
        padding-left: 0;
        list-style: none;
    }

    #about li {
        margin-bottom: 15px;
    }

    .card {
        margin-bottom: 20px;
    }

   
    .row {
        flex-direction: column;
    }

    #contact {
        height: auto;
        padding: 20px;
        font-size: 18px;
        text-align: center;
    }

    #contact h1 {
        font-size: 28px;
    }

    .social-icons {
        flex-direction: column;
        align-items: center;
    }

    .social-icons a {
        margin-bottom: 10px;
        font-size: 16px;
    }

    i {
        font-size: 28px;
    }

    .container, .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }
}
