body {
    background-color: whitesmoke;
    margin: 0;
    font-family: "Roboto", sans-serif;
    transition: background-color 0.3s, color 0.3s;
}

html.dark body{
  background-color: #262626;
  color: lightgrey;
}

html.dark .theme-toggle {
    color: whitesmoke;
}

.theme-toggle {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 5px;
    padding-bottom:5px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    background-color: transparent;
    font-size: 20px;
    transition: background-color 0.3s;
}

/* Header/Nav */
nav {
  display: flex;
  gap: 15px;
  padding: 20px;
  background-color: transparent;
  font-family:monospace
}

/* Nav buttons (styled links) */
.nav-btn {
  display: inline-block;
  text-decoration: none;
  font-size: 20px;
  padding: 10px 20px;
  border-radius: 8px;
  color: black;
  transition: background-color 0.3s, border-color 0.3s;
}

/* Hover effect */
.nav-btn:hover {
  cursor: pointer;
  background-color: gray;
  border-color: gray;
  color: white;
}

/* Active page highlight */
.nav-btn.active {
    background-color: darkgray;
    border-color: black;
    color: white;
}

html.dark .nav-btn{
    color:whitesmoke
}

.download-btn{
    display: inline-block;
    margin-right: 25%;
    text-decoration: none;
    font-size: 20px;
    font-family:monospace;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 8px;
    border-color: darkgrey;
    background-color: darkgray;
    color: white;
    transition: background-color 0.3s, border-color 0.3s;
    cursor: pointer;
}

.download-btn:hover{
    background-color: grey;
}

.resumeH1 {
    text-align: left;
    font-family: "Roboto", sans-serif;
    font-size: 23px;
}

.resumeHr {
  border: .5px solid lightgrey;
}

.div-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom:0px
}

.resume-text {
    text-align: left;
    font-family: "Roboto", sans-serif;
    font-size: 1.25em;
    font-weight:400
}

.resume-date{
    text-align: right;
    font-family: "Roboto", sans-serif;
    font-size: 1.25em;
    font-weight:400
}

.resume-ulist{
    text-align: left;
    font-family: "Roboto", sans-serif;
    font-size: 1.25em;
    margin-top: 0%;
    margin-bottom: 0%;
    list-style-position: inside;
}

.resume-ulist li{
    font-weight:300;
    white-space: normal;
    padding-left: 1.25em;
    text-indent: -1.25em; 
}

#resumeBox{
    max-width: 800px;   /* content area width cap */
    margin: 0 auto;     /* auto side margins center the box */
    padding: 0 20px;
}

#aboutBox{
    max-width: 800px;   /* content area width cap */
    margin: 0 auto;     /* auto side margins center the box */
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.column {
    flex: 1;            
}

.column img{
    display:block;
    margin-left:auto;
    margin-right: 8%;
}

#skillsTray {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: left;
    font-family: monospace;
}

.skill {
    background-color: transparent;
    padding: 10px 18px;
    border-radius: 999px;   /* makes pill shape */
    border: 2px solid darkgrey;
    font-size: 1.1em;
    transition: transform 0.2s ease, background-color 0.2s ease;
    cursor: default;        /* not clickable, but looks neat */
}

.skill:hover {
  transform: scale(1.1);  /* grows slightly */
}

.about-links{
    font-family: monospace;
    color: black;
    font-size: 1.5em;
    display: block;
    text-align: right;
    padding-right: 8%;
    text-decoration:none
    
}

.about-links .link-text {
  text-decoration: underline; /* underline only the text */
}

.about-links .link-icon{
    font-size: 1.3em;
}

html.dark a{
    color: whitesmoke
}

.resume-h1{
    margin-left: 25%; 
    font-family: monospace;
}


@media (max-width: 600px) {
    #resumeBox {
        margin-left: 5%;
        margin-right: 5%;
    }

    #aboutBox {
        margin-left: 5%;
        margin-right: 5%;
        flex-direction: column;
        align-items: center;
    }

    .div-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0px;
    }

    .resume-h1{
        margin-left: 0%; 
        text-align: center;
    }

    .resumeH1{
        margin-left: 0%; 
        text-align: center;
    }

    .download-btn{
        margin-right: 0%;
    }

    .about-links{
        text-align: center;
        padding-right: 0;
    }

    .nav-btn {
        font-size: 16px;
        padding: 8px 16px;
    }

    nav{
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .download-btn {
        font-size: 16px;
        padding: 6px 12px;
    }
    
    .resume-text, .resume-date {
        font-size: 1em;
        text-align: center;
    }
    
    .resume-ulist li {
        font-size: 0.9em;
    }

    .resume-ulist {
        margin-bottom: 5%;
    }
    
    
    .skill {
        font-size: 0.9em;
        padding: 8px 16px;
    }
}