/*!
	Theme Name: Tuletoorni raamat
	Theme URI: https://tuletorniraamat.ee/
	Description: Custom PHP theme for Tuletoorni raamat site.
	Author: Aleksei Nemov
	Author URI: https://www.newkamikaze.com/
	Version: 0.0.1
	Requires at least: 6.5.2
	Tested up to: 6.5.2
	Requires PHP: 8.0
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: traamat
*/
* {
  padding: 0;
  margin: 0;
  border: none;
  outline: none;
  text-decoration: none;
  -moz-box-sizing: border-box !important;
  box-sizing: border-box !important;
}
*[data-anim] {
  opacity: 0;
}
html,
body {
  height: 100%;
}
html {
  font-size: 8px;
}
body {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('assets/img/background.jpg') center top no-repeat;
  background-size: cover;
  background-attachment: fixed;
  color: #ffffff;
  font-family: 'Open Sans', Tahoma, Verdana, Arial;
  font-weight: 400;
  position: relative;
  font-size: 16px;
  line-height: 24px;
  overflow: auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px));
}
img.fullwidth {
  display: block;
  width: 100%;
}
img.maxwidth {
  display: block;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
}
.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}
.clearfix:after {
  clear: both;
}
::selection {
  background-color: #00507b;
  color: #ffbe03;
}
.align-center {
  text-align: center;
}
.wrapper {
  width: 90%;
  max-width: 800px;
  margin: 48px auto;
  padding: 48px;
  border-radius: 32px;
  background: rgba(0, 80, 123, 0.4);
  /* semi-transparent */
  backdrop-filter: blur(5px);
  /* blur effect */
  -webkit-backdrop-filter: blur(5px);
  /* Safari support */
  border: 1px solid rgba(123, 209, 255, 0.4);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}
@media (max-width: 768px) {
  .wrapper {
    padding: 16px;
  }
}
header {
  text-align: right;
  padding: 8px 16px;
  font-size: 16px;
}
header .language-link {
  color: #ffbe03;
  font-weight: 600;
}
header .language-link:hover {
  text-decoration: underline;
  text-shadow: 0 0 1px #ffbe03;
}
main {
  text-shadow: 0 0 1px #000000;
}
main .book-image {
  display: block;
  width: 40%;
  height: auto !important;
  margin: 0 auto 32px;
  box-shadow: 6px 8px 0 0 rgba(255, 255, 255, 0.6);
  -moz-transform: scale(1);
  -webkit-transform: scale(1);
  -o-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
main .book-image:hover {
  -moz-transform: scale(1.02);
  -webkit-transform: scale(1.02);
  -o-transform: scale(1.02);
  -ms-transform: scale(1.02);
  transform: scale(1.02);
  box-shadow: 3px 4px 0 0 rgba(255, 255, 255, 0.6);
}
@media (max-width: 768px) {
  main .book-image {
    width: 60%;
  }
}
main h1 {
  font-size: 48px;
  font-weight: 500;
  font-variation-settings: "wdth" 85;
  text-align: center;
  line-height: 60px;
  text-shadow: 0 0 2px #000000;
}
@media (max-width: 768px) {
  main h1 {
    font-size: 40px;
    line-height: 50px;
  }
}
main h2 {
  font-size: 38px;
  font-weight: 500;
  font-variation-settings: "wdth" 85;
  text-align: center;
  line-height: 50px;
  text-shadow: 0 0 2px #000000;
  color: #ffbe03;
}
@media (max-width: 768px) {
  main h2 {
    font-size: 30px;
    line-height: 40px;
  }
}
main h3 {
  font-size: 21px;
  font-weight: 500;
  text-align: center;
  line-height: 30px;
  text-shadow: 0 0 2px #000000;
}
@media (max-width: 768px) {
  main h3 {
    font-size: 18px;
    line-height: 24px;
  }
}
main .main-text {
  margin-top: 32px;
  text-shadow: 0 0 2px #000000;
}
main .app-link {
  margin-top: 24px !important;
  display: inline-block !important;
}
footer {
  text-align: center;
  padding: 8px;
  color: #ffbe03;
  font-size: 12px;
}
.wpcf7 {
  max-width: 400px;
  margin: 24px auto 0;
}
.wpcf7 p {
  padding: 8px 0;
}
.wpcf7 label {
  display: block;
  color: #ffbe03;
  font-weight: 600;
  text-shadow: 0 0 2px #000000;
}
.wpcf7 .wpcf7-form-control-wrap {
  display: block;
}
.wpcf7 .wpcf7-form-control-wrap textarea {
  resize: none;
}
.wpcf7 .wpcf7-form-control-wrap .wpcf7-form-control {
  display: block;
  width: 100%;
  color: #ffffff;
  background: rgba(0, 80, 123, 0.7);
  font-size: 16px;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid rgba(123, 209, 255, 0.4);
}
.wpcf7 .wpcf7-not-valid-tip {
  color: #ffffff;
  font-size: 14px;
  text-shadow: 0 0 2px #000000;
}
.wpcf7 .wpcf7-submit,
main .app-link {
  display: block;
  background: #ffbe03;
  color: #00507b;
  padding: 8px 32px;
  margin: 0 auto;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  -moz-transform: scale(1);
  -webkit-transform: scale(1);
  -o-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
.wpcf7 .wpcf7-submit:hover,
main .app-link:hover {
  -moz-transform: scale(1.05);
  -webkit-transform: scale(1.05);
  -o-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
}
.wpcf7 .wpcf7-response-output {
  padding: 8px;
  border-radius: 8px;
  border-color: #ffbe03;
}
