/* Sitewide Styles */
@font-face {
    font-family: "Gopher";
    src: url("fonts/Gopher-Black.otf") format("opentype");
}

body {
    margin: 0px;
    padding: 0px;
}

.top-bar {
    background-color: #1A162E;
    height: 13px;
    width: 100%;
}

.top-nav {
    width: 800px;
    margin-left: calc(50% - 400px);
    padding: 15px 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-nav img {
    width: 90px;
}

.nav-links {
    width: 600px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    list-style-type: none;
    gap: 50px;
    font-family: 'DM Sans', sans-serif;
    font-size: 25px;
    padding-left: 0px;
    /* Until we've got a robust blog and projects page */
    display: none;
}

.nav-links li {
    color: #1A162E;;
}

.nav-links a {
    text-decoration: none;
    color: #1A162E
}

.nav-links li:hover {
    opacity: .5;
    cursor: pointer;
}

.color-toggle {
    width: 80px;
    height: 40px;
    border: 1px solid #1A162E;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.color-toggle i {
    width: 40px;
    height: 40px;
    font-size: 20px;
    line-height: 40px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    text-align: center;
}

.color-toggle:hover {
    cursor: pointer;
}

.color-toggle i:nth-of-type(2) {
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.color-toggle .selected {
    background-color: #1A162E;
    color: #fff;
}

.header {
    border-bottom: 1px solid #1A162E;
}

h1 {
    font-family: Gopher, serif;
    font-size: 145px;
    margin: 0px;
    line-height: 145px;
}

h2 {
    font-size: 80px;
    font-family: Gopher, serif;
}

p {
    font-family: 'DM Sans', sans-serif;
    font-size: 22px;
}

a {
    font-family: 'DM Sans', sans-serif;
    font-size: 22px;
    color: #1A162E;
}

a:visited {
    color: #1A162E;
}

a:hover {
    color: #A9A9A9;
}

.footer-content {
    display: flex;
    justify-content: space-between;
}

footer {
    background-color: #000;
    color: #fff;
}

footer a {
    color: #fff;
}

footer a:visited {
    color: #fff;
}

.footer-copyright {
    color: #939393;
}

footer a:hover {
    color: #A9A9A9;
}

footer .social-links i {
    width: 50px;
    height: 50px;
    border: 1px solid #fff;
    border-radius: 25px;
    text-align: center;
    line-height: 50px;
    font-size: 20px;
    box-shadow: 2px 4px 4px rgba(0, 0, 0, 0.25);
}

footer .social-links i:hover {
    background-color: #fff;
    color: #000;
}

/* Home Page Styles */
.hero-section {
    background-color: #F9F9F9;
}

.hero-section p:nth-of-type(1) {
    margin-top: 0px;
}

.hero-description {
    margin-top: 25px;
    margin-bottom: 30px;
}

.hero-section h1 .fa-volume-high {
    font-size: 30px;
    margin-left: 25px;
}

.hero-section h1 .fa-volume-high:hover {
    cursor: pointer;
}

.social-links {
    list-style-type: none;
    display: flex;
    gap: 10px;
    padding-left: 0px;
}

.social-links i {
    width: 50px;
    height: 50px;
    border: 1px solid #1A162E;
    border-radius: 25px;
    text-align: center;
    line-height: 50px;
    font-size: 20px;
    box-shadow: 2px 4px 4px rgba(0, 0, 0, 0.25);
}

.social-links i:hover {
    background-color: #000;
    color: #fff;
    box-shadow: none;
}

.social-links .resume-btn a:hover {
    background-color: #000;
    color: #fff;
    box-shadow: none;
}

.social-links .resume-btn i {
    width: auto;
    height: auto;
    border: 0px;
    line-height: auto;
    margin-right: 17px;
    box-shadow: none;
}

.social-links .resume-btn a {
    height: 50px;
    color: #1A162E;
    font-size: 25px;
    border-radius: 5px;
    border: 1px solid #1A162E;
    padding: 8px 20px;
    line-height: 50px;
    box-sizing: border-box;
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
    box-shadow: 2px 4px 4px rgba(0, 0, 0, 0.25);
}

.social-links .resume-btn a:visited {
    color: #1A162E;
}

.section {
    width: 800px;
    margin-left: calc(50% - 400px);
    padding-top: 50px;
    padding-bottom: 50px;
}

.img-block {
    position: relative;
    margin: 70px 0px;
}

.img-block img {
    border-radius: 15px;
    width: 800px;
    box-shadow: 2px 4px 4px rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.img-block .img-btn {
    position: absolute;
    right: 15px;
    bottom: 25px;
}

.img-block .img-btn a {
    padding: 8px 22px;
    background-color: #fff;
    border: 1px solid #1A162E;
    border-radius: 5px;
    color: #1A162E;
    text-decoration: none;
}

.img-block .img-btn a:visited {
    color: #1A162E;
}

.img-block .img-btn a:hover {
    background-color: #46405C;
    color: #fff;
}

.about-section .img-block:nth-of-type(1) {
    margin-top: 0px;
}

.exp-section {
    margin-top: -200px;
    background-color: #F9F9F9;
    padding-bottom: 100px;
}

.exp-section h2 {
    margin-top: 140px;
}

.carousel {
    --gap: 1rem;
    position: relative;
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: var(--gap);
    background-color: #46405C;
    position: absolute;
    left: 0px;
    right: 0px;
}

.slides {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    gap: 100px;
    min-width: 100%;
    animation: scroll 17s linear infinite;
    list-style-type: none;
    align-items: center;
}

.slides img {
    width: 180px;
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-100% - var(--gap))); }
}

.marquee--pos-absolute .slides:last-child {
    animation-name: scroll-abs;
}
  
@keyframes scroll-abs {
    from { transform: translateX(calc(100% + var(--gap))); }
    to { transform: translateX(0); }
}

.exp-subline {
    text-align: center;
    margin-bottom: 50px;
}

.resume-accordion {
    list-style-type: none;
    padding-left: 0px;
    margin-bottom: 90px;
}

.resume-accordion .accordion-item {
    border: 2px solid #E9E9E9;
    padding: 35px;
    width: 100%;
    box-sizing: border-box;
}

.resume-accordion .accordion-item:hover {
    cursor: pointer;
}

.resume-accordion .accordion-item:nth-of-type(1) {
    border-bottom: 0px;
}

.resume-accordion .accordion-item h4 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 25px;
}

.resume-accordion .accordion-icon {
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 25px;
    background-color: #E9E9E9;
    line-height: 50px;
    float: right;
}

.resume-accordion .occupation-date {
    text-align: left;
}

.resume-accordion .occupation-date p {
    font-size: 18px;
    color: #A9A9A9;
}

.accordion-top-content h4 {
    margin: 0px;
}

.accordion-top-content p {
    margin: 7px 0px;
}

.accordion-item .accordion-body ul {
    list-style-type: disc !important;
    font-size: 22px;
    font-family: 'DM Sans', sans-serif;
    margin-top: 30px;
    display: none;
}

.selected .accordion-body ul {
    display: block !important;
}

/* Dark Mode Styles */
.dark .nav-links li {
    color: #1A162E;
}

.dark .hero-section {
    background-color: #1A162E;
    color: #fff;
}

.dark a {
    color: #fff;
}

.dark a:visited {
    color: #fff;
}

.dark .social-links i {
    border: 1px solid #fff;
}

.dark .social-links i:hover {
    background-color: #fff;
    color: #1A162E;
}

.dark .social-links .resume-btn a {
    border: 1px solid #fff;
    color: #fff;
}

.dark .social-links .resume-btn i {
    border: none;
}

.dark .social-links .resume-btn a:hover {
    background-color: #fff;
    color: #1A162E;
}

.dark .about-section {
    background-color: #F5ECFF;
}

.dark .exp-section {
    background-color: #1A162E;
}

.dark .exp-section .accordion-item {
    background-color: #F5ECFF;
}

.dark .exp-section .accordion-icon {
    background-color: #fff;
}

.dark .exp-section h2, .dark .exp-section .exp-subline {
    color: #fff;
}

@media screen and (max-width: 800px) {
    h1 {
        font-size: 100px;
        line-height: 100px;
    }
    h2 {
        font-size: 70px;
        line-height: 70px;
    }
    .nav-links {
        gap: 30px;
    }
    .social-links {
        flex-wrap: wrap;
    }
    .section {
        width: 80%;
        margin-left: 10%;
    }
    .img-block img {
        width: 100%;
    }
    .top-nav {
        width: 80%;
        margin-left: 10%;
    }
    .nav-links {
        width: auto;
    }
}

@media screen and (max-width: 669px) {
    h1 {
        font-size: 70px;
        line-height: 70px;
    }
    h2 {
        font-size: 50px;
        line-height: 50px;
    }
    .exp-section h2 {
        margin-top: 110px;
    }
    .accordion-body ul {
        padding-left: 25px;
    }
    
    .resume-btn {
        margin-top: 15px;
    }
}

@media screen and (max-width: 500px) {
    .hero-section h1 .fa-volume-high {
        margin-left: 10px;
        font-size: 25px;
    }
    h1 {
        font-size: 55px;
        line-height: 55px;
    }
    h2 {
        font-size: 40px;
        line-height: 40px;
    }
    .exp-section h2 {
        margin-top: 100px;
    }
}