/*adding consistent variables to the document*/
:root {
    --noodles: sandybrown;
    --sauce: rgb(202, 164, 106);
    --cheese:rgb(71, 114, 114);
    --spice: rgb(85, 81, 109);
}

* {
    margin: 0;
    box-sizing:border-box;
}

body {
    color:var(--noodles);
    background: rgb(240, 240, 111);
    font-family:Verdana, Geneva, Tahoma, sans-serif;
}
/*flexbox used to align name and nav bar*/
header {
    display: flex;
    background-color: var(--spice);
    padding: 2%;
    justify-content: space-between;
}

nav a {
    text-decoration: none;
    color: var(--noodles);
    padding: 15px 20px;
    font-size: larger;
}

.subject {
    padding: 2%;
 }

 /*flexbox to work with alignment*/
.About {
    display: flex;
    background-color:var(--cheese);
    padding: 2%;
    margin: 2%;
    border-style: inset;
}
/*flex box for alignment on recent photo, also played around with transitions for movement*/
.About img {
    display: flex;
    border-radius: 100%;
    border-style:double;
    margin: auto;
    border-width: 20%;
    transition: transform .8s ease-in-out;
    }
.About img:hover {
    transform:rotate(360deg);
    }

.About p {
    padding: 1%;
    margin: 1%
}

/*top row of "My Work" to create different sizing within flexbox*/
.primary {
    display: flex;
    align-self: center;
    padding: inherit;
    width: 55%;

}


#chicken img {
    width: 100%;
    height: 80%;
}

/*bottom row of "My Work" to create independent sizing and ability to wrap for responsiveness*/
.secondary {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-evenly;
}


li {
    padding: 7px;
}
    
.project {
    border-style:double;
    border-width: 6px;
    border-radius: 10px;
    border-color: var(--sauce);
}

/*added hover to bring attention to links*/
.project:hover {
    box-shadow: inset 0px 0px 10px var(--sauce), 0 0 20px var(--sauce);

}

.project img {
    width: 150px;
    height: 150px;
    position: relative;
    text-align: center;

}
 
#work {
    display: flex;
    flex-direction: column;
    border-style: inset;
    padding: 2%;
    background-color: var(--cheese);
}

.title {
    margin: 0;
    position: relative;
    text-align: center;
}

#contact {
    display: flex;
    flex-wrap:wrap;
    background-color: var(--cheese);
    padding: 2%;
    border-style: inset;

}

ul li {
 
    display: inline-block;

}

ul li a {
    text-decoration: none;
}

/*added hover to bring attention to links*/
ul li a:hover {
    color: fuchsia;
}


footer {
    height: 60px;
    width: 100%;
    line-height: 60px;
    background-color:var(--spice);
    text-align: center;
}
footer a {
    text-decoration: none;
    color: var(--noodles);
    font-size: small
}

/*added hover to bring attention to links*/
footer a:hover {
    color: fuchsia;
}

/*rezing and reconstructing elements to stack and shrink to fit has page size decreases*/
@media screen and (max-width: 786px) {
    .digits,
    .navbar {
        width: 50%;
        justify-content: center;
        }

    header {
        flex-direction: column;
        align-items: center;
    }

    .About {
      flex-direction: column;
    }
    .About img {
        width: 50%;
    }
}

@media screen and (max-width: 650px) {
    .primary,
    .secondary {
        flex-direction: column;
        align-items: left;
        width: 50%;

        }
    }
        

  