:root {
  --ig-font: rgb(38, 38, 38);
  --ig-gray: #444;
}

html, body {
  background-color: #eff6ff !important;
  /* font-family: 'Lato', sans-serif !important; */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #334862;
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

.img-perfil {
  width: 100px;
  height: 100px;
  background: white;
  border-radius: 100px;
  background-size: cover;
  background-position: center center;
}


h1 {
  font-size: 32px !important;
}

h2 {
  font-size: 28px !important;
}

h3 {
  font-size: 22px !important;
}

h4 {
  font-size: 20px !important;
}

h5 {
  font-size: 18px !important;
}

h6 {
  font-size: 14px !important;
}

/* .logo {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-57%);
} */

.logo {
  padding: 20px;
}

.logo img {
  width: 200px;
}

.navbar {
  background: white;
}
/*
.menu {
  float: right;
  padding: 20px;
}

.menu {
  display: flex;
  list-style: none;
}

.menu li {
  padding: 15px;
  font-weight: 500;
  transition: 250ms all ease-in-out;
}

.menu li:hover {
  margin-top: -3px;
}

.menu li a {
  text-decoration: none;
  color: inherit;
} */

body {
  background-image: url(../img/waves.png);
  background-size: contain;
  background-size: 100% 60%;
  background-repeat: no-repeat;
  background-position-y: bottom;
}

.bg-waves-container {
  width: 100%;
  height: 60%;
  position: absolute;
  bottom: 0;
}

.content {
  text-align: center;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
}

.fotos-error {
  margin: 100px 0 !important;
  font-size: 20px;
  font-weight: 600;
}

.fbold {
  font-weight: 500;
}

.fregular {
  font-weight: normal;
}

.input-perfil-container {
  text-align: center;
  position: relative;
  display: inline-block;
}

.f20 {
  font-size: 20px !important;
}

.btn-color {
  background: #0095f6;
  background: linear-gradient(90deg, rgba(255,98,88,1) 0%, rgba(254,164,87,1) 100%);
  color: white;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 25px;
  border-radius: 8px;
  display: inline-block;
  transition: 300ms all ease-in-out;
}

.btn-blue {
  background: #0095f6;
  color: white;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 25px;
  border-radius: 8px;
  display: inline-block;
  transition: 300ms all ease-in-out;
}

/*
.btn-color {
  background: linear-gradient(90deg, rgba(255,98,88,1) 0%, rgba(254,164,87,1) 100%);
  border-radius: 50px;
  color: white;
  padding: 10px 25px;
  display: inline-block;
  font-weight: 500;
  box-shadow: 2px 2px 25px -12px rgba(255,55,42,1);
  font-size: 24px;
  transition: 250ms all ease-in-out;
  text-decoration: none;
} */

.btn-color:hover {
  box-shadow: 2px 2px 20px -8px rgba(255,55,42,1);
}

.btn-blue:hover {
  box-shadow: 2px 2px 20px -8px #0095f6;
}

.input-perfil {
  padding: 10px 0 10px 50px;
  border: 2px solid #334862;
  border-radius: 50px;
  max-width: 100%;
  font-size: 30px;
  margin-bottom: 30px;
  background-color: #eff6ff;
  position: relative;
}

.input-perfil::placeholder {
  color: #a6b9d2;
}

.input-perfil-container:before {
  content: "@";
  position: absolute;
  top: 10px;
  left: 20px;
  z-index: 1;
  color: #334862;
  font-size: 28px;
  font-weight: 600;
}

textarea:focus, input:focus{
  outline: none;
}

span.perfil-error {
  color: red;
  display: block;
  margin-top: -20px;
}

.hidden {
  display: none !important;
}

.sel-perfil img {
  width: 82px;
  height: 82px;
  border-radius: 82px;
  margin-right: 20px;
}

a.sel-perfil i {
  color: #d5e3f5;
}

.sel-perfil {
  display: flex;
  border: 1px solid #eee;
  border-radius: 5px;
  padding: 20px 30px;
  margin: 10px 0;
  background-color: white;
  box-shadow: 1px 4px 20px rgba(0,0,0,0.02);
  align-items: center;
  text-decoration: none;
}

.sel-perfil:hover {
  transform: scale(1.03);
}

.sel-perfil-info {
  font-weight: 600;
  color: #444;
  text-decoration: none !important;
  font-size: 24px;
  display: flex;
  text-align: left;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}

.f-usuario {
  line-height: 10px;
}

.sel-perfil-info span {
  font-size: 16px;
  font-weight: 500;
  color: #444;
}

.fotos-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 20px;
}

.fotos-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

img.foto-perfil {
  width: 80px;
  height: 80px;
  border-radius: 80px;
  background-color: #ccc;
  margin: 10px 0;
}

.fotos-nome {
  color: #444;
  font-size: 24px;
  font-weight: 600;
  margin-top: 10px;
}

.fotos-usuario {
  font-size: 16px;
  font-weight: 500;
  color: #888;
}

.fotos-fotos .row {
  margin: 0;
}

.fotos-comentarios span {
  font-weight: 500;
}

.fotos-foto {
  aspect-ratio: 1 / 1;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  display: block;
  transition: 300ms all ease-in-out;
  background-color: black;
}

.fotos-fotos .row > * {
  padding: 1px !important;
}

.fotos-container {
  width: 100%;
  position: relative;
  border-radius: 5px;
  padding: 30px;
  border: 1px solid #eee;
  background-color: white;
  box-shadow: 1px 4px 20px rgba(0,0,0,0.02);
}

.all-fotos-container {
  width: 100%;
  position: relative;
  border-radius: 5px;
  padding: 5px;
  border: 1px solid #eee;
  background-color: white;
  box-shadow: 1px 4px 20px rgba(0,0,0,0.02);
}

.fotos-foto-container {
  opacity: 0.8;
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 300ms all ease-in-out;
}

.container-content {
  max-width: 768px !important;
  position: relative;
}

.welcome {
  background: white;
  border-radius: 5px;
  padding: 50px 30px;
  box-shadow: 1px 4px 20px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fotos-foto:hover {
  /* box-shadow: 1px 4px 20px rgba(0,0,0,0.1); */
  box-shadow: 2px 2px 30px -8px rgba(255,55,42,0.5);
}

.fotos-foto:hover .fotos-foto-container {
  transform: scale(1.05);
  opacity: 1;
}

.fotos-foto:hover .fotos-comentarios {
  bottom: 15px;
}

.fotos-comentarios {
  transition: 300ms all ease-in-out;
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: #eff6ff;
  padding: 1px 15px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 400;
  color: #565656;
  /* width: 80%; */
  white-space: nowrap;
  /* background: linear-gradient(90deg, rgba(255,98,88,1) 0%, rgba(254,164,87,1) 100%); */
}

.foto-badge {
  margin: 10px 15px 0 0;
}

.foto-badge span {
  font-weight: 500;
}

.w100 {
  width: 100%;
}

.fotos-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.foto-info {
  text-align: left;
}

.foto-name {
  font-size: 18px;
  font-weight: 600;
}

.foto-username {
  font-size: 14px;
  line-height: 10px;
  color: #444;
  font-weight: 600;
}

.align-left {
  text-align: left;
}

.foto-title {
  font-size: 14px;
  margin-top: 20px;
  color: #555;
  background: #eee;
  padding: 20px;
  border-radius: 10px;
}

.foto-container {
  border: 1px solid #eee;
  background-color: white;
  box-shadow: 1px 4px 20px rgba(0,0,0,0.02);
  padding: 20px;
  border-radius: 5px;
}

.comentarios-container {
  border: 1px solid #eee;
  background-color: white;
  box-shadow: 1px 4px 20px rgba(0,0,0,0.02);
  padding: 30px;
  border-radius: 5px;
}

.ganhador-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
  border: 1px solid #eee;
  background-color: white;
  box-shadow: 1px 4px 20px rgba(0,0,0,0.02);
  padding: 30px;
  border-radius: 5px;
}

img.foto-img {
  border-radius: 4px;
}

.foto-comentarios, .foto-likes, .foto-tempo {
  font-size: 14px;
  color: #555;
}

.progress-bar {
  background-color: #ff8e54 !important;
}

.contador-n {
  color: white;
  font-size: 15rem;
  margin-top: -30px;
  font-weight: bold;
}

.contador {
  width: 50%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(90deg, rgba(255,98,88,1) 0%, rgba(254,164,87,1) 100%);
  border-radius: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.f-info {
  margin-top: 10px;
  font-weight: 400;
}

.f-info span {
  font-weight: 600;
}

.ganhador-comentario {
  background: #eee;
  padding: 10px 15px;
  margin: 10px 0;
  border-radius: 5px;
}

.ganhador-numero span {
  font-weight: 600;
}

.ganhador-numero {
  font-size: 14px;
  color: #444;
}

.progress {
  height: 12px !important;
  border-radius: 3px !important;
}

a.ganhador-perfil {
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  color: #444;
}

.btn-color.big {
  font-size: 20px;
  padding: 12px;
}

.ganhador-foto {
  width: 100px;
  height: 100px;
  background-color: #eee;
  border-radius: 100px;
  margin: 10px 0;
  background-size: cover;
  background-position: center center;
}

.comentarios-info {
  font-size: 16px;
  font-style: italic;
}

.foto-comentarios-list {
  width: 100%;
  /* border: 1px solid #ccc; */
  /* background-color: #eee; */
  height: 210px;
  overflow: auto;
  /* padding: 15px 25px; */
  margin-top: 20px;
  border-top: 1px solid #eee;
  padding-top: 10px;
}

.comentario span {
  font-weight: 600;
}

.max600 {
  max-width: 600px;
}

.comentario {
  color: #444;
  font-size: 14px;
  margin-bottom: 5px;
}

.foto-comentarios-list ul {
  list-style: none;
  padding: 0;
}


.sel-grupo h5 {
  color: var(--ig-gray);
}

.sel-grupo h5 {
  line-height: 15px;
}

.side-line-container {
  position: relative;
  width: 100%;
}

.side-line {
  position: absolute;
  width: 100%;
  height: 1px;
  background: #ddd;
  position: absolute;
  left: 0;
  top: 50%;
}

.side-line-container h5 {
  background: white;
  position: relative;
  display: inline-block;
  padding: 0 20px;
}

/* ---------------- menu --------------- */


.menu {
  width: 50px;
  height: 40px;
  padding: 4px 10px;
  border-radius: 5px;
  /* background: linear-gradient(90deg, rgba(255,98,88,1) 0%, rgba(254,164,87,1) 100%); */
  cursor: pointer;
  /* background: #224663; */
}

.menu .button {
  width: 100%;
  height: 100%;
}

.menu span {
  width: 100%;
  height: 2px;
  background: #224663;
  display: block;
  margin: 6px 0;
  position: relative;
  border-radius: 2px;
  transition: 300ms all ease-in-out;
}
/*
.menu span:nth-child(2) {
  width: calc(100% - 3px);
  margin-left: 3px;
} */

.menu.menu--open span:nth-child(1), .menu.menu--open span:nth-child(3) {
  width: calc(100% - 8px);
  margin-left: 8px;
}

.menu.menu--open span:nth-child(2) {
  width: 100%;
  margin-left: 0;
}


/* Inspirated from  http://www.alessioatzeni.com/wp-content/tutorials/html-css/CSS3-loading-animation-loop/index.html */
/* .ouro {
  position: relative;
  display:inline-block;
  height: 46px;
  width: 46px;
  margin: 1em;
  border-radius: 50%;
  background: none repeat scroll 0 0 #DDDDDD;
  overflow:hidden;
  box-shadow: 0 0 10px rgba(0,0,0,.1) inset, 0 0 25px rgba(0,0,255,0.075);
}

.ouro:after {
  content: "";
  position: absolute;
  top: 9px; left: 9px;
  display: block;
  height: 28px; width: 28px;
  background: none repeat scroll 0 0 #F2F2F2;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0,0,0,.1);
}
.ouro > span {
  position: absolute;
  height: 100%; width: 50%;
  overflow: hidden;
}
.left  { left:0   }
.right { left:50% }

.anim {
  position: absolute;
  left: 100%; top: 0;
  height: 100%; width: 100%;
  border-radius: 999px;
  background: none repeat scroll 0 0 #508EC3;
  opacity: 0.8;
  -webkit-animation: ui-spinner-rotate-left 1s infinite;
  animation: ui-spinner-rotate-left 1s infinite;
  -webkit-transform-origin: 0 50% 0;
  transform-origin: 0 50% 0;
}
.left .anim {
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
}
.right .anim {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
  left: -100%;
  -webkit-transform-origin: 100% 50% 0;
  transform-origin: 100% 50% 0;
}

/* .ouro2 .anim {
 -webkit-animation-delay:0;
 animation-delay:0;
}

.ouro2 .right .anim{
 -webkit-animation-delay: 2s;
 animation-delay: 2s;
}



@keyframes ui-spinner-rotate-right{
  0%{transform:rotate(0deg)}
  25%{transform:rotate(180deg)}
  50%{transform:rotate(180deg)}
  75%{transform:rotate(360deg)}
  100%{transform:rotate(360deg)}
}
@keyframes ui-spinner-rotate-left{
  0%{transform:rotate(0deg)}
  25%{transform:rotate(0deg)}
  50%{transform:rotate(180deg)}
  75%{transform:rotate(180deg)}
  100%{transform:rotate(360deg)}
}

@-webkit-keyframes ui-spinner-rotate-right{
  0%{-webkit-transform:rotate(0deg)}
  25%{-webkit-transform:rotate(180deg)}
  50%{-webkit-transform:rotate(180deg)}
  75%{-webkit-transform:rotate(360deg)}
  100%{-webkit-transform:rotate(360deg)}
}
@-webkit-keyframes ui-spinner-rotate-left{
  0%{-webkit-transform:rotate(0deg)}
  25%{-webkit-transform:rotate(0deg)}
  50%{-webkit-transform:rotate(180deg)}
  75%{-webkit-transform:rotate(180deg)}
  100%{-webkit-transform:rotate(360deg)}
} */

.Loader {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 95%;
  max-width: 300px;
}

.Loader:before, .Loader:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  animation-duration: 1s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  filter: drop-shadow(0 0 0.7555555556rem rgba(255,98,88,0.75));
}
.Loader:before {
  width: 100%;
  padding-bottom: 100%;
  box-shadow: inset 0 0 0 1.7rem rgba(255,98,88,1);
  animation-name: pulsA;
}
.Loader:after {
  width: calc(100% - 1.7rem*2);
  padding-bottom: calc(100% - 1.7rem*2);
  box-shadow: 0 0 0 0 rgba(255,98,88,1);
  animation-name: pulsB;
}

.loader-circle {
  width: 100%;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 500px;
  background: #ffe2de;
}

#confetti-canvas {
  position: absolute;
  width: 100%;
  height: auto;
}

.loader-circle span {
  font-size: 180px;
  font-weight: bold;
  margin-top: -20px;
  color: #ff6b56;
}

@keyframes pulsA {
  0% {
    box-shadow: inset 0 0 0 1.7rem rgba(255,98,88,1);
    opacity: 1;
 }
  50%, 100% {
    box-shadow: inset 0 0 0 0 rgba(255,98,88,1);
    opacity: 0;
 }
}
@keyframes pulsB {
  0%, 50% {
    box-shadow: 0 0 0 0 rgba(255,98,88,1);
    opacity: 0;
 }
  100% {
    box-shadow: 0 0 0 1.7rem rgba(255,98,88,1);
    opacity: 1;
 }
}
