/* Top Page */
body {
    font-family: 'Merriweather', serif;
    font-size: small;
    margin: 0;
    background-color: rgb(12, 12, 12);
}

#wrapper {
    margin: 3rem auto;
    justify-content: center;
    width: 90rem;
}
 
header {
    display: flex;
    position: fixed;
    top: 0;
    width: 100%;
    height: 40px;
    z-index: 99;
}

#top-nav {
    width: 100%;
    display: flex;
    height: 70px;
    justify-content: center;
    align-content: flex-start;
    color: rgb(12, 12, 12);
    background-image: linear-gradient(to bottom, rgba(12, 12, 12, 1) 60%, rgba(12,12,12, 0) 100%);
    font-size: large;
}

/* Links */
#top-nav a {
    margin: 5px 15px auto;
    transition: all .2s ease-in-out;
    padding: 7px;
    color: white;
    text-decoration: none;
}

#top-nav a:link {
    color: white;
}

#top-nav a:hover {
    color: gray;
}

#top {
    display: flex;
    flex-flow: column;
}


#header-list {
    z-index: 1;
    list-style-type: none;
    padding: 0;
    margin-left: 30px;
    font-family: 'Source Code', sans-serif;
}

#head1 h1 {
    margin: 0;
    margin-left:2%;
    background-color: rgb(216,78,39);
    color: white;
    font-size: xx-large;
    width: fit-content;
}
#head2 h2 {
    margin: 0;
    margin-left:2%;
    color: white;
    background-color: rgb(59,57,58);
    font-size: large;
    font-weight: normal;
    width: fit-content;
}

#bio {
    display: flex;
    flex-flow: column;
    margin: 0px 110px 0px 110px;
    font-size: large;
}

#bio img {
    width: 0px;
    z-index: 0;
    border: 1px solid black;
}

#qualifications {
    color: rgb(232, 232, 232);
}

#projects-head {
    font-size: 200%;
    margin-bottom: 0px;
}

#info {
    display: grid;
    justify-content: center;
    grid-template-areas:
        "title title"
        "flavor desc"
        "flavor contributions"
        "flavor contributions"
        "learned learned"
        "tools tools"
        "footer footer";
    grid-template-columns: auto auto;
    /* grid-template-rows: auto 0.8fr auto auto auto auto; */
    grid-row-gap: 15px;
    background-color: rgb(43, 43, 43);
    font-size: medium;
    padding: 20px 35px;
    margin: 0px 0px;
}

#info p {
    padding-left: 20px;
}

#flavor-info {
    grid-area: flavor;
    font-style: italic;
    width: fit-content;
    height: auto;
}

#flavor-img {
    width: auto;
    height: 400px;
    margin: 0px 0px 10px 20px;
}

#flavor-text {
    margin-bottom: 20px;
    width: 80%;
}

#title-info {
    grid-area: title;
    font-size: 160%;
    color: rgb(216,78,39);
    margin: 0px;
}

#title-text {
    margin: 0px;
}

p {
    display: block;
    margin: 0px;
    color: rgb(232, 232, 232);
    line-height: 1.4;
}


#desc-info {
    grid-area: desc;
    margin-left: 20px;
}

#contribution-info {
    margin-left: 20px;
    grid-area: contributions;
}

#learned-info {
    grid-area: learned;
}

#tools-info {
    grid-area: tools;
}


#link-head {
    grid-area: link;
}


#footer-info {
    grid-area: footer;
    display: grid;
    grid-template-areas: "link link";
    grid-template-rows: auto auto;
    grid-template-columns: auto auto;
    #date-text {
        margin-left: auto;
        padding: 0px;
        font-style: italic;
        font-weight: 100;
    }
}


/* Main Content */
h2 {
    margin: 0px 40px 0px;
    color: rgb(216,78,39);
    font-size: 130%;
    font-family: 'Source Code Pro', sans-serif;
}

h3 {
    font-family: 'Source Code Pro', sans-serif;
    color: rgb(216,78,39);
    margin: 0px 0px 10px 0px;
    font-size: x-large;
}

/* #content {
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
} */

/* #project-display {
    margin: 10px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#project-desc {
    display:none;
} */

/* #project {
    margin: 10px 20px;
    margin-bottom: 60px;
    display: flex;
    flex-direction: row;
    width: 550px;
    font-size: medium;
} */

/* #project p {
    color: rgb(232, 232, 232);
} */

/* Boxes */
.sidebar {
    display:none;
    margin-top: 5px;
    width: auto;
    padding: 0;
    flex-flow: column;
    list-style-type: none;
    font-weight: normal;
}

#p1 {
    display: flex;
    justify-content: center;
    background-color: rgb(216,78,39);
    color: white;
    font-family: 'Roboto', sans-serif;
    font-size: 22px;
}

#p2 {
    background-color: rgb(198,204,204);
}

#p2 p {
    color: black;
}

.sidebar p {
    margin: 0;
    padding: .6em;
    width: fit-content;
}

a:link {
    color: rgb(216,78,39);
}
a:visited {
    color: rgb(152, 73, 51);
}
a:hover {
    color: rgb(219, 219, 219);
}

/*Slider*/
.mySwiper {
    max-width: 1300px;
    width: 100%;
    background-color: rgb(43, 43, 43);
    margin: 20px auto 0px;
    padding: 30px 0px;
    justify-content: center;
    /* overflow: hidden; */
}

#container {
    overflow: hidden;
    width: 92%;
    margin: auto;
}

.swiper-wrapper {
    width: 100%
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: rgba(58, 58, 58, 0.703);
    display: flex;
    justify-content: center;
    align-items: center;
    object-fit: contain;
    width: 500px
    /* margin-left: 50px;
    margin-right: 50px; */
}

.swiper-slide img {
    height: 250px;
}

.swiper-pagination-bullet {
    background-color: rgb(216,78,39);
}

.swiper-button-next {
    color: rgb(216,78,39);
    border: rgb(12, 12, 12);
}

.swiper-button-next:hover {
    color: rgb(152, 73, 51);
}

.swiper-button-prev {
    color: rgb(216,78,39);
}

.swiper-button-prev:hover {
    color: rgb(152, 73, 51);
}

#contact {
    margin: 40px 0px 20px 0px;
    text-align: center;
    font-size: medium;
}

#contact-icons {
    display: flex;
    width: 250px;
    justify-content: center;
    gap: 20px;
    margin: 10px auto;
}

svg {
    width: 60px;
    height: 60px;
    
}

svg:hover {
    path {
        fill: #d4beb8;
    };
    transform: scale(1.1);
    transition: all .2s ease-in-out;
}

@media screen and (max-width: 1235px) {
    
    #wrapper {
        width: auto;
        align-content: center;
        padding: 0px 15px;
        margin-top: 55px;
    }

    #top {
        margin: 0px 10px;
    }

    #top ul {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    #top-nav {
        height: 80px;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        font-size: medium;
    }

    #top-nav a {
        margin: 0px 15px;
        padding: 5px;
    }

    #bio {
        flex-direction: column;
        margin: 0px 10px 0px 10px;
    }
    #bio img{
        margin-left: auto;
        margin-right: auto;
    }
    #bio p {
        margin-left: auto;
        margin-right: auto;
        font-size: small;
    }

    p 
    {
        font-size: small;
    }

    #desc-text {
        padding: 0px 0px;
    }

    .mySwiper
    {
        height: fit-content;
        width: 100%;
        margin: 5px auto;
        padding: 20px 0px
    }

    #container {
        width: 90%;
    }

    .swiper-slide {
        height: auto;
        width: 70%;
        margin: auto 10px;
    }

    .swiper-slide img {
        height: auto;
        width: 100%;
    }

    #info {
        display: flex;
        flex-direction: column;
        font-size: auto;
        margin: 0px 0px;
        padding: 8px 15px;
    }

    #info p {
        padding: 0px 0px;
    }

    #info div {
        margin-left: 0px;
    }

    #flavor-text {
        margin: 0px;
    }

    #flavor-img {
        margin: 0px auto 10px;
        width: 100%;
        height: auto;
    }

    #footer-info {
        display: flex;
        flex-direction: column;
    }

    #link-text a {
        word-break: break-all;
    }

    #date-text {
        margin-top: 10px;
    }

    h2 {
        margin: 30px 0px 0px;
    }
}