/* static-site styling */
body{
    font-family: "Montserrat", sans-serif !important;
    background-image: url(./assets/bkg-img.jpg);
    background-position: center;
    background-size: cover;
}

html{
    scroll-behavior: smooth;
    box-sizing: border-box;
    overflow-x: hidden;
}

#nav {
    position: sticky !important;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgb(255,255,255,0.5);
    color: #000;
    padding: 20px 0;
    min-height: 50px;
    line-height: 50px;
}
  
.container {
    max-width: 80rem; 
    margin: 0 auto;  
}
  
.flex-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
  
.click-home {
    font-size: 1.5em;
    font-weight: bold;
    margin-left: 20px;
}
  
.nav-links {
    display: flex;
    gap: 70px;
    margin-right: 20px;
}
  
.nav-links a {
    text-decoration: none;
    text-transform: uppercase;
    color: #000;
    font-size: 1.1em;
    font-weight: 500;
}
  
.nav-links a:hover {
    color: #fff;
}

#hero-image {
    display: flex;
    justify-content: center;
    gap: 20.0rem;
    width: 80%;
    height: auto;
    padding: 40px 0px;
    font-size: 2rem;
}

.hello-msg p{
    color: 212121;
    font-size: 1.3rem;
    margin-bottom: 20px;
    margin-top: 30px;
}

main > section{
    width: 80.0rem;
    margin: 0 auto;
}

footer{
    text-align: center;
    font-size: 0.8rem;
    color:#868686;
    height: 2rem;
    line-height: 2rem;
    padding: 0 5px;
    margin-top: 10px; 
}

/* Contact section styling */

.content-contact{
    padding: 50px;
    height: auto;
}
  
.contact-container {
    display: flex;
    gap: 100px;
    justify-content: center;
}
  
.contact-info-box,.contact-form-box {
    width: 30rem;
    height: auto; 
    padding: 20px;
    border-radius: 8px;
}

.contact-form-box{
    color:#333;
    font-size: 1rem;
    line-height: 1.4rem;
}

.contact-form input, textarea{
    width: 100%;
    background-color: #7253ad;
    padding: 10px;
    color: #fff;
    border-radius: 10px;
    border: none;
    margin-bottom: 10px;
    font-family: "Montserrat", sans-serif !important;
}

.contact-form input::placeholder, textarea::placeholder{
    color: #bca9de;
    font-family: "Montserrat", sans-serif !important;
}

#submit{
    width: 100%;
}

#submit:hover{
    background-color: #fff;
    color:#7253ad;
}


/* About Me Section Styling */
  
.about-container {
    height: auto;
    padding: 50px;
    display: flex;
    gap: 100px;
    justify-content: center;
}

.resume{
    background-color: #7253ad;
    padding: 10px;
    width: 10rem;
    color: #fff;
    border-radius: 10px;
    text-align: center;
    margin: 20px 0;
}

.resume:hover{
    background-color: #fff;
    color:#7253ad;
}
  
.about-info,.about-skills {
    width: 30rem;
    height: auto;
    padding: 20px; 
    border-radius: 8px;
}
  
.about-info h2,.about-skills h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 500;
}

.about-info p {
    line-height: 1.6rem;
    color: #333;
}
.about-info img{
    display: inline-block;
    margin-right: 20px;
}

.about-skills div{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* Projects styling */

.title {
    width: 70.0rem;
    text-transform: uppercase;
    height: 3rem;
    line-height: 3rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 20px;
    color: black;
}

.content-projects{
    height: auto;
    padding: 40px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    vertical-align: center;
    gap: 30px;
}

.card{
    width: 25%;
    height: auto;
    line-height: 22px;
    border-radius: 20px;
    padding: 20px;
    text-decoration: none;
    color: black;
    font-size: 12px;
}

.card h3{
    padding: 10px 0px;
    font-weight: 500;
    font-size: 1.2rem;
}

.card p{
    font-size: 0.9rem;
    line-height: 1.5rem;
}

.card img{
    margin-bottom: 15px;
}

.card:hover{
    color: purple;
    cursor: pointer;
}

/* Project Overview Style */
.project{
    width: 80%;
    height: auto;
    margin: 0 auto;
}

.project-banner h1 {
    width: 100%;
    text-transform: uppercase;
    font-size: 4rem;
    color: #fff;
    padding: 450px 0px 0px 40px;
    font-weight: 500;
}

.demo-btn {
    background-color: #7253ad;
    padding: 10px;
    width: 15rem;
    color: #fff;
    border-radius: 10px;
    text-align: center;
    margin: 20px 40px; 
}

.project-banner{
    background-image: url(./assets/project1-banner.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 600px;
}

.project-txt {
    height: auto;
    padding: 25px 0;
    border-radius: 8px;
    margin: 20px 0;
    line-height: 2rem;
}

.project-txt div{
    display: flex;
    gap: 40px;
}

.project-txt h2, .project-tools h2{
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 15px;
}
  
.project-img {
    margin-top: 30px;
}
  
.project-img h2 {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 1.5em;
    color: #333;
    text-align: center;
}
  
.image-content {
    padding: 30px 0px;
    line-height: 1.8rem;
    display: flex;
    gap: 30px;
    flex-direction: row;
    justify-content: space-between;
    vertical-align: middle;
}

.project-tools {
    height: auto;
    padding: 30px 0px;
    border-radius: 8px;
    margin: 20px 0;
    line-height: 2rem;
}

.project-tools div{
    display: flex;
    gap: 30px;
}

/* Mobile view */
  
@media (min-width: 320px) and (max-width: 480px) {

    .container {
        max-width: 100%;
        padding: 0 15px;
    }

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

    .click-home {
        font-size: 2.2em;
        margin-left: 0;
    }

    .nav-links {
        gap: 30px;
        margin-right: 0;
    }

    #hero-image {
        flex-direction: column;
        gap: 3rem !important;
    }
    
    
      #hero-image .hello-msg p {
        font-size: 1.3zrem;
      }
    
      #hero-image > div img {
        max-width: 80%;
      }

    main > section {
        width: 100%;
    }

    footer {
        font-size: 0.9em;
        padding: 5px;
    }
    
    .contact-container {
        flex-direction: column;
        align-items: center;
        height: auto;
    }

    .contact-info-box, .contact-form-box {
        width: 100%;
        height: auto;
        margin-bottom: 20px;
        line-height: 15em;
    }

    .about-container {
        height: auto;
        flex-direction: column;
        align-items: center;
    }

    .about-info, .about-skills {
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }

    .content-projects {
        padding: 20px 10px;
        flex-direction: column;
        gap: 30px;
    }

    .card {
        width: 80%;
        font-size: 1rem;
        padding: 15px;
        height: 50px;
        line-height: normal;
    }

    .project {
        margin: 0 auto;
    }

    .project h1 {
        font-size: 1.3em;
        line-height: 1.6em;
        font-weight: 500;
        width: auto;
    }

    .project-txt, .project-tools {
        height: auto;
        padding: 20px;
        font-size: 0.8rem;
        line-height: 1.2rem;
    }

    .project-txt h2, .project-img h2, .project-tools h2{
        font-size: 1.1rem;
    }
    
    .image-content {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .images {
        width: 100%;
        height: 15rem;
        line-height: 15rem;
        font-size: 1rem;
        border-radius: 8px;
    }
}

/* Tablet view */
@media (min-width: 481px) and (max-width: 1024px) {

    #nav{
        line-height: 1.2em;
        font-size: 0.9em;
    }

    .home{
        line-height: 1.3em;
    }

    .container {
        max-width: 90%;
        padding: 0 20px;
    }

    .flex-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .click-home {
        font-size: 1.8em;
        margin-left: 0;
    }

    .nav-links {
        gap: 40px;
        margin-right: 0;
    }

    #hero-image {
        height: 18rem;
        font-size: 1.8rem;
        line-height: 18rem;
    }

    main > section {
        width: 100%;
    }

    footer {
        font-size: 1em;
        padding: 5px;
    }

    .contact-container h2,  .about-container h2{
        font-size: 1em;
        line-height: 1.3em;
    }

    .contact-container {
        flex-direction: row;
        justify-content: space-between;
        height: auto;
    }

    .contact-info-box, .contact-form-box {
        width: 45%;
        height: 30rem;
        margin-bottom: 20px;
        line-height: 15em;
    }

    .about-container {
        height: auto;
        flex-direction: row;
        justify-content: space-between;
    }

    .about-info, .about-skills {
        width: 45%;
        height: auto;
        margin-bottom: 20px;
    }

    .content-projects {
        padding: 20px 10px;
        gap: 30px;
    }

    .card {
        width: 30%;
        font-size: 1rem;
        padding: 20px;
        height: 80px;
        line-height: normal;
    }

    .project {
        margin: 0 auto;
    }

    .project h1 {
        font-size: 1.5em;
        line-height: 1.6em;
        font-weight: 500;
    }

    .project-txt, .project-tools {
        height: auto;
        padding: 20px;
        font-size: 0.9rem;
        line-height: 1.4rem;
    }

    .project-txt h2, .project-img h2, .project-tools h2 {
        font-size: 1rem;
    }

    .image-content {
        flex-direction: row;
        gap: 30px;
    }

    .images {
        width: 45%;
        height: 18rem;
        line-height: 18rem;
        font-size: 1.2rem;
        border-radius: 8px;
    }

}