body {
    margin: 0;
    padding: 0;
    background-color: #663333;
}


nav {
    font-family: "Garamond", sans-serif;
    text-transform: uppercase; 
    background-color: white;
    width: 100%;
    display: inline;
    align-items: baseline; 
    position: sticky;
    top: 0;
    z-index: 5;
}

ul {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #3E2022;
}

li {
  float: left;
}

li a, .dropbtn {
  display: inline-block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

li a:hover, .dropdown:hover .dropbtn {
  background-color: white;
  color: #59191F;
}

li.dropdown {
  display: right; 
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: #59191F;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {background-color: #f1f1f1;}

.dropdown:hover .dropdown-content {
  display: block;
}


.clear { /*pentru a reintroduce in flow cele doua div-uri si a readuce la dimensiunile initiale body-ul care, altfel, are inaltime 0 */
    clear: both;
}

.hero {
    background-image: url("pexels-suzy-hazelwood-1887609.jpg");
    height: 70vh;
    background-position: center;
    background-size: cover;
    font-family: "Garamond", sans-serif;
    text-transform: uppercase;
    font-weight: bold;
    display: block;
    text-align: center;
    position: relative;
    margin-top: -5vh;
    z-index: 0; /* am folosit z-index aici si la hero:before ca sa mentin textul deasupra imaginii de fundal si overlay-ului*/
}

.hero h1 {
    text-transform: uppercase;
    padding-top: 30vh;
    font-size: 4em;
    font-weight: 900;
    color: white;
    text-shadow: 5px 5px 5px #3E2022;
}

.hero h3 {
    text-transform: lowercase;
    color: white;
    font-size: 34px;
    text-shadow: 5px 5px 5px #3E2022;
}

.hero :before { /*overlay-ul transparent peste background-ul sectiunii hero*/
    content: "";
    display: block;
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: -1;
}

.about {
    width: 90%;
    margin: 0 auto;
    border: 1px solid rgba(114, 114, 114, 0.2);
    box-shadow: 10px 10px 20px rgba(114, 114, 114, 0.2);
    padding-left: 10px;
    margin-bottom: 2vh;
    margin-top: -2vh;
    background-color: white;
    position: relative;
    z-index: 2;
    height: 55vh;
}

.about section {
    display: block;
    width: 49%;
    float: left;
}

.clear {
    clear: both;
}

.about-images {
    position: relative;
    display: block;
}

.about-images img {
    float: center;
    width: 35%;
    margin: auto;
    display: flex;
    padding-top: 5vh ;
}

.clear {
    clear: both;
}



span {
    display: block;
}



.skills {
    width: 90%; 
    margin: 0 auto;
    border: 1px solid rgba(114, 114, 114, 0.2);
    box-shadow: 10px 10px 20px rgba(114, 114, 114, 0.2);
    align-items: baseline;
    padding-left: 2vh;
    background-color: white;
    margin-top: 5vh;

}

.past-projects {
    width: 90%; 
    margin: 0 auto;
    border: 1px solid rgba(114, 114, 114, 0.2);
    box-shadow: 10px 10px 20px rgba(114, 114, 114, 0.2);
    align-items: baseline;
    padding-left: 2vh;
    background-color: white;
    margin-top: 5vh;
}


.section-title {
    text-align: center;
    text-transform: uppercase;
    font-family: "Garamond", sans-serif;
    font-weight: bold;
    font-size: 2em;
    background-color: white;
    width: 20%;
    border: 1px solid #861A22;
    box-shadow: 10px 10px 20px #861A22;
    position: relative;
    z-index: 2;
    margin-left: -50px;
}

.presentation {
    padding-left: 2vh;
    text-align: center;
    font-size: 23px;
}

.basic-info {
    margin-top: -5vh;
    text-align: center;
}

.basic-info h3 {
    font-family: "Garamond", sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 2em;
    padding-left: 5vh;
}


.clear {
    clear: both;
}

.end-contact ul li {
    font-size: 2em;
    color:#3E2022 ;
}

.end-contact {
    width: 90%; 
    margin: 0 auto;
    border: 1px solid rgba(114, 114, 114, 0.2);
    box-shadow: 10px 10px 20px rgba(114, 114, 114, 0.2);
    align-items: line;
    background-color: white;
    margin-top: 5vh;
    height: 25vh;
}

.end-list {
    font-size: 3vh;
    display: flex;
    justify-content: space-around;
}

.end-list :hover {
    color: #3E2022;
}


footer {
    width: 100%;
    display: inline;
    margin-top: 15vh;
}

.footer-text {
    font-family: "Garamond", sans-serif;
    color: white;
    text-align: center;
    text-transform: uppercase;
    padding-top: 2vh;
    padding-bottom: 2vh;
}
