/*
Theme Name: GTKystro
Version: 0.1
Author: Patrick @ GuleTjenester
Author URI: https://guletjenester.no/
*/

body, html {
    font-family: sans-serif;
    background-color: #d8d8d8;
}

body {
  margin-top: 8px;
  margin-left: 8px;
  margin-right: 8px;
  margin-bottom: 0px;
}

div.top {
    font-family: 'Kanit', sans-serif;
    font-size: 34px;
    width: auto;
    background-color: #ffffff;
    color: #000000;
    text-align: left;
    padding-left: 60px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 60px;
    overflow: hidden;
    margin: 0px;
    border: 0px;
}

main {
  padding: 45px;
  margin-top: 5px;
  background-color: #ffffff;
  font-size: 30px;
}

h1 {
  font-size: 60px;
  margin-top: 0.33em;
}

h5 {
  font-size: 1em;
}

.page-hero {
    width: calc(100% + 90px);
    max-height: 14rem;
    margin-left: -45px;
    margin-right: -45px;
    margin-top: -50px;
    margin-bottom: 5rem;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(3px);
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2; /* Forces text to sit on top of the dark overlay */
}

.page-title {
    display: inline-block;
    font-size: 4.5rem;
    font-family: Kanit;
    font-weight: bold;
    text-align: center;
    color: #000000;
    border-radius: 0.5em;
    margin-left: 10%;
    padding: 1em 3em 1em 1em;
    background-color: #c0c0c0c0;
    box-shadow: 4px 4px 10px rgba(20, 0, 0, 0.7);
}

div.wp-block-media-text {
  display: grid;
}

@media (max-width: 1080px) {
.wp-block-media-text {
    display: grid !important;
    grid-template-columns: 100% !important;
    grid-template-rows: auto auto !important;
    gap: 1.5rem !important; /* Adds a clean gap between image and text */
  }

  .wp-block-media-text .wp-block-media-text__media {
    grid-row: 1 !important;
    grid-column: 1 !important;
    margin-bottom: 0 !important;
  }

  .wp-block-media-text .wp-block-media-text__content {
    grid-row: 2 !important;
    grid-column: 1 !important;
    padding-top: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}


.wp-block-media-text .wp-block-media-text__media {
  padding-top: 2rem;
  padding-right: 1rem;
}

.wp-block-media-text__media img {
  border-radius: 40px 0px 30% 40px;
}

div.wp-block-media-text__content {
  padding-top: 2.5rem;
  padding-left: 8rem;
  padding-right: 10rem;
}

.wp-block-media-text .wp-block-heading {
  margin-top: 0px;
}

.home-link {
  text-decoration: none;
}

img.gtkystro-logo {
    max-height: 32px;
    width: auto;
    display: block;
    margin-top: 9px;
    margin-bottom: 9px;
    text-decoration: none;
}

.navigation-menu {
    position: fixed;
    display: inline-block;
    right: 30px;
    top: 12px;
    z-index: 9999;
}

.menu-toggle {
    background-color: rgba(20, 20, 20, 0.8);
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.menu-toggle .line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0; 
    transition: all 0.5s ease;
}

.menu-toggle-img {
  width: auto;
  border-width: 0;
  padding: 0;
  margin: 0px;
  height: auto;
  max-height: 60px;
  display: block;
  background: none;
}

.navigation-menu:hover .menu-toggle-img {
  transform: scale(1.1);
  transition: transform 0.2s ease-in-out;
}

.menu-dropdown {
    position: absolute;
    display: inline-block;
    z-index: 9999;
    right: 0;
    top: 100%;
    background: rgba(70, 70, 70, 0.85);
    border-radius: 8px 0px 8px 8px;
    padding: 15px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.5s ease;
}

.menu-dropdown ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-dropdown li a {
    color: #c0c0c0;
    text-decoration: none;
    display: block;
    padding: 10px;
    font-family: 'Kanit', sans-serif;
    font-size: 18px;
}

.menu-dropdown li a:hover {
    color: #000000;
    background-color: #c0c0c0;
    border-radius: 15px;
}

.navigation-menu:hover .menu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.has-medium-font-size {
  font-size: 1.66rem !important;
}

.ff-el-input--content .gtkwannalikert {
  font-size: 18px;
  font-family: 'Kanit', sans-serif;
}

.ff-el-form-control {
  font-size: 18px;
}

div.gtkwannalikert {
  display: block;
  width: 100%;
  font-size: 24px;
  font-family: 'Kanit', sans-serif;
  text-align: center;
}

div.ff-custom_html {
  font-size: 16px;
}

.ff-custom_html h5 {
  font-size: 20px;
  margin-bottom: 0.3em;
}

div.ff-el-input--label {
  font-size: 20px;
}

input.ff-el-form-control {
  font-size: 18px;
}

.gtkystro-gdpr-accept div{
  font-size: 0.8em;
}

div.gtkwannalikertexpl {
  padding-bottom: 60px;
}
