* {box-sizing:border-box;}

@font-face {
    font-family: nameFont;
    src: url(assets/cashrole_font/cashrole.ttf);
 }

.michigan_theme_light { 
    --border-color:#00274C;
    --text-color: #00274C;
}
.michigan_theme_dark { 
    --h2-color: #0062bf;
    --h2-color-light:rgba(0, 98, 191, 0.7);
    --border-color:  #0062bf;
    --text-color: #0062bf;
}

body { 
    background-color:var(--background-color-1);
}

h2 {
    color:var(--h2-color);
    font-family: Arial, Helvetica, sans-serif;
}
h3 { 
    color:var(--h3-color);
    font-family: Arial, Helvetica, sans-serif;
}
h4, a { 
    color:var(--text-color);
    font-family: Arial, Helvetica, sans-serif;
}
p { 
    color:var(--text-color);
    font-family: verdana;
}
i { 
    color:var(--h3-color);
}

.top_row { 
    /* background-color:rgba(255,0,0,0.5); */
    display:flex;
    flex-direction:row;
    justify-content: space-between;
    
}

.style-selector { 
    position:fixed;
    right:0;
    z-index:200;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.style-selector.open
{
    transform: translateX(0%);
}

.style-selector-toggler { 
    position:absolute;
    height:40px;
    width:40px;
    right: 100%;
    cursor:pointer;
} 

.colors_and_themes { 
    background-color:var(--background-color-2);
}
.colors { 
    display: flex;
    flex-wrap: wrap;
    flex-direction:row;
    justify-content: space-around;
    background-color:var(--background-color-2);
    height: 90px; /* Can't use percentages here due to heading above div */
    width: 150px;
    margin-bottom:10px;
}
.colors span { 
    /* display:inline-block; */
    height: 40px;
    width: 40px;
    border-radius:50%;
}
.colors span img { 
    border-radius:50%;
}
.colors .color-1 { 
    cursor:pointer;
    background-color: black;
}
.colors .color-2 { 
    cursor:pointer;
    background-color:#e61b05;
}
.colors .color-3 { 
    cursor:pointer;
    background-color:#0938b8;
    /* background-color:#130791; */
}
.colors .color-4 { 
    cursor:pointer;
    background-color:#08a866;
}
.colors .color-5 { 
    cursor:pointer;
    background-color:#f020b2;
}
.colors .color-6 { 
    cursor:pointer;
}

.themes { 
    height: 80x;
    width: 150px;
    display: flex;
    flex-wrap: wrap;
    flex-direction:row;
    justify-content: space-around;
    background-color:var(--background-color-2);
}
.themes span{ 
    height: 40px;
    width: 40px;
    border-radius:50%;
}
.themes .theme-1 { 
    color:var(--text-color);
    cursor:pointer;
}
.themes .theme-2 { 
    color:var(--text-color);
    cursor:pointer;
}

.intro { 
    width: 99vw; 
    /* background-color: rgba(115, 167, 216, 0.7); Better with no background*/
    display:flex;
    flex-direction:row;
    align-items:center;
    margin-top:5vh;
}
.mypic_cont { 
    width:300px;
    margin-left:5vw;
}
.mypic { 
    width:100%;
    height:100%;
}
.myname { 
    font-family: namefont;
    font-size:56px;
    margin-left:3vw;
    color:var(--h2-color);
}
.picture { 
    width: 20vw;
    height: 45vh; 
    float:left; 
    margin-top: 3.5vh; 
}
.flex-column { 
    display: flex;
    flex-direction: column;  
}
.introtext { 
    display:flex;
    flex-direction:column;
    margin-left:10vw;
}
.mynametext { 
    /* margin-left: 10vw;
    margin-top: 3vh;  
    float:right; 
    margin-bottom: 5vh;
    margin-right: 5vw; 
    display:flex; */
    display:flex;
    flex-direction:row;
    align-items: center;
    height:15vh;
}
.biotext { 
    width:66%;
    /* display:flex;
    flex-direction:column;
    align-items: center; */

}
.biotext p { 
    line-height:1.8;
}
.swetext { 
    font-size:24px;
    font-weight:bold;
    color:var(--h2-color);
}
.cv_button{  
    padding: 10px 35px;
    background-color:var(--h3-color);
    color: white;
    border-radius:32px;
    font-size:16px;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    font-weight: bold;
    border:none;
    white-space: nowrap;
    text-decoration:none;
    /* margin-right:7vw; */
}
.blacktext { 
    color:rgb(24, 24, 24);
}



.projects { 
    margin-top: 25vh; 
    width:95vw; 
}

.projects-container {
    margin-top: 7.5vh;
    max-width: 80vw;
    margin-left:10vw;
    margin-right: 10vw;
    position:relative; /*We set position here for child's absolute positioning to work for arrows */
    background-color:var(--background-color-1);
}

.projectSlides { 
    display:block;
    opacity: 0; 
    /* max-height: 70vh; */
    max-width: 100%;
}

.projectSlides.activeslide {
    animation: fade 1s;
    animation-fill-mode: forwards; /**Needed to make animation stick!**/
    background-color:var(--background-color-1);
}

.projectCard { 
    max-width:80%;
    margin-left:10%;
    margin-right: 10%;
    /* height: 60vh; */
    border: 3px solid var(--border-color);
    border-radius: 5px;
    display:flex;
    flex-direction:column;
    align-items:center;
    background-color:var(--background-color-2);
}

@keyframes fade { 
    0% {opacity: 0;}
    100% {opacity: 1;}
}


/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    top:50%;
    position:absolute;
    width: auto;
    margin-left: 1%;
    margin-right: 1%;
    color: var(--h3-color);
    font-weight: bold;
    font-size: 21px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
  }
  
  /* Position the "next button" to the right */
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
 
  /* On hover, add a black background color with a little bit see-through */
  .prev:hover, .next:hover {
    background-color: var(--h3-color-light);
 }

 .dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: var(--h2-color);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }
  .active, .dot:hover {
    background-color: var(--h2-color-light);
  }

.projectTitle { 
    /* color:var(--text-color); */
}

 .project_icon_cont {
    max-width: 16%;
    max-height: 16%;
    /* background-color: bisque; */
    display:flex; 
    flex-direction: column;
    align-items: center;
    /* color:var(--h3-color); */
 }
 .project_icon { 
    max-width:100%;
    max-height:100%;
 }

.projectType { 
    font-style:italic;
    font-size:medium;
    /* color:var(--h3-color); */
}
 .projectText { 
    font-size:medium;
    text-align:center;
}
.gitlink { 
    text-decoration:none;
    color: var(--h3-color);
    margin-bottom:2vh;
    display:flex;
    flex-direction:row;
    align-items:center;
}
.gitlink p{ 
    color: var(--h3-color);
    margin-left:5px;
}


 .experience { 
    margin-top: 25vh; 
    width:95vw; 
}

.experienceContainer {
    margin-top: 7.5vh;
    max-width: 90vw;
    margin-left:5vw;
    margin-right: 5vw;
    display:flex;
    flex-direction:row;
    justify-content: space-between;
    background-color:var(--background-color-1);
}
.experienceCard { 
    border: 3px solid var(--border-color);
    border-radius: 5px;
    display:flex;
    flex-direction:column;
    align-items:center;
    width: 32%;
    background-color:var(--background-color-2);
}

.experienceTitle { 
    /* color:var(--text-color); */
}
.experience_icon_cont { 
    max-width: 16%;
    max-height: 16%;
    /* background-color: bisque; */
    display:flex; 
    flex-direction: column;
    align-items: center;
    /* color:var(--h3-color); */
}
.experienceText { 
    font-size:medium;
    text-align:center;
}



.coursework { 
    margin-top: 25vh; 
    width:95vw; 
    display:flex;
    flex-direction:column;
    align-items:center;
}
.classes_menu { 
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 7.5vh;
    height: 40vh;
    overflow-y: auto;
}

.classes_menu a { 
    background-color: var(--background-color-2);
    color: var(--text-color);
    display: block;
    text-decoration:none;
    padding: 12px;
    cursor:pointer;
}
.classes_menu a:hover {
    background-color: #ccc;
}
.classCard { 
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 7.5vh;
    /* height: 30vh; */
    display:none;
    border: 3px solid var(--border-color);
    border-radius: 5px;
    background-color:var(--background-color-2);
}
.classTitle { 
    margin-left: 10px;
    font-family:'Times New Roman', Times, serif;
}
.classText { 
    margin-left:10px;
    font-size:medium;
}

.contact { 
    width:80vw;
    margin-top: 25vh; 

}


.flex-row { 
    left: 2%; 
    margin-top:3.5%;
    display:flex;
    flex-direction:row;  
}
#copyright { 
    margin-top:10vh; 
    text-align:center;
    font-size:smaller;  

}

@media screen and (max-width: 700px) {
    /* For mobile phones: */
    .intro {  
        display:flex;
        flex-direction: column;
    }
    .introtext { 
        display:flex;
        flex-direction: column;
        align-items:center;  
    }
    .mynametext { 
        display:flex;
        flex-direction:column;
        align-items: center;
        height:auto;
    }
    .biotext { 
        display:flex;
        flex-direction:column;
        align-items: center;
    }
    .flex-row { 
        margin-top: none;
        display:flex; 
        flex-direction:row;
        gap:15%;
    }
    .experienceCard { 
        width:100%;
    }

  }





/* Notes: 
At the top, the media screen and max-width portion changes certain css
attributes only when browser window is 700px wide or less





*/