body{
    font-family: 'IBM Plex Mono', monospace;
    background-color: #242463;
}

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

#navigation {
    position: sticky !important;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: #242463;
    color: #fff;
    padding: 10px 0;
    min-height: 50px;
    line-height: 76px;
    font-weight: bold;
    font-size: 30px;
}

.container {
    max-width: 1280px; 
    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;
    color: black;
    margin-left: 79px;
}
/* 
.click-home{
    margin-left: 43px;
} */

.navigation-menu {
    display: flex;
    gap: 50px;
    margin-right: 107px;
}

.navigation-menu a {
    text-decoration: none;
    font-size: 17px;
    text-decoration: none;
    color: rgb(255, 255, 255);
}

.navigation-menu a:hover {
    color: #ff0000;
}

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

.home-button{
    z-index: 2000;
    width: 100px;
    height: auto;
    display: flex;
}

#hero-image {
    height: 443px;
    background-size: contain;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 5px solid white;
    width: 72.3%;
    background-color: #363685; 
}

.myname{
    z-index: 5000;
    position: absolute;
    top: 53%;
}



.myname h1{
    color: #db0000;
    font-size: 3.8rem;
    line-height: 4rem;
    font-weight: bolder;
    -webkit-text-stroke: 1.5px black;
    
}

.content-contact{
    padding: 50px;
    height: auto;
    border: 5px solid white;
    margin-top: 20px;
    background-color: #363685; 
}


.title {
    width: 70.0rem;
    height: 3rem;
    line-height: 3rem;
    text-align: center;
    font-size: 40px;
    padding: 20px;
    color: black;
}

.content-projects{
    height: 100vh;
    padding: 40px 0;
    background-color: #242463;
    border: 5px solid white;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 66px;
    background-color: #363685; 
    margin: 30px 0;
}


.card {
    width: 21%; 
    height: 150px; 
    line-height: 1.6; 
    padding: 20px; 
    text-decoration: none; 
    text-align: center; 
    color: black; 
    font-size: 15px; 
    justify-content: center; 
    align-items: center; 
    cursor: pointer; 
}

.card h3 {
    font-size: 20px; 
    font-weight: 700; 
    color: #ffffff; 
    margin-top: 12px; 
}


.card:hover {
    transform: scale(1.05); 
}


.card + .card {
    margin-left: 20px; 
}

.content-contact{
    justify-content: center; 
    align-items: center; 
    text-align:  left;
    color: #fff;
}
.content-contact h3{
    font-family: 'IBM Plex Mono', monospace;
    font-size: 32px; 
    font-weight: 700;
    color: #ffffff; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    margin-bottom: 20px; 
    text-align: center;
}

.content-contact h1 {
    padding: 20px;
    margin: auto auto;
    font-size: 25px;
}

/* Form Container */
.formright {
    padding: 50px 10px;
    background-color: #142a42; 
    border-radius: 15px; 
    max-width: 500px;
    margin: auto;
    gap: 20px; 

}

/* Labels */
.formright label {
    font-family: 'IBM Plex Mono', monospace;
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    /* margin-bottom: 8px; */
    display: inline-block;
}

label {
    font-size: 16px;
    font-weight: bold;
    color: #ffffff; 
    display: block;
    margin-top: 18px;
}

/* Input and Textarea Styling */
.formcont input,
.formcont textarea {
    width: 100%;
    background-color: #292961;
    color: #ffffff;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ffffff;
    /* margin-top: 8px; */
    font-size: 14px;
    font-family: 'IBM Plex Mono', monospace;
}

/* Textarea Specific Padding */
.formcont textarea {
    padding: 12px;
    resize: none; 
}

/* Placeholder Styling */
::placeholder {
    font-weight: 300;
    color: #ffffff;
}

/* Submit Button */
.submitbtn input {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: red;
    background-color: #292961;
    border: 1px solid #ffffff;
    border-radius: 10px;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s ease; 
    margin-top: 18px;
}

/* Submit Button Hover */
.submitbtn input:hover {
    background-color: #ffffff;
    color: #142a42;
    border: 1px solid #1d3354;
    
}
.content-skills {

    height: 50vh; 
    display: flex;
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    text-align: center;
    border: 5px solid white;
    margin-top: 20px;
    background-color: #363685; 
    
}

.content-skills h3 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 32px; 
    font-weight: 700;
    color: #ffffff; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
}

.content-skills img {
    max-width: 100%; 
    height: auto; 
    display: block; 
    margin: 0 auto; 
    margin-top: 61px;
}

.content-restaurantapp {
    padding: 20px;
    border: 5px solid white;
    background-color: #363685; 
}

.project-title{
    background-image: url(./assets/Utopiacover.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 436px;
}


.project-overview {
    padding: 25px;
    margin: 20px 0;
    border-radius: 8px;
    background-color: #363685; 
    line-height: 1.8rem; 
    color: #fff; 
}

.project-tools {
    text-align: center;
    padding: 20px 0;
    margin: 20px 0; 

}

.project-tools h2 {
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 15px;
    color: #fff; 
}

.project-tools img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 59%;
    height: auto;
    margin-top: 58px;
}

.project-overview h2, .project-tools h2 {
    font-size: 1.75rem; 
    text-transform: uppercase;
    font-weight: 600; 
    margin-bottom: 10px; 
    color: #db0000;
    letter-spacing: 1px; 
}

.project-overview p {
    font-size: 1rem;
    color: #ccc; 
    margin-bottom: 15px; 
    text-align: justify; 
}

.project-images {
    margin-top: 30px;
}


.project-images h2 {
    font-size: 1.5em;
    color: #db0000;
    font-size: 1.75rem; 
    text-transform: uppercase;
    font-weight: 600; 
    text-align: center;
}

.image-container {
    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;
}



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

    #navigation{
        line-height: 1.2em;
        font-size: 15px;
    }

    .home-button{
        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;
    }

    .navigation-menu{
        gap: 40px;
        margin-right: 0;
    }

    main > section {
        width: 100%;
    }

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

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

    .content {
        margin: 0 auto;
        width: 98%;
    }

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

    .image-container {
        width: 45%;
        height: 18rem;
        line-height: 18rem;
        font-size: 1.2rem;
        border-radius: 8px;
    }
}/* Tablet viewport ends*/


/* Mobile viewport */
@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;
    }

    .navigation-menu{
        gap: 30px;
        margin-right: 0;
    }

    main > section {
        width: 100%;
    }

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

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

    .content {
        margin: 0 auto;
        width: 92%;
    }

    .imagebox {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .image-container {
        width: 100%;
        height: 15rem;
        line-height: 8rem;
        font-size: 1rem;
        border-radius: 8px;
    }
}/* Mobile viewport ends */
