html {
    -webkit-text-size-adjust: none;
}
body {
    margin: 0px 0px 10px 0px;
    font-family: "Montserrat", system-ui;
}
h2, h3 {
    margin: 20px 0px;
    color: 0F4C75;
    font-weight: bold;
    text-align: center;
}
h3 {
    margin: 5px 0px;
    color: #3282B8;
}
p, li {
    color: rgb(50, 50, 50);
}
dl {
    margin-top: 0px;
}
dd {
    margin: 10px 0px 10px 40px;
    line-height: 1.5;
}

#checkbtn {
    display: none;
    cursor: pointer;
    margin-right: 15px;
}
#menu-check:checked ~ .nav-mobile {
    display: block;
}
#email-button:hover {
    cursor: pointer;
}
#main-container, .main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}
.info-section {
    scroll-margin-top: 54px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    width: 60%;
}
#about, #skills, #education {
    align-items: center;
}
#experience, #projects {
    justify-content: flex-start;
    align-items: flex-start;
}
#skills-container {
    display: flex;
    justify-content: space-between;
    width: 80%;
    gap: 25px;
}
#recommendations-container {
    display: none;
}
#backpacking-container {
    display: none;
    padding: 20px 20% 50px;
}
#footer-attribution {
    text-align: center;
    margin: 50px 0px 0px 0px;
    font-size: 12px;
}

/* Navigation */
.banner {
    position: sticky;
    top: 0;
    background-color: #0F4C75;
    margin: 0;
    padding: 7px 0px;
    text-align: center;
    display: flex;
    justify-content: right;
    align-items: center;
    box-sizing: border-box;

    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}
.favicon {
    height: 40px;
    margin-left: 10px;
}
.nav-mobile {
    display: none;
    position: absolute;
    top: 54px;
    right: 0;
    background: #0F4C75;
    width: 15vw;
    min-width: 120px;
    padding-top: 5px;
}
.nav-mobile a {
    color: white;
    display: block;
    margin: 0px 0px 10px 0px;
}
.banner-spacing {
    margin-left: auto;
    display: flex;
}
.banner-button {
    margin-right: 1.3vw;
    color: white;
    font-size: 1.15em;
    text-decoration: none;
}
.banner-button:hover {
    cursor: pointer;
    text-decoration: underline;
}

/* About Section */
.portrait {
    margin-top: 30px;
    align-items: center;
    width: 25vw;
    max-width: 200px;
}
.about-me {
    max-width: 75%;
}
.todo-list {
    margin: 0px;
}
.todo-item {
    line-height: 1.5;
}
.icon-container {
    position: relative;
    display: flex;
    gap: 20px
}
.notification {
    visibility: hidden;
    background-color: #3282B8;
    color: white;
    text-align: center;
    border-radius: 10px;
    padding: 6px;
    position: absolute;
    z-index: 1;
    font-size: 0.9em;
    top: -35px;
    left: -30%;
    transition: visibility 0s, opacity 0.3s ease;
    opacity: 0;
}
.notification.show {
    visibility: visible;
    opacity: 1;
}

/* Experience Section */
.position-title{
    color: #3282B8;
    font-weight: bold;
}
.position-info {
    padding-top: 3px;
    color: #0F4C75;
    font-size: 0.9em;
    font-style: italic;
}
.poster {
    text-decoration: none;
    color: rgb(50, 50, 50);
}

/* Projects Section */
.icon {
    width: 24px;
    height: 24px;
}
.project-title {
    display: flex;
    align-items: center;
    gap: 10px;
}
.project-description {
    margin: 0px 0px 20px 33px;
    line-height: 25px;
}

/* Education Section */
.education-container {
    text-align: center;
}
.education-title {
    color: #3282B8;
    font-weight: bold;
    margin: 5px;
}
.education-info {
    color: #0F4C75;
    font-style: italic;
    margin-top: 5px;
}
.education-item {
    margin: 12px 0px;
}

/* Skills Section */
.skills-column {
    flex: 1;
    text-align: center;
}
.skills-list {
    margin: 12px 0px;
}
.certs {
    text-decoration: underline;
    color: rgb(50, 50, 50);
}

/* Recommendations */
.recommendations-section {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    width: 50%;
}
.recommendations-section h3 {
    text-align: left;
    margin: 25px 0px 10px 0px;
}
.recommendations-list li {
    margin: 12px 0px;
}
.recommendations-list em {
    color: #0F4C75;
    font-weight: 500;
}

/* Gear Table */
.gearlist-table {
    border-collapse: collapse;
    width: 100%;
}
.gearlist-table td {
    border: 1px solid #0F4C75;
    padding: 10px;
    text-align: left;
}
.gearlist-table th {
    border: 2px solid rgb(124, 124, 124);
    background-color: #0F4C75;;
    padding: 10px;
    text-align: center;
    color: #ffffff;
}

/* Mobile-Responsive */
@media (max-width: 1100px) {
    #skills-container {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }
    .skills-column {
        width: 45%;
    }
}
@media (max-width: 775px), (max-height: 450px)  {
    .info-section, .recommendations-section {
        width: 90%;
    }
    #skills-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    #backpacking-container {
        padding: 20px 8% 50px;
    }
    #checkbtn {
        display: block;
    }
    #banner-buttons {
        display: none;
    }
}