/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
/* ======================= My CSS Rules ======================= */
/* Colors
green olive #a49b64
light silver #cdced3
soft purple #d3c4d1
typography  h1,h2,h3, footer, contact information   SONO font
body text  Helvetica
*/

.wrapper {
  margin: auto auto;
  width: 980px;
}
/* Maximum space for two boxes responsive website nex time I will do it with flex box*/
body {
  font-family: "Helvetica Neue", Helvetica, Calibri, Arial, sans-serif;
  font-size: 1.2em;
  color: #2b2828;

  line-height: 1.5;
  width: 80%;
  max-width: 100em;
  margin: 0 auto;
  background: rgb(188, 178, 120);
  background: linear-gradient(
    90deg,
    rgba(188, 178, 120, 0.8799720571822479) 13%,
    rgba(211, 196, 209, 0.8491597322522759) 80%
  );
}

/* We starting with the two model box */
.content {
  margin-top: 100px;
}

.content .c1 {
  margin: 50px;
  float: left;
  width: 400px;
}
.content .c2 {
  margin: 50px;
  float: right;
  width: 400px;
}

.content h3 {
  margin: 30px;
  color: #ffff;
}
/* Ending with the two model box */
/* ======================= Navigation ======================= */

.wrapper {
  font-family: "Helvetica Neue", Helvetica, Calibri, Arial, sans-serif;
  font-weight: 600;
  margin-top: 30px;
  display: grid;
  text-align: right;
  padding-left: 2px;
  padding-right: 2px;
  padding-bottom: 70px;
  font-size: 1.5em;
}

#img-contenedor {
  display: flex;
  align-items: center;
  justify-content: center;
}
img {
  margin-bottom: 30px;
  border-radius: 50%;
  border: 10px solid #ffff;
}

/* ======================= End of Navigation ======================= */
/* ======================= Main body ======================= */

h1 {
  font-family: "Sono", sans-serif, Helvetica, Calibri, Arial;
  font-size: 3.5em;
  text-align: center;
  padding: 10px;
  margin: 20px;
  font-weight: 600;
  color: #cdced3;
  background-color: white;
  opacity: 50%;
  border-radius: 8px;
}

h2 {
  font-family: "Sono", sans-serif, Helvetica, Calibri, Arial;
  font-size: 2.5em;
  font-weight: 600;
  margin-bottom: 1em;
  margin-top: 2em;
  font-weight: 400;
  color: #ffff;
  text-align: center;
}

h3 {
  font-family: "Sono", sans-serif, Helvetica, Calibri, Arial;
  font-size: 1.5em;
  padding: 10px;
  margin-top: 1.6em;
  color: white;
  background-color: #d3c4d1;
  text-align: center;
  border-radius: 8px;
}
.c2 h3 {
  background-color: #a49b6a;
}
.intro {
  font-size: 1.3em;
  text-align: center;
}

p {
  padding-top: 1em;
}
#img-photo {
  display: flex;
  align-items: center;
  justify-content: center;
}
#img-photo2 {
  display: flex;
  align-items: center;
  justify-content: center;
}
.c1 img {
  margin-top: 50px;
  margin-bottom: 30px;
  border-radius: 50%;
  border: 4px solid #ffff;
}
.c2 img {
  margin-top: 100px;
  margin-bottom: 30px;
  border-radius: 50%;
  border: 4px solid #ffff;
}
/* ======================= End of Main body ======================= */
/*==================starting with contact info ==================*/

.contact {
  font-family: "Sono", sans-serif, Helvetica, Calibri, Arial;
  font-size: 0.85em;
  text-align: center;
  margin-top: 700px;
  background-color: #d3c4d1;
  border-radius: 5px;
}

.portfolio {
  float: left;
}

.social {
  float: inherit;
}
.social img {
  margin: 30px;
  background-color: #a49b64;
  border-radius: 10px;
  padding: 2px;
}

/* ======================= Starting Footer ======================= */
footer {
  font-family: "Sono", sans-serif, Helvetica, Calibri, Arial;
  font-size: 0.85em;
  text-align: center;
  padding: 1em;
  margin-top: 250px;
  background: rgb(188, 178, 120);
  background: linear-gradient(
    90deg,
    rgba(188, 178, 120, 0.8799720571822479) 13%,
    rgba(211, 196, 209, 0.8491597322522759) 80%
  );
  border-radius: 8px;
}

footer p {
  line-height: 1em;
  padding-top: 0.2em;
  padding-bottom: 0.5em;
  color: white;
}
/* ======================= Ending Footer ======================= */
/* ======================= Starting profile for small screens media queries  ======================= */

@media (max-width: 900px) {
  .content .c1 {
    float: none;
    margin: 0 2%;
    width: 90%;
  }

  .content .c2 {
    float: none;
    margin: 0 2%;
    width: 90%;
  }

  h3 {
    clear: both;
  }

  h1 {
    bottom: 2.7em;
    left: 2.5em;
    font-size: 2em;
  }
  .intro {
    bottom: 2.7em;
    left: 2.5em;
    font-size: 1em;
    text-align: left;
  }
  h3 + p {
    padding-bottom: 2em;
  }

  h1 + p {
    margin-top: -3em;
  }
  .wrapper {
    margin-top: 20px;
    display: grid;
    text-align: center;
    font-size: 1.2em;
  }
}

/* ======================= I couldnt fix properly the footer and the contact info  ======================= */

@media (max-width: 640px) {
  img {
    float: none;
    display: block;
    margin: 0 auto;
  }
  .contact {
    margin: 0 2%;
    margin-top: 30px;
    background: none;
    font-size: 0.7em;
  }
  .contact img {
    width: 30px;
    height: 30px;
  }

  footer {
    margin-top: 150px;
  }
  .wrapper {
    margin-top: 20px;
    text-align: left;
    font-size: 1.2em;
  }
}
