body
{
    padding:0;
    margin:0;
    background-color:#FFF4D6;   
    font-family:'Inter',sans-serif;
    font-style: normal;
    font-size: 16px;
    color: #001D51;
}
h1,h2,h3,h4,h5,h6,b
{
    font-family: 'Playfair Display', serif;
}
/*header and nav bar*/
header *
{
    margin: 0;
    padding: 0;
}
header
{
    background:#001D51;
    width:100%;
    position: fixed;
}
.nav-bar
{
    width:90%;
    margin:auto;
    height:80px;

    display:flex;
    justify-content:space-between;
    align-items:center;
}
.logo
{
    display:flex;
    align-items:center;
    gap:10px;
    color:#E6D3A3;   
    font-size:20px;
    font-weight:800;
}
.nav-links
{
    list-style:none;
    display:flex;
    gap:35px;
}
.nav-links a
{
    text-decoration:none;
    color:#E6D3A3;   
    font-size:20px;
    font-weight:800;
}
.contact-btn
{
    text-decoration:none;
    color:#E6D3A3;   
    font-size:20px;
    font-weight:800;
    padding:8px 18px;
    border-radius:6px;
}
.hamburger
{
    display:none;
    color:#E6D3A3;   
    font-size:20px;
    font-weight:800;
    cursor:pointer;
}
.nav-links a:hover, .contact-btn:hover
{
    color:#E5C77B;   
    text-decoration:underline;
}

/*intro section*/
#intro
{
    margin: 0 auto;
    padding-top: 80px;
    width: 100%;
    height: auto;
    border: 2px solid #001D51;
    background: linear-gradient(#FFF4D6,#FFE3A5);

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 70px;
}
#intro h1
{
    font-size: 50px;
    font-weight: 800;
    color: #0F2A3D;  
    margin: 0 ; 
}
#intro p
{
    margin: 0;
    font-size: 18px;
    color: #0F2A3D;   
    width: 500px;
    line-height: 1.5;
    white-space: nowrap;
}
#photo
{
    margin: 20px auto;
    width: 300px;
    height: 300px;
    position: relative;
    left: 10%;
    top: 15px;
    border-radius: 50px;
}
#resume 
{
    margin: 10px auto;
    display: inline-block;
    padding: 5px;
    font-size: 20px;
    font-weight: 700;
    color: #042191;
    background-color: #FFF9E5;
    border: 2px solid #E5C77B;
    border-radius: 8px;
    text-decoration: none;
}
#resume:hover
{
    box-shadow: 0px 0px 6px 4px #E5C77B;   
    cursor: pointer;
    padding: 10px;
}
main
{
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
/*about me section*/
.about-me
{
    margin: 20px auto;
    width: 80vw;
    height: auto;
    background-color:#FFF1C9;
    border: 2px solid #001D51;
    border-radius: 5px;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.about-me img
{
    width: 350px;
    height: 400px;
    border-radius: 100px;
    margin: auto 20px 20px auto;
}
.about-content
{
    font-size: 18px;
    color: #0F2A3D;   
    width: 800px;
    height: auto;
    line-height: 1.5;
    white-space: normal;
    padding: 10px;
}
.about-content p 
{
    font-size: 16px;
    text-align: justify;
}
/*professional summary*/
.prof
{
    width: 80vw;
    height: auto;
    margin: 20px auto;

    border: 2px solid #001D51;
    border-radius: 10px;
    background-color:#FFF1C9;
}
.prof h2 
{
    text-align: left;
    margin: 0px auto 5px auto;
    padding: 5px 20px;
    padding-top: 20px;
}
.prof p
{
    text-align: justify;
    line-height: 1.5;

    margin: 0 auto 20px auto;
    padding: 5px 20px;

    width: 100%;
    height: auto;
    box-sizing: border-box;
}
/*previous experience*/
.previous
{
    margin: 20px auto;
    width: 78vw;
    height: auto;
    background-color:#FFF1C9;
    border: 2px solid #001D51;
    border-radius: 10px;
    padding: 20px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.previous h2
{
    text-align: left;
    width: 100%;  
    margin: 0;          
}
.previous h2 + div
{
    width: 100%;
    margin: 0;

    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 100px;
}
.previous ul
{
    margin-top: 0;
    padding-left: 50px;
    width: 100%;
    line-height: 1.5;
}
/*skills cards*/
#skills
{
    width: 80vw;
    height: auto;
    margin: 20px auto 20px auto;
    border: 2px solid #001D51;
    border-radius: 5px;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;

    background: linear-gradient(#FFF4D6,#FFE3A5);
}
#skills h2
{
    font-size: 30px;
    font-weight: 700;
    color: #0F2A3D;
    text-align: center;
    margin: 0;
    margin-top: 20px;
}
.skills-grid
{
    width: 80%;
    margin: 0;
    padding: 20px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: flex-start;
    gap: 20px;
}
.skill 
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.skill p
{
    font-weight: 500;
}
.skills-grid img
{
    width: 100px;
    height: 100px;
    margin: auto;
    background-color: #ffffff;
    border-radius: 5px 3px 3px 5px;
    border-left: 7px solid #001D51;
}
.skills-grid img:hover
{
    transform: scale(1.1);
    transition: transform 0.3s ease;
    cursor: pointer;
    border-radius: 100px;
    border: none;
}
/*featured project section*/
.fp 
{
    margin: 20px auto;
    width: 80vw;
    height: auto;
    padding: 20px;
    padding-top: 0;
    border: 2px solid #001D51;
    border-radius: 5px;
    background-color: #FFF1C9;
    text-align: justify;
}
.fp h2
{
    font-size: 25px;
    margin: 10px 0 20px 0;
    padding: 0;
    text-align: center;
    padding-top: 10px;
}
.fp a
{
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #001D51;
    border-radius: 15px;
    color: #001D51;
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.fp a:hover 
{
    transform: scale(1.05);
}
.proj-desc
{
    width: 100%;
    font-style: italic;
}
.other-det 
{
    display: flex;
    gap: 20px;
    margin: 20px 0;
}
.other-det h4 
{
    min-width: 300px;   
    margin: 0;
}
.other-det p 
{
    margin: 0;
}
.divider 
{
    border: none;
    height: 1px;
    background: #E5C77B;
    margin: 20px 0;
}
.fa-link
{
    padding-left: 3px;
}
.fa-circle-left
{
    font-size: 25px;
    position: absolute;
    left: 340px;
    cursor: pointer;
    transition: 0.4s ease-out;
}
.fa-circle-right
{
    font-size: 25px;
    position: absolute;
    right: 340px;
    cursor: pointer;
    transition: 0.4s ease-out;
}
.fa-circle-right:hover, .fa-circle-left:hover
{
    transform: scale(1.5);
    background-color: #ffffff;
    border-radius: 50px;
}
.balsamiq
{
    width: 100%;
    height: auto;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 50px;
}
.balsamiq img
{
    border: 2px solid #000000;
    padding: 1px;
    width: 800px;
    height: 500px;
    object-fit: contain;
}
.vp, .vp1
{
    background-color: #E5C77B;
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 600;

    padding: 8px 12px;
    border: 2px solid #001D51;
    border-radius: 20px;
    color: #001D51;

    cursor: pointer;
    transition: 0.5s ease-out;
}
.vp:hover, .vp1:hover
{
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 29, 81, 0.2);
}
.vp1
{
   display: block;
   margin: 20px auto;
   margin-bottom: 0;
}
.contact
{
    width: 80vw;
    height: 600px;
    margin: auto;
    margin-bottom: 20px;
    border: #001D51 solid 2px;
    background-color: #ffe3a5;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 50px;
}
.details
{
    width: 50%;
    margin-top: -80px;
    
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}
.details img
{
    margin: 0 20px 20px 20px;
    width: 300px;
    height: 400px;
}
.details p
{
    margin: 10px 0;
    font-size: 18px;
    color: #001D51;
    text-align: justify;
    font-weight: 500;
}
.details p a
{
    text-decoration: none;
    color: #001D51;
}
.fa-solid, .fa-brands
{
    cursor: pointer;
}
.contact-form
{
    width: 50%;

    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    gap: 20px;
}
.contact-form h2
{
    color: #001D51;
    font-size: 24px;
    font-weight: 700;
    margin: 20px 0
}
.contact-form label
{
    color: #001D51;
    font-size: 18px;
    font-weight: 600;
}
input[type="text"], input[type="email"], input[type="tel"]
{
    width: 80%;
    padding: 10px;
    border-radius: 5px;
    font-size: 16px;
    border: none;
    background-color: #ffe3a5;
}
textarea
{
    width: 80%;
    padding: 10px;
    border-radius: 5px;
    font-size: 16px;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, textarea:focus
{
    outline: none;
    box-shadow: 0 0 5px 2px #001D51;
}
input[type="text"]::placeholder, input[type="email"]::placeholder, input[type="tel"]::placeholder, textarea::placeholder
{
    color: #001c5184;
}
.contact-form button
{
    display: block;
    font-size: medium;
    margin: 20px auto;
    margin-right: 250px;
    padding: 5px 7px;
    background-color: #001D51;
    color: #E5C77B;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
}
.contact-form button:hover
{
    transform: scale(1.1);
    box-shadow: 0 0 5px 2px #001D51;
}


@media (max-width:768px)
{
    .nav-links
    {
        position:absolute;
        top:80px;
        left:0;
        width:100%;
        background:#001D51;

        flex-direction:column;
        align-items:center;
        gap:25px;
        padding:20px 0;
        display:none;
    }
    .nav-links.show
    {
        display:flex;
    }
    .about-me img 
    {
        width: 250px;
        height: 250px;
        margin-bottom: 0;
        border-radius: 30px;
    }
    .contact-btn
    {
        display:inline-block;
        width:80%;
        text-align:center;
        position: absolute;
        left: 250px;
    }
    .hamburger
    {
        display:block;
        position: absolute;
        left: 0;
    }
    #intro
    {
        padding: 100px 20px 40px 20px;
        height: auto;
    }
    #intro h1
    {
        font-size: 30px;
    }
    #intro p
    {
        margin: 0;
        font-size: 16px;
        color: #0F2A3D;   
        width: 90%;
        line-height: 1.5;
        white-space: nowrap;
    }
    #photo
    {
    display: none;
    }
    .about-me
    {
        width: 80vw;
        height: auto;

        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    .about-content
    {
        font-size: 16px; 
        width: 70vw;
        line-height: 1.5;
    }
    .about-content h2 
    {
        margin: 0 0 5px 0;
        text-align: center;
    }
    .about-content p 
    {
        font-size: 16px;
        text-align: justify;
    }
    .previous ul
    {
        margin-top: 0;
        padding-right: 20px;
        padding-left: 50px;
        width: 100%;
        line-height: 1.5;
    }
    #skills
    {
        width: 80vw;
        height: auto;
        margin: 5px auto 5px auto;
    }
    .other-det 
    {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin: 20px 0;
    }
    .balsamiq
    {
        width: 100%;
        height: auto;

        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 50px;
    }
    .balsamiq img
    {
        border: 2px solid #000000;
        padding: 1px;
        width: 500px;
        height: auto;
        object-fit: contain;
    }
    .fa-circle-left
    {
        font-size: 25px;
        position: absolute;
        left: 25px;
        cursor: pointer;
        transition: 0.4s ease-out;
    }
    .fa-circle-right
    {
        font-size: 25px;
        position: absolute;
        right: 25px;
        cursor: pointer;
        transition: 0.4s ease-out;
    }
    .contact
    {
        margin: auto;
        margin-bottom: 20px;
        height: auto;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0px;
    }
    .contact img 
    {
        margin-top: 40px;
        width: 250px;
    }
    .contact p, .contact p a 
    {
        font-size: 14px;
        white-space: nowrap;
    }
    .contact p i 
    {
        font-size: 12px;
    }
    .contact-form
    {
        margin: 0 auto;
        padding: 0;
        transform: translateY(-10px);
    }
    .contact-form h2 
    {
        white-space: nowrap;
        text-align: center;
    }
    .contact-form form 
    {
        margin: 0 auto;
        transform: translateY(-15px);
    }
    input 
    {
        width: 100%;
        padding: 10px 25px;
        height: 40px;
        line-height: 1.4;
        box-sizing: border-box;
    }
    input[type="text"]::placeholder, input[type="email"]::placeholder, input[type="tel"]::placeholder
    {
        font-size: 10px;
    }
    textarea 
    {
        margin-top: 2px;
    }
    #submit
    {
        margin: auto;
        margin-left: 3px;
        margin-top: 5px;
    }
    .contact-form label
    {
        font-size: 16px;
    }
}

@media (max-width:400px)
{
    .nav-links
    {
        position:absolute;
        top:80px;
        left: 0;
        width:100%;
        background:#001D51;

        flex-direction:column;
        align-items:center;
        gap:25px;
        padding:20px 0;
        display:none;
    }
    .nav-links.show
    {
        display:flex;
    }
    .about-me img 
    {
        width: 250px;
        height: 250px;
        margin-bottom: 0;
        border-radius: 30px;
    }
    .contact-btn
    {
        display:inline-block;
        width:80%;
        text-align:center;
        position: absolute;
        left: 120px;
    }
    .hamburger
    {
        display:block;
        position: absolute;
        left: 0;
    }
    h2
    {
        font-size: 22px;
        font-weight: 600;
    }
    #intro
    {
        padding-top: 100px;
        margin: auto;
        height: auto;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    #intro h1
    {
        font-size: 25px;
        padding: 10px;
        margin-left: 5px;
    }
    #intro p
    {
        margin: 0;
        margin-left: 5px;
        padding: 10px;
        font-size: 16px;
        color: #0F2A3D;   
        width: 100%;
        line-height: 1.5;
        white-space: normal;
    }
    #photo
    {
    display: none;
    }
    #resume
    {
        margin-left: 10px;
        margin-bottom: 0;
        font-size: 14px;
    }
    .about-me
    {
        width: 80vw;
        height: auto;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
    }
    .about-me img 
    {
        margin: auto;
    }
    .about-content
    {
        font-size: 16px; 
        width: 100%;
        line-height: 1.5;
    }
    .about-content h2 
    {
        margin: 0 0 10px 0;
        text-align: center;
    }
    .about-content p 
    {
        font-size: 16px;
        text-align: justify;
    }
    .previous
    {
        display: flex;
        flex-direction: column;
    }
    .previous h2, .prof h2
    {
        margin-bottom: 5px;
    }
    .previous h3, .previous h4
    {
        font-size: 18px;
    }
    .previous h3 
    {
        margin-left:0;
    }
    .previous h2 + div 
    {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .previous ul
    {
        margin-top: 0;
        padding-right: 20px;
        padding-left: 50px;
        width: 100%;
        line-height: 1.5;
    }
    #skills
    {
        width: 80vw;
        height: auto;
        margin: 5px auto 5px auto;
    }
    #skills h2
    {
        font-size: 22px;
    }
    .skills-grid
    {
        display: grid;
        grid-template-columns: repeat(2,1fr);
    }
    .skill img 
    {
        width: 80px;
        height: 80px;
    }
    .fp h2
    {
        font-size: 22px;
    }
    .fp h3
    {
        font-size: 18px;
        font-weight: 500;
        margin: 10px;
    }
    .other-det 
    {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin: 20px 0;
    }
    .balsamiq
    {
        width: 100%;
        height: auto;

        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 50px;
    }
    .balsamiq img
    {
        border: 2px solid #000000;
        padding: 1px;
        width: 100%;
        height: auto;
        object-fit: contain;
    }
    .fa-circle-left
    {
        font-size: 25px;
        position: absolute;
        left: 25px;
        cursor: pointer;
        transition: 0.4s ease-out;
    }
    .fa-circle-right
    {
        font-size: 25px;
        position: absolute;
        right: 25px;
        cursor: pointer;
        transition: 0.4s ease-out;
    }
    .contact
    {
        margin: auto;
        margin-bottom: 20px;
        height: auto;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0px;
    }
    .contact img 
    {
        margin-top: 40px;
        width: 250px;
    }
    .contact p, .contact p a 
    {
        font-size: 14px;
    }
    .contact p i 
    {
        font-size: 12px;
    }
    .contact-form
    {
        margin: 0 auto;
        padding: 0;
        transform: translateY(-10px);
    }
    .contact-form h2 
    {
        text-align: center;
    }
    .contact-form form 
    {
        margin: 0 auto;
        transform: translateY(-15px);
    }
    input 
    {
        width: 100%;
        padding: 10px 25px;
        height: 40px;
        line-height: 1.4;
        box-sizing: border-box;
    }
    input[type="text"]::placeholder, input[type="email"]::placeholder, input[type="tel"]::placeholder
    {
        font-size: 10px;
    }
    textarea 
    {
        margin-top: 2px;
    }
    #submit
    {
        margin: auto;
        margin-left: 3px;
        margin-top: 5px;
        font-size: 14px;
    }
    .contact-form label
    {
        font-size: 16px;
    }
    .contact-form a 
    {
        margin-top: 0;
    }
}
