@charset "UTF-8";

@import "./theme.css";
@import "./font-montserrat.css";

* {
  font-family: Montserrat, sans-serif;
  -webkit-transition: .5s;
  -moz-transition: .5s;
  transition: .5s;
  -o-transition: .5s;
}

html, body {
  height: 100%;
  overflow: hidden;
  color: var(--gray-light);
}

body {
  background-color: var(--background);
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  text-rendering: optimizeLegibility;
}

h1 {
  margin: 0;
  font-weight: 100;
  letter-spacing: 8px;
  font-size: 60px;
}

h2 {
  margin: 0;
  font-weight: 300;
  letter-spacing: 4px;
  font-size: 24px;
}

h2 span {
  margin: 0;
  font-weight: 300;
  font-size: 18px;
}

[hidden] {
  display: none !important;
}

.grecaptcha-badge {
  display: none !important;
}

.circle {
  border-radius: 50%;
}

.container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 60px;
  width: 65%;
  height: 45%;
  padding: 60px;
  box-shadow: 0 0 20px 0 var(--content-shadow);
  background-color: var(--content-bg);
  overflow: hidden;
}

/* ***** Error ***** */
.message {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 24px;
}

.home-button {
  color: var(--link);
  text-decoration: none;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--link-border);
  padding: 12px 24px;
  letter-spacing: 4px;
  text-align: center;
  border-radius: 20px;
}

.home-button:hover {
  color: var(--link-hover);
  text-decoration: none;
  background-color: var(--link);
  cursor: pointer;
}

/* ***** Side Conent ***** */

.side-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
}

.photo {
  height: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}

.photo img {
  max-height: 192px;
  box-shadow: 0 0 20px 0 var(--content-shadow);
}

.side-content .copyright {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.side-content .copyright img {
  max-height: 20px;
}

.side-content .copyright p {
  font-size: 12px;
}

/* ***** Main Content ***** */

.main-content {
  height: 100%;
  width: 100%;
  overflow: hidden;
  scroll-snap-type: y mandatory;
}

.content-area {
  height: 100%;
  width: 100%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-start;
  gap: 36px;
}

/* ***** Pager ***** */

.site-pager {
  display: flex;
}

.site-pager .copyright {
  display: none;
}

.site-pager .copyright img {
  max-height: 20px;
}

.site-pager .copyright p {
  font-size: 12px;
}

.pager {
  height: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.pager i {
  color: var(--gray);
  font-size: 8px;
}

.pager i.active {
  color: var(--gray-light);
}

/* ***** About ***** */

.name {
  text-wrap: wrap;
}

.links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.links a {
  color: var(--link);
  text-decoration: none;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  font-size: 12px;
}

.links a.border {
  border: 1px solid var(--link-border);
  padding: 12px 9px;
  text-align: center;
}

.links a:hover.border {
  color: var(--link-hover);
  text-decoration: none;
  background-color: var(--link);
  cursor: pointer;
}

.links a img {
  height: auto;
  width: 30px;
}

.links a img.store-img {
  width: 180px;
}

/* ***** Contact ***** */
.form {
  text-wrap: wrap;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: center;
  gap: 24px;
  width: 100%;
}

.form h2 {
  margin: 0;
  font-weight: 300;
  letter-spacing: 4px;
  font-size: 24px;
}

.input-wrapper {
  --height: 60px;
  --width: 100%;
  --font-size: 16px;
  --top-ofset: 30%;
  height: var(--height);
  width: var(--width);
  overflow: hidden;
  position: relative;
}

.input-wrapper .form-input {
  background: none;
  border: none;
  border-bottom: 1px solid var(--gray);
  height: calc(100% - var(--top-ofset));
  width: 100%;
  outline: none;
  position: absolute;
  bottom: 0;
  left: 0;
  color: var(--gray-light) !important;
}

.form-input:autofill,
.form-input:autofill:focus,
.form-input:autofill:active,
.form-input:autofill:hover,
.form-input:autofill:not(:empty),
.form-input:-internal-autofill-selected {
  box-shadow: inset 0 0 0 100px var(--content-bg);
  background-clip: text;
  -webkit-text-fill-color: var(--gray-light);
  caret-color: var(--gray-light);
  transition: none;
}

.input-wrapper.text-area {
  height: calc(var(--height)*1.5);
}

.input-wrapper.text-area textarea {
  resize: none;
}

.input-wrapper label span {
  color: var(--gray-light);
  bottom: 0;
  left: 0;
  height: calc(100% - var(--top-ofset));
  width: 100%;
  line-height: calc(var(--height)*0.8);
  position: absolute;
  pointer-events: none;
  transition: ease-out 0.1s;
  font-size: var(--font-size);
}

.input-wrapper label::after {
  content: '';
  background: var(--focus-color);
  height: 2px;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  transition: 0.2s;
  transform: translateX(-100%);
}

.input-wrapper .form-input:focus+label span,
.input-wrapper .form-input:valid+label span,
.input-wrapper .form-input:not(:empty)+label span {
  color: var(--gray-light);
  font-size: calc(var(--font-size) * 0.7);
  transform-origin: top left;
  transform: translateY(calc(-100% + var(--top-ofset)));
}

.input-wrapper .form-input:focus,
.input-wrapper .form-input:valid {
  border-bottom: 1px solid var(--gray-light);
}

.input-wrapper .form-input:focus+label::after {
  transform: translateX(0);
}

.input-wrapper .form-input.invalid {
  border-bottom: 1px solid var(--red);
}

.form-submit {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 4px;
}

.form-button {
  width: 160px;
  height: 30px;
  border-radius: 5px;
  border: none;
  background-color: var(--gray-light);
  color: var(--gray);
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  font-weight: 500;
}

.form-button.error {
  background-color: var(--red);
  color: var(--gray-light);
}

.form-button.success {
  background-color: var(--green);
  color: var(--gray-light);
}

.form-button:hover:not(:disabled) {
  cursor: pointer;
  background-color: var(--gray);
  color: var(--gray-light);
}

.form-button:disabled {
  cursor: not-allowed;
}

.form-submit .form-validation {
  display: none;
  margin: 0;
}

.form-submit .form-validation.error {
  color: var(--red);
  display: initial;
}

.form-submit .form-validation.success {
  color: var(--green);
  display: initial;
}

/* ***** Vcard ***** */
.vcard-content {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
}

.vcard-content input {
  display: none;
}

.vcard-content input.visible {
  display: initial;
}

.vcard-content img {
  display: none;
  height: 360px;
}

.vcard-content img.visible {
  display: initial;
}