body {
    background-color: #002366;
    color: #333;
    width: 70%;
    margin: 0 auto;
    
}


/* Header styles*/
header {
    display: flex;
    background-color: #0033a0;
    color: #ffffff;
    padding: 1% 2%;
    
}

#header {
    display: flex;
    flex-direction: column;
    align-items: center;
 }


h1 {
margin: 0;
font-size: calc(4px + 2vw);
font-weight: 500;
}

#subtitle {
    font-size: calc(3px + 1vw);
    
}
/* Header styles end */



#container {
    display: flex;
    width: 100%;
    }


/* Navigation styles */
nav {
    display: flex;
    width: 30%;
    background-color: #005bbb;
    padding: 1% 0;
}

nav ul {
    display: flex;
    flex-direction: column;
    padding: 6%;
    width: 100%;
    gap: 2.5vw;
    list-style-type: none;
    margin: 0;

}
nav li {
    background-color: #ffffff;
    border-radius: 1vw;
}

nav a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: calc(4px + 1.5vw);
    font-weight: bold;
    width: 90%;
    padding: 5%;
    color: #0033a0;
    text-decoration: none;
}

nav li:hover {
    background-color: #a7c1f9;
}

nav a:hover {
    color: gold;
}

ul {

    padding: 0;
    margin: 0;
}
/* Navigation styles end*/
 

/* Main styles */
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3vh 0;
    background-color: #f5faff;
    width: 70%;
    min-height: 100vh;
}

h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: calc(4px + 2.5vw);
    font-weight: 500;
    color: #0033a0;
    margin-bottom: 4%;
}


.home {
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    margin-bottom: 3%;
}

.home img {
    width: 65%;
    margin: 0 0 3% 0;
    border-radius: 2vh;
    box-shadow: 0px calc(2px + 0.3vw) calc(6px + 0.5vw) black;
    
}

.home-p {
    font-size: calc(10px + 1vw);
    padding: 0 3vw;
    text-indent: 2em;
}

.home a {
    color: #00acfb;
}
/* Main styles end*/ 



/* internal webpage's main styles*/
#college, #highschool, 
#google, #amazon, 
#nba-dream-team-builder, #smart-text-analyzer,
#languages, #frameworks-libraries, #tools,
#contacts, #connect {
    width: 80%;
    background: #ffffff;
    padding: 2vw;
    margin: 2vw 0;
    border-radius: 1vw;
    box-shadow: 0 calc(2px + 0.3vw) calc(6px + 0.5vw) black

}

#college h3, #highschool h3, 
#google h3, #amazon h3, 
#nba-dream-team-builder h3, #smart-text-analyzer h3,
#languages h3, #frameworks-libraries h3, #tools h3,
#contacts h3, #connect h3 {
    color: #005bbb;
    font-size: calc(18px + 0.4vw);
    font-weight: bold;
    margin-bottom: 1vh;
    border-bottom: calc(0.15px + 0.15vw) solid #005bbb;
    padding-bottom: 1vh;
}

#coursework {
    margin-top: 2vh;
}

#coursework h4 {
    color: #005bbb;
    font-size: calc(18px + 0.4vw);
    margin-bottom: 1vh;
}

#coursework ul,
#nba-dream-team-builder ul, #smart-text-analyzer ul,
#languages ul, #frameworks-libraries ul, #tools ul {
    list-style-type: disc;
    padding-left: 2vw;
}

#coursework li,
#nba-dream-team-builder li, #smart-text-analyzer li,
#languages li, #frameworks-libraries li, #tools li {
    font-size: calc(14px + 0.4vw);
    margin-bottom: 1vh;
    color: #333;
}

.education-p, 
.experiences-p, 
.projects-p,
.contact-p {
    font-size: calc(14px + 0.4vw);
    color: #333;
    margin-bottom: 1vh;
}

#contact-image {
    width: 100%;
    max-width: 19vw;
    border-radius: 50%;
    margin-bottom: 2vh;
    box-shadow: 0px calc(2px + 0.3vw) calc(6px + 0.5vw) black;
}
/* internal webpage's main stylesends */

/* Calculator Styles */
#calculator {
    width: 35%;
    background: #ffffff;
    padding: 1.5vw;
    margin: 2vw auto;
    border-radius: 1vw;
    box-shadow: 0px calc(2px + 0.3vw) calc(6px + 0.5vw) black;
    text-align: center;
}

#inputs {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1vh;
}

#inputs label {
    font-size: calc(12px + 0.3vw);
    font-weight: bold;
    color: #005bbb;
    margin-bottom: 0.3vh;
}

#inputs input {
    width: 70%;
    padding: 0.7vh;
    margin-bottom: 0.7vh;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: calc(12px + 0.3vw);
    text-align: center;
}

#buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7vw;
    margin-bottom: 1.5vh;
}

#buttons button {
    padding: 0.7vh;
    font-size: calc(12px + 0.3vw);
    font-weight: bold;
    background-color: #005bbb;
    color: white;
    border: none;
    border-radius: 0.5vw;
    
}

#buttons button:hover {
    background-color: #0033a0;
    transform: scale(1.05);
}

#output-p {
    font-size: calc(12px + 0.3vw);
    color: #333;
}

#output {
    font-size: calc(14px + 0.4vw);
    color: #005bbb;
    padding-top: 0.7vh;
    margin-top: 0.7vh;
}

#output.negative {
    color: red;
}
/* Calculator styles end */


/* Footer */
footer {
    background-color: #00274d;
    color: bisque;
    padding: 1vh 1vw;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    position: relative;
    

}

footer a {
    color: bisque;
    
}

footer a:hover {
    text-decoration: underline;
}

/* for screens smaller than 750px*/
@media screen and (max-width: 750px) { 
    header {
        justify-content: center;
        align-items: center;
    }
    
    #container {
        flex-direction: column;
    }
    

    main {
        width: 100%;
    }


    nav {
        width: 100%;

    }

    nav ul {
        flex-direction: row;
        padding: 2%;
        width: 100%;
        gap: 1%;
    }

    nav li {
        display: flex;
        width: 100%;

    }

    nav a {
        display: flex;
        width: 100%;
        font-size: calc(4px + 1vw);
        align-items: center;
        justify-content: center;
    }
}

