* {
    font-family: "Afacad Flux", serif;
}
img, h1, h2, h3, h4, h5, p, button {
    animation: 0.5s fadeIn;
}

.wrapper, body {
    margin: 0 auto;
}
body {
    background-image: url(assets/photos/background.jpg);
    background-size: cover;
    background-color:#5f547d
}
h1 {
    color: #fae9e5;
}
a {
    text-decoration: none;
    color: #fae9e5;
    transition: 0.1s;
}
a:hover {
    color: #a4b4e5;
    transition: 0.1s;
}
a:active {
    color: #2f2a4b;
    transition: 0.1s;
}

/* NAV */
.nav {
    display: flex;
    padding: 15px;
    align-items: center;
}
.nav li {
    display: inline; 
    font-size: 1.25rem;
    margin-left: 10px; margin-right: 10px;
}

/* HOMEPAGE */
.body_wrapper {
    display: flex;
    justify-content: center;
    height: 90vh;
}
.body_home {
    display: flex;
    align-items: center; justify-content: center;
    border-radius: 5px;
    margin: 50px;
}
.bio_text {
    text-align: right;
    margin: 30px; margin-right: 15px; padding-top: 25px;
    text-shadow: 0px 0px 2px #2f2a4b;
}
.bio_text h1{
    color: #fae9e5;
    font-size: 3rem;
    margin-top: 0px; margin-bottom: 5px; 
}
.bio_text p{
    color: #fae9e5b8;
    font-size: 1.25rem;
    margin-top: 0px; margin-bottom: 15px;
}
.body_image_container, .bio_text {
    width: 50%;
}
.body_image_container {
    display: flex;
    align-items: center; justify-content: center;
    margin: 30px; margin-left: 15px;
    margin-top: 30px;
    height: 95%; width: 95%;
}
.body_image_container img {
    border-radius: 5px;
    height: 95%; width: 95%;
    object-fit: cover;
    outline: 1px solid #2f2a4b85;
}

/* SERVICES PAGE */
.services_wrapper {
    width: 90%;
    margin: 0 auto; margin-top: 30px; margin-bottom: 30px;
    display: flex; justify-content: center;
}
.services_section {
    width: 33%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    border-radius: 5px;
    margin: 15px;
    padding:15px;
}
.services_text {
    height: 340px;
    width:97%;
}
.services_text h1{
    font-size: 2.5rem;
    text-align: center;
    color: #a4b4e5;
    padding: 5px;
    text-shadow: 0px 0px 2px #2f2a4b;
}
.services_text ul {
    font-size: 1.25rem;
    color: #fae9e5;
    text-shadow: 0px 0px 2px #2f2a4b;
}
.services_section img {
    width: 97%;
    object-fit: cover;
    border-radius: 5px;
    outline: 1px solid #2f2a4b85;
}

/* CREDIT PAGE */
.credit_wrap {
    display: flex;
    flex-direction: column;
    max-width: 725px; margin: 0 auto;
    width: 90%;
}
.credit_item {
    display: flex; flex-direction: column; align-items: center;
    border-radius: 5px;
    margin: 10px;
    padding: 15px;
}
.credit_item iframe {
    border-radius: 5px;
    width: 100%;
}
.credit_item_header {
    width: 100%;
}
.credit_item_header h4 {
    text-align: right;
    font-size: 1.25rem; font-weight: 400;
    color:#fae9e5b3;
    margin-top: 0; margin-bottom: 15px;
}
.credit_item_header h2 {
    font-size: 2rem;
    color: #fae9e5;
    text-shadow: 0px 0px 2px #2f2a4b;
    margin-top: 0; margin-bottom: 0; margin-right: 15px;
}

/* RESUME PAGE */
.resume_wrap {
    width: 60%;
    max-width: 900px;
    margin: 0 auto;
    margin-top: 30px; margin-bottom: 30px;
    padding: 25px;
    border-radius: 5px;
}
.resume_wrap embed {
    border-radius: 5px;
    height: 65vw;
}
.resume_wrap h2{
    margin-bottom: 20px; margin-top: 10px;
}

/* CONTACT PAGE */
.contact_wrap {
    width: 90%; max-width: 900px;
    margin: 0 auto; margin-top: 30px; margin-bottom: 30px;
    border-radius: 5px;
    display: flex; justify-content: center; align-items: center; flex-wrap: wrap;
}
.contact_item {
    width: 45%;
    display: flex; align-items: center;
    margin: 15px;
    border-radius: 5px;
}
.contact_item i {
    font-size: 3rem; color: #a4b4e5;
    padding: 10px;
}
.contact_textbox {
    padding: 10px;
}
.contact_textbox h2{
    color: #a4b4e5;
    margin: 0;
}
.contact_textbox h3{
    color: #fae9e5;
    margin: 0;
}
.contact_image {
    width: 90%;
    padding: 15px;
}
.contact_image img{
    width: 100%;
    border-radius: 5px;
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 15px;
    color: #fae9e5;
}
.footer h5{
    margin-top: 0px;
    opacity: 50%;
}

/* MISC */
.logo {
    color: white;
    text-align: center;
    font-weight: bold;
}
.logo h1, h3{
    margin: 0; padding: 0;
    color: #a4b4e5;
    text-shadow: 0px 0px 2px #2f2a4b;
}

.big_button {
    color: #2f2a4b;
    border: none; border-radius: 5px;
    background-color: #a4b4e5;
    padding: 15px 32px;
    text-align: center;
    font-size: 20px;
    margin: 4px 2px;
    cursor: pointer;
    box-shadow: 0px 0px 2px #2f2a4b;
    transition: 0.2s;
}
.big_button:hover {
    background-color: #7f7aba;
    transition: 0.2s;
}

.page_title{
    text-align: center;
    margin-top: 25px; margin-bottom: 0px;
    font-size: 3rem;
    text-shadow: 0px 0px 2px #2f2a4b;
}

.glassy {
    background-color: #392b42ed;
    outline: 1px solid #322334de;
}

/* ANIMATIONS */
@keyframes fadeIn {
    0% {
        opacity: 0%;
    }
    100% {
        opacity: 100%;
    }
}

/* RESPONSIVE */
@media screen and (max-width: 1200px) {
    .body_wrapper, .body_home {
        height: auto;
        display: block;
    }
    .bio_text, .body_image_container {
        margin: 0 auto;
        width: 95%;
    }
    .bio_text {
        text-align: center;
        margin-bottom: 20px;
    }
    .body_image_container img{
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 850px) {
    .services_wrapper {
        display: flex; flex-direction: column;
    }
    .services_section {
        width: 85%;
        height: 550px;
    }
    .services_section img {
        height: 50%;
    }
    .contact_wrap {
        flex-direction: column; align-items: center;
    }
    .contact_item {
        width: 90%;
    }
}