* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --body:#838383;
    --title:#f69e7b;
    --subtitle: #d4b5b0;
    --other: #eedad1;
    --light: #faeee7;
    
}
body {
    color: var(--body);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--light);
}
/* header */
header{
    padding: 10px 25px;
    background-color: var(--other);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    top: 0;
    z-index: 9999;
}
header h1{
    font-weight: normal;
    font-size: 42px;
    color:var(--body);
    margin: 0;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.35);
}
header a{
    text-decoration: none;
    color:var(--body);
}
header nav{
    margin: 10px 0;
}
header nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    list-style: none;
}
header nav ul li a{
    padding: 20px 20px;
    font-weight: normal;
    font-size: 2.10vw;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}
header nav ul li a:hover {
    background:  var(--subtitle);
    color:var(--other);
    border-radius: 80%;
    overflow: hidden;
    text-shadow: none;
}

/* footer */
footer {
    background:  var(--subtitle);
    width: 100%;
    padding: 40px 35px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
footer h2 {
    color:var(--body);
    font-size: 26px;
    margin: 0;
}

/* hero */
.hero {
    background-image: url("../images/background-1.jpg");
    background-size: cover;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: flex-start;
    background-attachment: fixed;
    width: 100vw;
    height: 50vh;
}
.hero-sub {
    width: 100%;
    line-height: 2.2;
    margin: 5.5%;
}
.hero-sub h2 {
    font-style: lighter;
    font-size: 42px;
    color:  var(--subtitle);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.45);
    float: right;
    text-align: right;
}


.title {
    font-size: 38px;
    font-weight: normal;
    color:var(--title);
    padding-bottom: 20px;
    text-align: center;
    margin: 0 auto 35px auto;
    width: 20%;
    float: left;
}

/* about me */
.profile {
    width: 100%;
    margin: 30px;
    padding: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.profile img {
    max-width: 20%;
    float: left;
    padding: 20px;
}
.profile p {
    color: var(--body);
    width: 75%;
    font-size: 24px;
    margin: 30px;
    padding: 30px;
    text-align: left;
    float: left;
}  

/* my work */
.wrapper {
    display: flex;
    width: 100%;
    justify-content: center;
}
.grid-container {
    background:var(--other);
    display: grid;
    grid-template-columns: repeat(1, 4fr);
    grid-template-rows: repeat(2, 1fr);
    border: 2px solid var(--subtitle);
    color:var(--body);
    font-size: 1.2rem;
    grid-gap: 10px;
}
.box {
    padding: 75px;
    margin: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: bolder;
    font-size: 20px;
    color: var(--title);
    background: rgba(212, 181, 176, 0.5);
}
.box:hover {
    background: rgba(212, 181, 176, 0.5);
}
mark {
    background-color: rgba(250, 238, 231, 0.85);
    float: left;
    color: var(--title);
}
.run-buddy {
    grid-column: 1 / 3;
    grid-row: 1; 
    background-image: url("../images/buddy.JPG");
    background-size: cover;
}
.interior-design {
    grid-column: 2 ;
    grid-row: 2;
    background-image: url("../images/design.jpg");
    background-size: cover;
}
.tempting-destinations {
    grid-column: 3 ;
    grid-row: 1 /3 ;
    background-image: url("../images/destinations.jpg");
    background-size: cover;
}
.where-to-roadtrip {
    grid-column: 1;
    grid-row: 2;
    background-image: url("../images/trip.jpg");
    background-size: cover;
}
/* contact info */
.contact-info {
    margin: 40px;
    padding: 40px;
}
.contact-info ul {
    display: flex;
    justify-content: space-around;
}
.contact-info a {
    color: var(--body);
    font-weight: bold;
    font-size: 20px;
}
.contact-info a:hover {
    color: var(--title);
    font-weight: bolder;
}

/* MEDIA QUERY */
@media screen and (max-width: 980px) {
    header {
        padding-bottom: 0;
        justify-content: center;
        position: relative;
    }
 
    header h1 {
        width: 100%;
        text-align: center;
    }
 
    header nav ul {
        margin-top: 20px;
        width: 100%;
        justify-content: center;
    }
 
    header nav ul li a {
        font-size: 20px;
    }
 
    footer h2 {
        text-align: center;
        width: 100%;
    }
 
    .hero, .hero-sub {
        width: 100%;
    }
 
    .hero-sub {
        text-align: center;
    }

    .title {
        width: 80%;
    }
    .box {
        padding: 15px;
        margin: 15px;
    }
    .contact-info {
        margin: 80px;
        padding: 80px;
    }
    .contact-info ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        align-items: center;
        width: 100%;
    }
}
 @media screen and (max-width: 575px) {
 
    .title {
         width: 95%;
     }
 
 }

