/***********

PALETTE 
darkgold #92835f
gold #B6A477
lightgold #c5b692
darkblue #484b56
blue #5a5e6b
lightblue #7b7e89
beige #f8f6f2

***********/

/***********
BODY
***********/

html {
    height: 100%;
}
body {
    width: 100%;
    height: 100%;
    color: #484b56;
    background-color: #f8f6f2;
    font-size: 13pt;
	font-family: "EB Garamond", serif;
	font-weight: 400;
	font-style: normal;
    overflow-x: hidden;
}
@media only screen and (min-width: 576px) {
    body{ font-size: 14pt; }
}
@media only screen and (min-width: 768px) {
    body{ font-size: 15pt; }
}
@media only screen and (min-width: 992px) {
	body{ font-size: 16pt; }
}
@media only screen and (min-width: 1200px) {
	body{ font-size: 17pt; }
}
@media only screen and (min-width: 1400px) {
    body{ font-size: 18pt; }
}

/***********
SCROLLBAR
***********/
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background-color: #f8f6f2; }
::-webkit-scrollbar-thumb {
    background-color: #92835f;
    border-radius: 6px;
    border: 0px solid transparent;
    background-clip: content-box;
}

/***********
FLEX FILL IMAGE
***********/
.flex-fill {
	display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 100%;
    height: 100%;
}
.flex-fill img {
    min-height: 100%;
    min-width: 100%;
	object-fit: cover;
}

/***********
INPUT
***********/

input.input-light, textarea.input-light,
input.input-dark, textarea.input-dark {
    background-color: transparent;
    border-radius: 10px;
    padding: 5px;

}
input.input-light, textarea.input-light {
    color: #c5b692;
    border: #c5b692 solid 1px;
}
input.input-dark, textarea.input-dark {
    color: #92835f;
    border: #92835f solid 1px;
}
input:focus, textarea:focus { background-color: transparent; }
input.input-light::placeholder, textarea.input-light::placeholder { color: #92835f; }
input.input-dark::placeholder, textarea.input-dark::placeholder { color: #c5b692; }
input[name="surname"] {
    position: absolute;
    left: -999999999px;
}

/***********
ANCHOR
***********/
a.a-dark,
a.a-light {
    text-decoration: none;
    transition: all 0.25s ease;
}
a.a-dark { color: #484b56; }
a.a-dark:hover { color: #7b7e89; }
a.a-light { color: #c5b692; }
a.a-light:hover { color: #92835f; }

/***********
BUTTON
***********/
button.btn-dark,
button.btn-light
{
    outline: none;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: inherit;
}
button.btn-dark:active,
button.btn-light:active { transform: scale(1.05); }
button.btn-dark {
    color: #92835f;
    border: #92835f solid 1px;
}
button.btn-dark:hover {
    color: #f8f6f2;
    background: #c5b692;
    border: #c5b692 solid 1px;
}
button.btn-light {
    color: #c5b692;
    border: #c5b692 solid 1px;
}
button.btn-light:hover {
    color: #f8f6f2;
    background: #c5b692;
    border: #c5b692 solid 1px;
}

/***********
BACKGROUND COVER
***********/

.bg-cover {
	position: relative;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
}
.bg-overlay {
	position: relative;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
}

/***********
RADIO BUTTON
***********/

input[type=radio].radio-dark {
    height: 1em;
    aspect-ratio: 1;
    border: 0.15em solid #7b7e89;
    padding: 0.15em;
    background: 
       radial-gradient(farthest-side,#92835f 94%,#0000) 
       50%/0 0 no-repeat content-box;
    border-radius: 50%;
    outline-offset: 0.1em;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    font-size: inherit;
    transition: .25s;
  }
  input[type=radio].radio-dark:checked {
    border-color: #92835f;
    background-size: 100% 100%;
  }
  
  input[type=radio].radio-dark:disabled {
    background: 
       linear-gradient(#939393 0 0) 
       50%/100% 20% no-repeat content-box;
    opacity: .5;
    cursor: not-allowed;
  }

/***********
PADDING
***********/
.py-6 {padding: 4.5rem 0;}
.py-7 {padding: 6rem 0;}
.pt-6 {padding: 4.5rem 0 0 0;}
.pt-7 {padding-top: 6rem 0 0 0;}

/***********
MIN-HEIGHT
***********/
.min-vh-10 {min-height: 10vh;}
.min-vh-20 {min-height: 20vh;}
.min-vh-25 {min-height: 25vh;}
.min-vh-33 {min-height: 33vh;}

/***********
LOADING ICON
***********/
.lds-ripple,
.lds-ripple div {
  box-sizing: border-box;
}
.lds-ripple {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ripple div {
  position: absolute;
  border: 4px solid currentColor;
  opacity: 1;
  border-radius: 50%;
  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple div:nth-child(2) {
  animation-delay: -0.5s;
}
@keyframes lds-ripple {
  0% {
    top: 36px;
    left: 36px;
    width: 8px;
    height: 8px;
    opacity: 0;
  }
  4.9% {
    top: 36px;
    left: 36px;
    width: 8px;
    height: 8px;
    opacity: 0;
  }
  5% {
    top: 36px;
    left: 36px;
    width: 8px;
    height: 8px;
    opacity: 1;
  }
  100% {
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    opacity: 0;
  }
}

