/* Colors Used:
Dark blue: #151826
Dark teal: #027353
Green: #6da644
Light Green: #def2d0
Mustard: #d9ab23
Light Yellow: #ffe28a */

/* Fonts from Google Fonts*/
/* Fonts used:
    - Barlow Condensed (The sans-serif font)
    - Google Sans Flex (The computer font) */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Borel&family=Google+Sans+Flex:opsz,wght@6..144,1..1000&display=swap');

/* Basic reset so padding doesn't break widths */
* {
    box-sizing: border-box;
}

/* General Page setup*/
body {
    margin: 0; 
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f2fcea;
}

/* Used in the nav and footer */
a {
    text-decoration: none;
    color: white;
    padding: 0px 10px; 
}

/* The header bar at the top of the page */
header {
    background-image: url("headerimage.png"); 
    height: 100px;
    padding-left: 7px;
    padding-bottom: 10px;
}

/* Navigation Bar*/
nav {
    display: flex;
    align-items: center; 
    justify-content: center;
    font-family: 'Google Sans Flex', sans-serif;
    height: 30px;
    background-color: #027353;
}

/* index.html */
/* All of the content in main */
.main {
    display: flex;
    flex: 1; /* Keeps the footer on the bottom of the page*/
    flex-direction: column;
    margin-top: 10px;
    
}

/* The Typing text for index.html*/
.typing {
    display: flex;
    padding: 15px;
    font-size: 30px;
    color:#6DA644;
    font-family: monospace;
    overflow: hidden;
    border-right: .1em solid transparent; 
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: .10em;
    animation: 
        typing 3.5s steps(40, end) forwards, 
        blink-caret .75s step-end 5; 
    height: fit-content;
}

/* The typing effect */
@keyframes typing {
    from { width: 0 }
    to { width: 43ch; } 
}

.typing::after{
    height:30%;
}

/* The typewriter cursor effect */
@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: darkgreen; }
}

/* All the text elements in index.html */
.text{
    font-family: Google Sans Flex;
    display:flex;
    flex-direction: column; 
    justify-content: center;
    align-content: center;
    max-width:80%;
    text-align: center;
    margin-left:auto;
    margin-right:auto;
    
}
.welcome {
    font-size: 20px;
    background-color: transparent !important;
}

/* The line break in .text */
hr{
    height:2px;
    background-color: #D9AB23;
    border:0px;
    max-width: 70%;

}

/* The box around the text */
.all{
    background-color: #ffe28a;
    margin-left: auto;
    margin-right: auto;
    max-width:80%;
    
    margin-bottom: 10px;
    border-radius: 50px;
}

/* The "SWiCS' Goals list */
.list{
    display: flex;
    font-family: 'Google Sans Flex', sans-serif;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    align-content: center;
}

/* eboard.html */
/* All of the Eboard Profiles */
.profiles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* Individual Eboard members */
.eboard_box{
    display:flex;
    padding:10px;
    
    align-self:center;
    height:fit-content;
}

/* Picture container */
.pic{
    width: 100%;
    max-width: fit-content;
    background-color: white;

    padding:5px;
    border:#6DA644 3px solid;
}

/* Name Label*/
div.container {
  text-align: center;
  padding: 10px;
  font-family: monospace;
  font-size: 15px;
}

/* Eboard Image formatting*/
.pic img{
    width: 100%;
    height: 300px;
    min-width: fit-content;
}

/* White box around bios */
.bio{
    align-items: stretch;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
    width: 400px;
    
    border:#6DA644 3px solid;
    border-left-width: 0px;

    background-color: white;
    font-family: 'Google Sans Flex', sans-serif;
    text-align: center;
    font-size:17px;
    
}

/* The description section of the bios*/
.bioText{
    display: flex;
    padding:15px;
    align-items: center;
    height:max-content;
    flex-grow: 1;

}

/* Green Bar */
.info{
    text-align: left;
    display: flex;
    align-items: center; /* Vertical alignment */
    background-color: #DEF2D0;
    margin: 10px -10px -10px -10px; 
    padding: 10px;
    font-size: auto;

}

/* Calendar and Instagram formatting */
.calendar, .instagram {
    background-color: #f2fcea;
    display: flex;
    align-items: center; 
    justify-content: center;
    padding: 20px;
    width: 100%;
}

/* Instagram specfic formatting */
.instagram {
    margin: 0 auto !important;
    display: flex;
}


/* Footer formatting */
footer {
    font-family: 'Google Sans Flex', sans-serif;
    background-color: #027353;
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
    width: 100%;
}
