/* General Tags */
*{
    margin: 0px;
    box-sizing: border-box;
}
html {
    font-size: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
em {
    color: rgb(191, 191, 47);
    text-decoration: none;
    font-weight: 600;
}
em:hover {
    color: rgb(141, 123, 89);
}
.flex-hor {
    display: flex;
    flex-flow: row wrap;
}
.flex-ver {
    display: flex;
    flex-flow: column wrap;
}
.goUpBtn {
    display: none;
    position: fixed;
    width: 35px;
    height: 35px;
    bottom: 1rem;
    right: 1rem;
    border: 1px solid black;
    opacity: .4;
    background-color: white;
    background-image: url("../imgs/upArrow.png");
    background-position: center;
    background-size: 35px;
    border-radius: 50%;
}
.goUpBtn:hover {
    opacity: .8;
    background-color: rgb(246, 251, 251);
}

/* Navbar */
.nav-container {
    width: 100%;
    position: fixed;
    top: 0px;
    display: flex;
    height: 4rem;
    z-index: 10;
    flex-flow: row wrap;
    justify-content: space-between;
    align-content: center;
    padding: 0rem 10rem;
}
.nav-logo-img {
    width: 2rem;
    margin-right: .5rem;
    height: auto;
}
.nav-logo-title {
    display: inline-block;
    position: relative;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    top: .25rem;
}
.nav-links {
    align-self: center;
}
.nav-links a{
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0px 1rem;
}
.nav-links a:hover{
    color: yellow;
}
.nav-linktext {
    display: inline-block;
    position: relative;
    bottom: .5rem;
}
.modeBtn + label{
    background: url("../imgs/moon.png") !important;
    width: 30px !important;
    height: 30px !important;
    background-position: center !important;
    background-size: 30px !important;
    background-color: rgb(17, 195, 240) !important;
}
.modeBtn:checked + label{
    background: url("../imgs/sun.png") !important;
    width: 30px !important;
    height: 30px !important;
    background-position: center !important;
    background-size: 30px !important;
    background-color: yellow !important;
}
.modeBtn:focus +.btn {
    box-shadow: none !important;
}

/* Sections */
.secondary-header{
    font-size: x-large !important;
    font-family:Georgia, 'Times New Roman', Times, serif;
    h3 {
        font-size: x-large !important;
        font-family:Georgia, 'Times New Roman', Times, serif; 
    }
}
.main{
    margin-top: 5rem;
}
.section {
    width: 95%;
    min-height: 100vh;
    margin: 0px auto;
}
.section-header {
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}
.section-name {
    display: inline-block;
    position: relative;
    margin-bottom: .5rem;
}


/* About Me  */
.aboutme-section {
    min-height: 10vh;
    display: grid;
    grid-template-columns: 40% 1fr 50%;
    grid-template-rows: 1fr 1fr 1fr;
    justify-content: center;
    align-items: start;
    overflow: hidden;
    margin-bottom: 12rem;
}
.right-border{
    border-right: 2px whitesmoke solid;
    height: 100%;
    height: fit-content;
}
.par{
    font-size: larger;
    margin-left: 2rem;
}
.carousel {
    grid-area: 1 / 1 / span 3 / span 1;
    margin-left: 1.5rem;
    width: 90%;
    div img {
        height: 400px;
    }
}
.about-titles{
    font-size: x-large !important;
}
span.carousel-control-next-icon, span.carousel-control-prev-icon {
    filter: none !important;
}
p.bg-dark.w-auto.text-white.abcaption {
    width: max-content !important;
    margin: 0px auto;
    border-radius: 5px;
    padding: 5px;
}


/* Projects Section */
.projects-section {
    font-size: large;
    columns: 2;
    column-gap: .75rem;
    align-items: center;
}
.project-card{
    border-radius: .75rem;
    padding: 1rem;
    padding-bottom: 5px;
    width: 100%;
    margin-bottom: 1rem;
    break-inside: avoid;
}
.project-norm {
    display: flex;
    align-content: center;
    justify-content: space-evenly;
    flex-flow: row nowrap;
}
.project-img {
    max-width: 175px;
    max-height: 175px;
    border-radius: 1rem;
    margin-right:1.25rem;
    overflow: hidden;
}
.projects-section-header{
    justify-content: center;
}
.project-gitlink{
    display: block;
    width: fit-content;
    text-decoration: none;
    font-weight: 900;
}
.project-right {
    width: 70%;
}
.project-full {
    margin-top: .25rem;
    width: 95%;
    p {
        margin-bottom: 0px;
    }
}
.project-btn{
    position: relative;
    margin-left: 95%;
    border-radius: 50%;
    cursor: pointer;
    width: 30px;
    height: 30px;
}
.project-skills-cont{
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 10px;
}
.project-skills {
    width: 85%;
}
.project-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* center or start ???*/
    list-style: none;
    padding: 0px !important;
    margin: 0px;
}
.project-list li {
    padding: .5rem;
    border-radius: .5rem;
    margin: .25rem;
    opacity: .75;
    color: black;
}



/* Breakpoints 
    1050 wide (navbar)
    950 (aboutme)
*/

@media only screen and (max-width:1600px){
    .projects-section {
        columns: 1;
    }
    .goUpBtn {
        right:45vw;
    }
    .nav-container {
        padding: 0px 50px;
    }
}
@media only screen and (max-width:1000px) {
    .nav-links a{
        display: none;
    }
    .nav-container {
        justify-content: center;
        label.btn {
            margin-left: 1.05rem;
        }
    }
}
@media only screen and (max-width:800px) {
    .projects-section{
        width: 95%;
        
    }
}

@media only screen and (max-width:1450px) {
    .about-titles {
        animation: none !important;
    }
    .carousel {
        display: none;
    }
    .aboutme-section {
        display: flex;
    }
    .right-border {
        border: none;
    }
    .par {
        margin-left: 0px;
        text-align: center;
    }
}

@media only screen and (max-width: 355px) {
    .nav-logo-img{
        display: none;
    }
}