@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab&family=Source+Sans+Pro&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    background-color: #EEE9DA;
    scroll-behavior: smooth;
}

body {
    width: 60%;
    margin: 0 auto;
}

li, a, button {
    font-family: 'Roboto Slab', serif;
    font-size: 1.25rem;
    color: #323232;
    text-decoration: none;
}

header, section {
    margin-bottom: 2rem;
}

h1 {
    font-family: 'Roboto Slab', serif;
    font-weight: 900;
}

h2 {
    font-family: 'Roboto Slab', serif;
    font-style: italic;
    font-weight: bold;
    font-size: 2rem;
    margin-bottom: 1rem;
}

h3 {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.50rem;
    margin-bottom: 0.75rem;
}

p {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.3rem;
}

/* Header & Nav Section */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
}

.nav_links, .projects_list, .skills_list  {
    list-style: none;
}

.nav_links li {
    display: inline-block;
    /* padding: 0px 20px; */
    margin-left: 1.5rem;
}

.nav_links li a {
    transition: all 0.3s ease 0s;
}

.nav_links li a:hover {
    color: #93BFCF;
}

button {
    padding: 9px 25px;
    background-color: rgba(96, 150, 180, 1);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease 0s;
    align-items:flex-end;
}

button:hover {
    background-color: rgba(96, 150, 180, 0.8);
}

button:active {
    background-color: #BDCDD6;  
}

/* .about_me_container {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center; 
} */

/* About Me Section  */

.about_me_container {
    display: flex;
    gap: 0.85rem;
}

.about_me_container img {
    width: 325px;
    height: 80%;
    flex-shrink: 0;
    border-radius: 10px;
}

/* Projects section */

/* .project_img_container {
    width: 50%;
    height: 200px;
    overflow: hidden;
}  */

.target_element a{
    cursor: pointer;
}

.target_element h3 {
    display: inline;
}

/* .target_element > * {
    display: none;
} */

.target_element > * {
    display: block;
}

.target_element a {
    color:rgba(96, 150, 180, 0.8);
    margin-top: 0.5rem;
}

.target_element a:hover {
    color: grey;
    text-decoration: underline;
}


.target_element img {
    width: 75%;
    margin-top: 2rem;
}

.target_element p {
    margin-top: 1rem;
    margin-bottom: 2rem;
} 



/* Skills Section */

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

.skills_list {
    margin-top: 2rem;
}

.skills_list svg {
    width: 35px;
    color: grey;
    flex-wrap: wrap;
}

/* Footer Section */

footer {
    font-family: 'Roboto Slab', serif;
    font-size: 1.25rem;
    text-align: center;
    padding-bottom: 1rem;
}

/* Contact Page */ 

.profile_list {
    display: flex;
    gap: 1rem;
    list-style: none;
    margin-top: 1rem;
}

.profile_list svg {
    width: 30px;
    color: grey;
    flex-wrap: wrap;
}

.profile_list svg:hover {
    color: #6096B4;
}

/* Media Queries */
@media only screen and (max-width: 1400px) {
    .about_me_container img {
        align-self: center;
    }
}

@media only screen and (max-width: 1145px) {
    .nav_links li:not(:last-child) {
        display: none;
    }
    
    .about_me_container {
        flex-direction: column-reverse;
    }

    .about_me_container img {
        width: 250px;
    }
}