/* styles.css */

@charset "utf-8";
* {
  padding:0;
  margin:0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  width: 100%;
  height: 100%;
}
body {
  width: 100%;
  height: 100%;
  font: 300 62.5%/1.4 'Comfortaa', sans-serif;
  font-size: 1rem;
  position:relative;
  margin: 0;
  font-family: 'Helvetica Neue', sans-serif;
  background: #E4DBD4;
  background: linear-gradient(90deg,rgba(228, 219, 212, 1) 0%, rgba(239, 234, 227, 1) 100%);
  color: #5a2f17;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
  min-height: 100vh;
}


body::before, body::after {
  height: auto;
  width: 50vw;
  padding-bottom: 50%;
  position:absolute;
  margin: 0;
  z-index:0;
  background-repeat:no-repeat;
  background-size: contain;
  opacity:0.7;
}
body::before {
  content: "";
  max-width:385px;
  top: 0;
  left:0;
  background-image: url("../images/bg-ombre-palmier-1.png");
  background-position: top left;
}
body::after {
  content: "";
  max-width:303px;
  bottom: 0;
  right:0;
  background-image: url("../images/bg-ombre-palmier-2.png");
  background-position: bottom right;
}
a {outline:none; text-decoration: none; color: #5a2f17;}

img{border:none; max-width:100%; height:auto; vertical-align: middle;}

.container {
  height: 100vh;
  width: 100%;
  display: block;
  max-width: 480px;
  padding: 2rem 0;
  text-align: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index:1;
}

.profile {
  margin-bottom: 2rem;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid #b5501a;
  object-fit: cover;
}

h1 {
  font-family: 'Montserrat', 'Comfortaa', sans-serif;
  font-size: 1.1rem;
  font-weight: 300;
  margin-top: 1rem;
  letter-spacing: 1px;
  color: #5a2f17;
}

.links-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  vertical-align: top;
}

.link-box {
  display:inline-block;
}

.link-box a {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: #f5cbb3;
  border: 2px solid #d99574;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.link-box p {
  margin: 0;
  font-weight: bold;
}

.link-box strong {
  text-transform: uppercase;
}

.code {
  color: #b5501a;
  font-weight: 500;
}

.highlight {
  color: #b5501a;
}

.cta-button {
  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  vertical-align: middle;
  background-color: #d95f0e;
  color: white;
  padding: 1rem 2rem;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 500;
  margin-top: 1rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.cta-button::before {
  content: url('../images/icon-email.svg');
  width:30px;
  height: 30px;
  display:inline-block;
  margin-right: 5px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-icons a {
  width: 36px;
}

.social-icons img {
  width: 100%;
  height: 36px;
}

.link-box a:hover,
.cta-button:hover {
    opacity:0.7;
}

.social-icons a:hover img {
    zoom:0.9;
}