/* 1. Use a more-intuitive box-sizing model */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* 2. Remove default margin */
* {
    margin: 0;
}

body {
    line-height: 1.5;
    /* 4. Improve text rendering */
    -webkit-font-smoothing: antialiased;
    font-family: raleway, sans-serif;
    overflow-x: hidden;
}

/* 5. Improve media defaults */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-inline-size: 100%;
}

/* 6. Inherit fonts for form controls */
input,
button,
textarea,
select {
    font: inherit;
}

/* 7. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

/* 8. Improve line wrapping */
p {
    text-wrap: pretty;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    text-wrap: balance;
}

a {
    text-decoration: none;
    color: var(--primary-color-white);
}

/*
  9. Create a root stacking context
*/
#root,
#__next {
    isolation: isolate;
}

:root {
    --primary-color-green: #273f3e;
    --primary-color-white: rgb(242, 239, 220);
    --secondary-gold-color: rgb(217, 164, 53);
    --font-family: raleway, sans-serif;
}

header {
    position: sticky;
    top: 0;
    overflow: hidden;
    background-color: var(--primary-color-green);
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem 0 0;
}

.mobile-nav-toggle {
    display: none;
    @media(max-width : 1000px){
        display: block;
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.wrapper {
    max-inline-size: 1000px;
    margin-inline: auto;
}

.two-column-layout {
    display: grid;
    gap: 1rem;
    justify-content: center;
    justify-items: center;
    margin: 0 1rem 1rem 1rem;
    @media(width > 800px){
        grid-template-columns: 1fr 1fr;
    }
}

.flex {
    display: flex;
    gap: var(--gap, 1rem);
}

.logo {
    position: relative;
    margin: 1rem;
    width: 270px;
    height: 80px;
}

.primary-navigation ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    @media(max-width : 1000px){
        position: fixed;
        z-index: 10000;
        inset: 0 0 0 0%;
        flex-direction: column;
        padding: min(20vh, 10rem) 2em;
        background: var(--primary-color-green);
        transform: translateX(0%);
        transition: transform 350ms ease-out;
    }
}

.hide-nav {
  transform: translateY(-100%);
  transition: transform 0.3s;
}

.language{
    background-color: var(--primary-color-green);
    color: var(--secondary-gold-color);
    border: none;
    font-weight: bold;
    padding: 0.5rem 1.2rem;
    font-size: 1rem;
    cursor: pointer;
    height: 2.5em;
    display: flex;
    align-items: center;
    appearance: none;
    box-sizing: border-box;
}

.primary-navigation[data-visible="false"]{
    transform: translateX(0%);
    @media(max-width : 1000px){
        ul {
            display: none;
        }
    }
}

.mobile-nav-toggle {
    position: absolute;
    background-color: transparent;
    background-image: url("../images/burger_mobile_white.png");
    background-repeat: no-repeat;
    width: 3rem;
    aspect-ratio: 1;
    top: 2rem;
    right: 0rem;
    z-index: 99999;
    border:none;
}

.mobile-nav-toggle[aria-expanded="true"] {
    background-image: url("../images/close.png");
}
.primary-navigation a {
    color: var(--secondary-gold-color);
    text-decoration: none;
    font-weight: bold;
}
.primary-navigation  option{
    background-color: var(--primary-color-green);
    color: var(--secondary-gold-color);
    border: none;
    font-weight: bold;
    padding: 0.5rem 1.2rem;
    font-size: 1rem;
    cursor: pointer;
    height: 2.5em;
    display: flex;
    align-items: center;
}
.asd{
    border: 4px ;
}

.primary-navigation a:hover,
.primary-navigation a:focus-visible{
    color:var(--primary-color-white)
}

.separator {
    width: 100%;
    height: 5rem;
    background-color: var(--primary-color-green);
}

.hero {
    display: grid;
    justify-items: stretch;
    justify-content: center;
    align-items: center;
    .image {
        background: url("../images/building.jpeg");
        background-size: cover;
    }
}

.about {
    display: grid;
    justify-items: center;
    padding: 1rem;
    margin-bottom: 3rem;
}

.about_text {
    line-height: 29px;
    color: #333333;
    text-align: justify;
    font-size: 14px;
    font-weight: 300;
    margin-top: 1px;
}

.title {
    margin-top: 5rem;
    min-height: 60px;
    line-height: 60px;
    color: #000000;
    text-align: center;
    font-size: 60px;
    font-weight: 300;
    margin-bottom: 3rem;
}

.founder_descr {
    min-height: 480px;
    color: #333333;
    text-align: justify;
    line-height: 28px;
}
.tabs-container {
    display: grid;
    justify-content: center;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    border: none;
}

.bton {
    min-width: 50px;
    border:1px solid goldenrod;
    margin-left: 5px;
    margin-right: 5px;
    cursor: pointer;
    border-radius: 5px;
    width: auto;
    height: auto;
    background-color:gold;
    transition: background-color 1.3s ease;
    padding: 5px 10px ;

}
.bton:hover ,
.bton:active {
  background-color: var(--primary-color-green);
  color: white;
}

.tab-content {
    padding: 0 1rem;
    text-align: justify;
}

.activities {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: auto;
    padding: 1rem 1rem 1rem 1rem;
    @media(width > 800px){
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

.activity {
    margin: auto;
    padding: 0 1rem;
}

.presspiyanoya {
    display: flex;
    flex: 1;
    align-content: center;
    justify-content: center;
    gap: 2rem;
}

/* The expanding image container */
.container {
    position: relative;
    display: none;
}

.pressrow {
    display: grid;
}

.pressimg {
    max-inline-size: 110px;
    min-height: 80px;
}

.pressbox {
    display: grid;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1rem 1rem 1rem;
    margin: 0.1rem 1rem 0.1rem 1rem;
    background-color: var(--primary-color-green);
    color: var(--secondary-gold-color);
        grid-template-columns: 1fr 1fr;
   
}

.pressbox > a {
    color: white;
    text-decoration: none;
    text-align: start;
    justify-content: center;
}

.pressbox:hover {
    background-color: var(--secondary-gold-color);
}

.contact {
    background-color: var(--primary-color-green);
}

.contact_container {
}

.contact_info {
    display: grid;
    justify-content: center;
    justify-items: center;
    margin-bottom: 3rem;
    text-align: center;
    font-size: 2rem;
    gap: 1rem;
    p {
        font-size: 1.2rem;
    }
}

.address_header {
    text-align: center;
    margin-top: 4rem;
    margin-bottom: 2rem;
    min-height: 56px;
    color: rgb(217, 164, 53);
    letter-spacing: 1px;
    line-height: 60px;
    font-size: 60px;
    font-family: raleway, sans-serif;
    font-weight: 300;
}

.address_detail {
    width: 193px;
    min-height: 24px;
    line-height: 25px;
    color: #ffffff;
    font-size: 14px;
    font-family: raleway, sans-serif;
    font-weight: 300;
}

.googlemap {
    margin-top: 10rem;
}

.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: white;
    background-color: var(--primary-color-green);
    gap: 1rem;
    padding-bottom: 5rem;
}

.line {
    border: none;
    height: 1px;
    background-color: var(--secondary-gold-color);
    margin: 20px auto;
    width: 80%; /* or any width you want */
}
.footer_text {
    max-inline-size: 600px;
    font-size: 0.9rem;
    line-height: 1.5;
    padding: 0 1rem;
}
.footer_links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;        
}
.footer_links a {
    color: var(--secondary-gold-color);
    text-decoration: none;
    font-weight: bold;
}   
.footer_links a:hover,
.footer_links a:focus-visible{
    color:var(--primary-color-white)
}   


.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #273f3e;
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.5s cubic-bezier(0.4,0,0.2,1), transform 1.5s cubic-bezier(0.4,0,0.2,1);
    border: 1px solid goldenrod ;
}

.cookie-consent.visible {
    opacity: 1;
    transform: translateY(0);
}

.cookie-consent button {
  background-color: goldenrod;
  color:  #273f3e;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  margin-left: 1rem;
  border-radius: 4px;
  min-width: 7rem;
}

.cookie-consent.hidden {
  display: none;
}

.cookie-button {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}