
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family:'encode Sans Compressed', sans-serif;
}

body {
    font-size: 1.5rem;
    padding: 10px;
}

.main-header {
    padding: 10px 10px;
    background-color: #13293d;
    color: white;
    text-align: center;
}
/* ________________________________________ */
.sub-header {

    display: flex;
    flex-direction: row;
    justify-content: flex-start;

    background-color: #13293d;
    color: white;
    border-top: solid black 3px;
    padding: 15px 0;
    text-align: center;
}

.nav-bar {
    padding: 10px 10px;
    text-decoration: none;
    color: white;
}

/* _____________________________________________________ */

.sub-header li {
    padding:10px 0;
}

.sub-header ul li a {
    text-decoration: none;
    color: white;
}

main {
    margin-top: 2%;
} 

#about-me-section {
    display: flex;
    padding: 0 50px;
    flex-direction: column;
    align-items: center;
    /* border: 5px solid pink; */
    /* background-color: #555; */

}

.about-me-text {
    margin: 0 30px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
}

.my-work-header {
    background-color: #13293d;
    color: white;
    text-align: center;
    padding: 1rem;
}
/* ___________________________________________ */

.my-work-container {
    padding: 2rem 0;
}

.project-1 {
    display: inline-block;
    position: relative;
    text-align: center;
    border: solid black 1px;
    color: black;
    background-color: white;
    height: 30vh;
    width: 100%;
    background-size: 300px 300px;
    /* max-width: 50vw; */
}
.project-2 {
    display: inline-block;
    position: relative;
    text-align: center;
    border: solid black 1px;
    color: black;
    background-color: white;
    height: 30vh;
    width: 100%;
    background-size: 300px 300px;
    /* max-width: 50vw; */
    /* max-height: 30vh; */
}

.project-3 {
    display: inline-block;
    position: relative;
    text-align: center;
    border: solid black 1px;
    color: black;
    background-color: white;
    height: 30vh;
    width: 100%;
    background-size: 300px 300px;
}

/* _______________________________________ */

#contact-me-section {
    /* text-align: center; */
    /* padding: 30px; */
}

.contact-me-header {
    background-color:#13293d;
    color: white;
    padding: 1rem;
    text-align: center;
}

#contact-me-section ul {
    padding: 30px;
    list-style: none;
    text-align: center;
}

.img-me {
    /* min-width: 100%; */
    max-width: 40vw;
    padding: 2rem 0;
    border-radius: 10rem;
}

 .project-img {
     width: 100%;    
}
    
.project-title {
    position:absolute;
    top: 50%;
    left:50%;
    font-size: 1.5rem;
    color: white;
    background-color: #13293d;
}

.about-me-section h2 {
    text-align: center;
}

.about-me-text p {
    padding: 20px 0;
}

/* ____________________________________ */

.link {
    position: relative;

}

a {
    color: #777;
    transition: color 0.2s;
    text-decoration: none;

}

a:hover {
    color: #444;

}

/* ___________________________________ */

.contact-details {
    display: flex;
    justify-content: space-evenly;
    padding: 3rem 0;
}

@media screen and (min-width: 1024px) {
     #about-me-section{
         flex-direction: row;
        
    }
}

 @media screen and (min-width: 1024px) {
    .projects{
        /* display: inline-block; */
        width: 49.7%;
}
} 

@media screen and (max-width: 1024px) {
    .sub-header{
        flex-direction: column;
}
} 

@media screen and (min-width: 1024px) {
    .my-work-container{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;

}
    .project-1{
        width: 80vw;
        height: 60vh;
        display: block;
        /* align-self: center; */
        /* margin-bottom: 2rem; */
    }

    .project-2 {
        /* width: 50%; */
        display: block;
        margin-right: 1.5rem;
        width: 42vw;
        height: 35vh;
    }

    .project-3 {
        /* width: 50%; */
        display: block;
        /* margin-left: 1.5rem; */
        width: 42vw;
        height: 35vh;
    }
} 







