*{
    margin: 0;
    padding: 0;
}

body{
     font-family: "Cormorant Garamond", serif;
     font-size: 18px;
}

header{
    background-color: rgb(39, 33, 33);
    height: 200px;
    color: white;
    text-align: center;
    font-family: "Gelasio", serif;
}
header h1{
    font-size: 90px;
    letter-spacing: 4px;
    text-shadow: 2px 2px 5px red;
}

header h2{
    font-size: 30px;
    letter-spacing: 2px;
}

nav {
    height: 40px;
    background-color: burlywood;
    text-align: center;
    box-shadow: 1px 1px 5px red;
    position: sticky;
    top: 0;
}

nav li {
    display: inline-block;
    padding: 10px 30px 0 0;
}

nav a {
    text-decoration: none;
    background-color: rgb(39, 33, 33);
    color: burlywood;
    padding: 5px;
    border-radius: 5px;
    box-shadow: 1px 1px 1px red;
}

nav a:hover{
    color: white;
    box-shadow: 2px 2px 2px red;
}

.wrapper{
    display: grid;
    grid-template-columns: 1fr 3fr;
    width: 80%;
    max-width: 900px;
    margin: auto;
    gap: 20px;
}

.wrapper aside{
    text-align: center;
}

.wrapper aside img {
    margin-top: 20px;
    margin-bottom: 10px;
    border-radius: 10%;
    border: 2px solid white;
    box-shadow: 2px 2px 5px black;
}

.title {
    padding: 5px;
    box-shadow: 1px 1px 5px black;
    margin: 20px 10px 10px 10px;
    font-size: 17px;
}

.wrapper aside ul {
    list-style-type: none;
    text-align: left;
    margin: 0 15px;
    line-height: 20px;
}

.atouts p {
    text-align: left;
    padding: 5px;
    margin-top: 1px;
}

.atouts span {
    font-weight: bold;
}

progress{
    width: 90%;
    height: 25px;
    margin-bottom: 10px;
    -webkit-appearance: none;
}

progress::-webkit-progress-bar{
    background-color: rgb(176, 157, 134);
    border-radius: 5px;
    border: 1px solid white;
    box-shadow: 1px 1px 5px black;
}

progress::-webkit-progress-value{
    border-radius: 5px;
    background-color: rgb(147, 127, 166);
}

.wrapper section{
    font-size: 16px;
}

.wrapper section p {
    text-align: justify;
    margin: 10px;
}

#flex-container{
    display: flex;
    text-align: center;
}

section .items p {
    text-align: center;
    font-size: 13px;
    padding: 10px;
}

footer{
    background-color: black;
    color: white;
    text-align: center;
    box-shadow: 1px 1px 1px red;
}

footer p {
    height: 40px;
    position: relative;
    top: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 2px 2px 5px red;
}

/* portfolio */

.flex-container-portfolio{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: center;
}

.flex-container-portfolio .items-site {
    flex-basis: 50%;

}

.items-site img {
    width: 90%;
    -webkit-filter: blur(0%);
    box-shadow: 1px 1px 5px black;
}

.items-site img:hover{
   -webkit-filter: grayscale(100%)
}

/*curriculum vitae*/

.cv .grid-container{
    display: grid;
    grid-template-columns: 0.5fr 1fr;
    font-size: 18px;
    gap: 20px 0px;
}

.cv .date p {
    color: burlywood;
    padding-left: 15px;
}

/* contact */

.contact {
    font-size: 15px;
    padding: 25px;
}

input , textarea {
    display: block;
    width: 100%;
    height: 25px;
    margin-bottom: 20px;
}

textarea {
    height: 300px;
}

label {
    font-weight: bold;
}

input[type="submit"]
{ 
    width: 200px;
    height: 60px;
    margin: auto;
}

@media screen and (max-width: 1000px)
{
    header h1 {
        font-size: 50px;
    }

    header h2 {
        font-size: 20px;
    }

    header {
        height: 100px;
    }

    .wrapper {
        grid-template-columns: 1fr;
    }

    .wrapper aside {
        order: 1;
    }

    aside img {
        display: none;
    }

    .wrapper #flex-container{
        flex-direction: column;
    }

    .flex-container-portfolio{
        flex-direction: column;
    }

    nav a {
        font-size: 15px;
    }

    nav {
        z-index: 1;
    }
}