*{
    margin: 0;
    box-sizing: border-box;
    
}

#page-wrapper{
    width: 80%;
    margin: 0 auto;
    text-align: center;
}
#container{
    display: flex;
    flex-direction: row;
    width: 100%;
}

h2{
    margin: 2% 0;
    text-decoration: underline;
    font-weight: normal;
}

img{
    max-width: 100%;
    height: 40vh;
    margin: 2%;
    border-radius: 2%;
}




header, footer{
    background-color: darkseagreen;
}

h1{
    margin-bottom: .5%;
}

header{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 2%;
}

nav {
    background-color: rgb(147, 192, 165);
    width:30%
    
}

nav ul {
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;    
}

nav li {
    box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
    margin: 3% 0;
    width: 80%;
    padding: 2%;
    background-color: rgb(173, 193, 182);
}

nav a {
    text-decoration: none;
    font-size: calc(2px+2%vw);
}

main {
    background-color: lightgrey;
    height: auto;          
    max-height: 100%;    
    width: 70%;
}

#about{
    line-height: 1.8;
    margin: 2% 5%;
    text-align: justify;
}

#timeline{
    text-align: left;
    line-height: 1.8;
    margin: 2% 5%;
    border-left: 5px #ccc solid;
    padding-left: 2%;
}



#education-info{
    text-align: left;
    line-height: 1.8;
    margin: 2% 5%;
}

.project-list{
    text-align: justify;
    line-height: 1.8;
    margin: 2% 5%;
}

#calculator{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2% 5%;
    padding: 5%;
    background-color: white;
    background-image: url("assets/calculator.jpeg");
    background-size: 100% auto;
    border-radius: 2%;  
}
#input {
    display: flex;
    flex-direction: column;
    padding: 5%;
}

.calc-text{
    color: rgb(216, 212, 212);
    background-color: rgb(16, 27, 53);
    font-family: "Comic Sans MS", "Courier New", monospace;
}

#functions{
    padding: 5%;
}

#output{
    margin-top: 5%;
    padding: 5%;
}


#education-arrange{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    margin: 2% 5%;
}

.leadership-card {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 15px 20px;
  text-align: left;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
}

.skill-card{
    border: 1px solid #ccc;
  border-radius: 8px;
  padding: 15px 20px;
  text-align: left;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
}

@media screen and (max-width: 1000px){
    #container{
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    main{
        width: 100%;
    }

    nav{
        width: 100%;
    }

    nav ul {
        flex-direction: row;
    
    }

    nav li {
        border-right: 1px black solid;         
    }

    header{
        align-items: center;
    }

    #education-arrange{
        flex-direction: column;
    }

    #education-info{
        text-align: center;
    }

    #input {
    flex-direction: column;
}


}