:root{
    --font-serif:'Manrope', sans-serif;
    --font-sans-serif:'Manrope', sans-serif;
    --body-bg: #ffffff;
    --h1-min: 2.375rem;
    
    --h1-max: 3.875rem;
    
    --h1-vw: 5vw;
    --h1-vh: 1vh;

    --h2-min: 3.875rem;
    
    --h2-max: 4.375rem;
    
    --h2-vw: 4vw;
    --h2-vh: 0.8vh;

    --h3-min: 1.375rem;
    
    --h3-max: 1.625rem;
    
    --h3-vw: 3.5vw;
    --h3-vh: 0.6vh;

    --h4-min: 1rem;
    
    --h4-max: 1.125rem;
    
    --h4-vw: 3vw;
    --h4-vh: 0.5vh;

    --body-min: 0.875rem;
    
    --body-max: 1rem;
    

    --font-wow:calc(98px + 3vw);
    --font-wow-min: calc(78px + 2vw);
    --font-wow-max: calc(118px + 6vw);

    --line-height: 1.2;
    
    --bento-rouned-size: 0px;
    --top-padding:5svw;
    --section-padding: min(60px, 5svw);;
    --color-gray-light: #cccccc;
    --bg-light: #f7f7f7;
    --color-secondary: #6991de;
    --color-secondary-darken: #5182dd;
    --bs-secondary-color: #487cdc;
    --bs-secondary-rgb: 105, 145, 222;
    --bg-primary-rgb: 0, 71, 121;
    --bs-primary-color: #004779;
    --color-primary: #004779;

    --bs-border-radius: calc(0.5 * var(--bento-rouned-size));

    --font-size-abstract: clamp(2vw, 56px, 7vw);
}

body {
    font-family: var(--font-sans-serif);
    background-color: var(--body-bg, #fff);
    overflow-x:hidden;
}

body,
p {
    font-size: clamp(var(--body-min), calc(var(--body-vw) + var(--body-vh)), var(--body-max));
    line-height: var(--line-height);
}

h1,
.h1 {
    font-size: clamp(var(--h1-min), calc(var(--h1-vw) + var(--h1-vh)), var(--h1-max));
}

h2,
.h2 {
    font-size: clamp(var(--h2-min), calc(var(--h2-vw) + var(--h2-vh)), var(--h2-max));
}

h3,
.h3 {
    font-size: clamp(var(--h3-min), calc(var(--h3-vw) + var(--h3-vh)), var(--h3-max));
    font-weight: 600;
}

h4,
.h4 {
    font-size: clamp(var(--h4-min), calc(var(--h4-vw) + var(--h4-vh)), var(--h4-max));
}

.section {
    padding: calc(var(--section-padding) * 0) 0;
    background: var(--bg-section);
}


@media (min-width: 768px) {
  .nav-menu {
    width: 750px;
  }
}

@media (min-width: 922px) {
  .nav-menu {
    width: 970px;
  }
}

@media (min-width: 1200px) {
  .nav-menu {
    width: 1170px;
  }
}


.burger-container {
  position: absolute;
  top: 17px;
  right: 5%;
  z-index: 1000;
  cursor: pointer;
  width: 40px;
  height: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 5px;
}


.burger-line {
  width: 100%;
  height: 4px;
  background-color: #fff;
  border-radius: 2px;
  transform-origin: center;
  transition: all 0.4s ease-in-out;
}


#burger-toggle {
  display: none;
}


.nav-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background: linear-gradient(135deg, #004676 0%, #273849 100%);
  transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
  box-shadow: -4px 0 15px #00000033;
  overflow-y: auto;
  padding-top: 100px;
}

.nav-menu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: #ffffff0d;
  backdrop-filter: blur(10px);
}

.nav-menu ul {
  list-style-type: none;
}

.nav-menu ul li {
  margin: 0 15px;
  border-bottom: 1px solid #ffffff1a;
}

.nav-menu ul li a {
  color: white;
  text-decoration: none;
  display: block;
  padding: 15px;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.nav-menu ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background-color: var(--secondary-color);
  transition: left 0.3s ease;
}

.nav-menu ul li a:hover::after {
  left: 0;
}


#burger-toggle:checked ~ .burger-container .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(11px, 7px);
}

#burger-toggle:checked ~ .burger-container .burger-line:nth-child(2) {
  opacity: 0;
}

#burger-toggle:checked ~ .burger-container .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, 0px);
}


#burger-toggle:checked ~ .nav-menu {
  right: 0;
}


.text-wow{
    font-size: 8vw;
    line-height: 1;
}

.section-bg-light {
    --bg-section: var(--bg-light);
}
footer {
    background-color: #004676;
    padding: 20px 0;
    text-align: center;
    color: #fff;
    background: linear-gradient(
    to right,
    #00111d 0%,
    #001d2e 20%,
    #1b4e5f 55%,
    #4a8292 85%,
    #8eb7bf 100%
  );
    position: relative;
    overflow: hidden;
}
.footer .footer-top-arrow {
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}
.back-to-top {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
}
.header-menu {
    cursor: pointer;
}
.header.style-bento {
    z-index: 99;
    position: fixed;
    text-shadow: 0.1em 0.1em 0.5em rgb(0, 0, 0, 0.2);
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background-color: #004676;
    min-height: 64px;
    background: linear-gradient(to right, #02244a 0%, #001d2e 20%, #1b4e5f 55%, #4a8292 85%, #8de6e4 100%);
}
.header.style-bento::before, footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.header.style-bento nav,.header.style-bento div {
    padding-left: 0;
}
.header.style-bento .page-title {
    padding: 0.5rem 1rem 0.5rem 0.7rem;
    border-radius: var(--bento-rouned-size);
    font-weight: 400;
    
    color:#fff;
    display: inline-flex;
    gap: 1rem;
}

.header.style-bento .page-title .prefix {
    background: var(--color-secondary);
    color: #fff;
    line-height: 1;
    text-align: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.1em;
    box-sizing: content-box;
    border-radius: 50%;
    font-weight: 100;
}

.header.style-bento .justify-space-center {
    justify-content: center;
}

.hero-slider {
    color: #fff;
    height: 100svh;
    overflow: hidden;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    --basesvh: 812;
}

.text-muted {
    color: var(--color-gray-light);
}

.underscored:before {
    position: absolute;
    content: '';
    width: calc(100% + 16px);
    height: var(--underscored-size, 16px);
    transition: height 0.5s ease;
    background: #6a92de63;
    display: block;
    bottom: 0;
    z-index: -1;
    left: -8px;
}

.underscored {
    position: relative;
    display: inline-block;
    isolation: auto;
}

.text-serif{
    font-family:var(--font-serif);
}


.section-title {
    font-weight: 800;
    font-size: 2.375rem;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.section-subtitle {
    font-weight: 400;
    font-size: 1.075rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-discover {
    background-color: #ffffff;
    color: #0a2351;
    font-weight: 600;
    border: none;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.btn-discover:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.swiper {
    width: 100%;
    height: 500px;
    margin-bottom: 30px;
}

.swiper-slide {
    position: relative;
    overflow: hidden;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background-color: var(--slide-content-bg,rgba(0,0,0,0.6));
    backdrop-filter: blur(5px);
}

.slide-title {
    font-weight: 700;
    margin-bottom: 5px;
}

.brand-corner {
    position: absolute;
    top: 3rem;
    right: 3rem;
    background: rgba(255,255,255,0.9);
    color: #0a2351;
    padding: 5px 10px;
    font-weight: 700;
    font-size: 0.9rem;
}

.text-serif{
font-family:var(--font-serif)
}

.ikea-article {
    line-height: 1.8;
    margin: 30px 0;
}

.gallery-item {
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}


.search-bar {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 15px;
    margin-bottom: 30px;
    flex:1;
}

.search-input {
    border: none;
    color: #aaaaaa;
    width: 100%;
    padding: 10px;
    outline: none;
}

.search-input::placeholder {
    color: rgba(145, 145, 145, 0.7);
}

.tag {
    display: inline-block;
    border: 1px solid #000;
    color: rgb(0, 0, 0);
    padding: 10px 20px;
    text-decoration: none;
    margin: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}
.tag:hover {
    background: #000;
    color: #fff;
}

.photo-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
    position: relative;
}

.photo-col {
    
    flex: 1;
    transition: all 0.5s ease;
}

.photo-box {
    
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
    cursor: pointer;
    width: 100%;
    transition: all 0.5s ease;
    height: calc(100vh - 140px);
}

.photo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}


.photo-col:hover {
    flex: 1.778; 
}

.photo-col:hover img{
    filter: brightness(1);
}


.photo-row:hover .photo-col:not(:hover) {
    flex: 0.741;
}
.photo-col img{
    filter: brightness(0.4);
}

.photo-box:hover .photo-box-overlay {
    opacity: 1;
}

.download-button{
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #000000;
    padding: 12px 24px;
    border-radius: 25px;
    font-family: var(--font-sans-serif);
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 0;
    color: inherit;
    cursor: pointer;
    outline: none;
}

.download-icon {
    position: relative;
    font-size: 0.8em;
    line-height: 1;
    border:4px dashed #6a92de63;
    color: #000;
    width: 4em;
    height: 4em;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    border:1px solid rgba(255,255,255,1);
}
.download-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #000;
    transform: translateY(-2px);
}

.download-button:active {
    transform: translateY(0);
}

.download-button.downloading {
    background: rgba(255, 255, 255, 0.3);
    animation: bounceDw 1s ease-in-out infinite;
}

@keyframes bounceDw {
    0%{
        transform:translateY(0);
    }
    50%{
        transform:translateY(-10px);
    }
    100%{
        transform:translateY(0);
    }
    
}

.mouse-animated {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.mouse-animated .mouse {
    display: block;
    position: relative;
    width: 24px;
    height: 48px;
    border-radius: 12px;
    background: #fff;
    margin-top: 4px;
    border: 2px solid var(--color-gray-light);
}

.mouse-animated .mouse:before {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-gray-light);
}

.mouse-animated .tail {
    display: block;
    position: relative;
    width: 4px;
    height: 48px;
    border-radius: 8px;
    background: #bdbdbd;
    overflow: hidden;
}

.mouse-animated .tail:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 8px;
    border-radius: 4px;
    background: #fff;
    animation: tailflowdown 3s cubic-bezier(0, 0, 0.09, 0.98) infinite;

}

.photo-box-overlay {
    position: absolute;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 1;
    transition: all 0.3s ease;
    background: linear-gradient(0deg, rgba(0,0,0,0.5), transparent);
    height: var(--photobox-size, 25%);
    width: 100%;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 1em;
    overflow: hidden;
    font-size:clamp(2vw, 48px, 4vw);
    font-weight: normal;
}
.photo-box-title,
.photo-box-tag{
    text-shadow: 0 4px 6px rgba(0,0,0,0.8);
}
.photo-box-overlay .photo-box-tag{
    opacity: var(--photobox-tag-opacity, 0);
    transition:all 0.3s ease;
    transition-delay:0.3s;
    transform:translateY(var(--photobox-y, 30px));
   
}
.photo-box:hover{
    --photobox-size: 50%;
    --photobox-tag-opacity: 1;
    --photobox-y: 0px;
}

.photo-box-meta {
    padding: 10px 0;
}

.photo-box-title {
    margin-bottom: 5px;
    font-size: 0.9em;
}
.photo-box-tag {
    font-size: 0.65em;
    
}

.section-focus{
    padding:100px 5vw 140px;
    /*min-height: 150vh;*/
    display: flex;
    flex-direction: column;
    place-items: center;
}
.section-focus:before {
    content: attr(data-title);
    font-size: 34vw;
    position: absolute;
    opacity: 0.4;
    color: #c5d5f2;
    z-index: 0;
    pointer-events: none;
}
.section-figure{
    background-size:cover;
}
.section-figure .image-caption{
    position: absolute;
    bottom: 10%;
    right: 0;
    color:#fff;
    min-width: min(30vw, 650px);
}
.section-figure .image-caption{
    padding:2em 1em;
    font-size: var(--font-size-abstract);
    font-weight: normal;
}
.section-figure .image-caption .caption-header{
    display:flex;
    align-items: center;
    justify-content: space-between;
    border-bottom:1px solid #fff;
}
.section-figure .image-caption .caption-title{
    font-size: 1.6em;
    
}
.section-figure .image-caption .caption-abstract{
    font-size: 0.48em;
}

.section-focus-topic .abstract-focus-section {
    font-size: 3vw;
    font-weight: normal;
    z-index: 1;
}

.section-focus-topic .abstract-focus-section:hover {
    --focus-section-opacity: 1;
    --underscored-size: 32px;

}

.tag-suggestions {
    font-size: calc(1rem + 2px);
    padding-left: 0;
}

.tag-suggestions-container {
    padding-left: 0;
}

#tag .section-focus {
    padding-bottom: 100px;
}


@media screen and (max-width: 1400px) {
    .tag-suggestions-container {
        padding-left: 5%;
    }
}

@media screen and (max-width: 1200px) {
    :root {
        --h1-min: 2.125rem;    
        --h1-max: 3.475rem;     
        --h1-vw: 4.5vw;       
        
        --h2-min: 3.475rem;     
        --h2-max: 3.925rem;    
        --h2-vw: 3.6vw;       
        
        --h3-min: 1.225rem;    
        --h3-max: 1.45rem;   
        --h3-vw: 3.15vw;      
        
        --h4-min: 0.8875rem;  
        --h4-max: 1rem;   
        --h4-vw: 2.7vw;       
        
        --body-min: 0.775rem;   
        --body-max: 0.8875rem; 
        
        --font-wow: calc(88px + 2.7vw);     
        --font-wow-min: calc(70px + 1.8vw); 
        --font-wow-max: calc(106px + 5.4vw); 
    }
    
    .section-title {
        font-size: 2.125rem; 
    }
    
    .section-subtitle {
        font-size: 0.955rem; 
    }
    
    .section-focus {
        padding: 100px 4vw 140px;
    }
    #tag .section-focus {
        padding-bottom: 100px;
    }
}


@media screen and (max-width: 990px) {
    :root {
        --h1-min: 1.875rem;       
        --h1-max: 3.075rem;     
        --h1-vw: 4vw;         
        
        --h2-min: 3.075rem;     
        --h2-max: 3.475rem;     
        --h2-vw: 3.2vw;       
        
        --h3-min: 1.075rem;     
        --h3-max: 1.275rem;     
        --h3-vw: 2.8vw;       
        
        --h4-min: 0.775rem;     
        --h4-max: 0.875rem;       
        --h4-vw: 2.4vw;       
        
        --body-min: 0.675rem;   
        --body-max: 0.775rem;   
        
        --font-wow: calc(78px + 2.4vw);     
        --font-wow-min: calc(62px + 1.6vw); 
        --font-wow-max: calc(94px + 4.8vw); 
    }

    .slides-brand {
        top: unset;
        bottom: 100px;
    }

    .section-title {
        font-size: 1.875rem; 
    }
    
    .section-subtitle {
        font-size: 0.835rem; 
    }
    
    .text-wow.text-secondary {
        font-size: 8vw;
    }
    .section-focus-topic .abstract-focus-section {
        font-size: 2.125rem;
    }
    
    .section-focus {
        padding: 100px 5% 140px;
    }
    #tag .section-focus {
        padding-bottom: 100px;
    }

    .title-focus-topic h2 {
        padding-left: 0;
    }
    .d-inline-block {
        width: 40px;
    }
}


@media screen and (max-width: 768px) {
    :root {
        --h1-min: 1.625rem;    
        --h1-max: 2.675rem;     
        --h1-vw: 3.5vw;       
        
        --h2-min: 2.675rem;     
        --h2-max: 3.025rem;    
        --h2-vw: 2.8vw;       
        
        --h3-min: 0.925rem;    
        --h3-max: 1.1rem;   
        --h3-vw: 2.45vw;      
        
        --h4-min: 0.6625rem;  
        --h4-max: 0.75rem;   
        --h4-vw: 2.1vw;       
        
        --body-min: 0.575rem;   
        --body-max: 0.6625rem; 
        
        --font-wow: calc(70px + 2.1vw);     
        --font-wow-min: calc(56px + 1.4vw); 
        --font-wow-max: calc(84px + 4.2vw); 
    }

    .section-title {
        font-size: 1.625rem; 
    }
    
    .section-subtitle {
        font-size: 0.715rem; 
    }
    
    .header.style-bento * {
        padding-left: 0;
    }  
    .section-focus{
        padding: 100px 5% 140px;
        display: flex;
        flex-direction: column;
        place-items: center;
        height: auto;
        min-height: auto;
    }
    .section-focus-topic .abstract-focus-section {
        font-size: 2.125rem;
    }
    #tag .section-focus {
        padding-bottom: 50px;
    }
    .download-button {
        font-size: 1rem;
        padding: 10px 20px;
    }

    .tag-suggestions {
        display: block!important;
        font-size: calc(1rem + 2px);
    }
    .photo-col img {
        filter: brightness(0.7)!important;
    }
    .photo-box-title {
        font-size: 1.6em;
        padding-left: 25px;
    }
}


@media screen and (max-width: 560px) {
    :root {
        --h1-min: 1.375rem;     
        --h1-max: 2.275rem;     
        --h1-vw: 3vw;         
        
        --h2-min: 2.4rem;     
        --h2-max: 2.7rem;     
        --h2-vw: 2.4vw;       
        
        --h3-min: 0.9rem;     
        --h3-max: 1.05rem;    
        --h3-vw: 2.1vw;       
        
        --h4-min: 0.675rem;   
        --h4-max: 0.75rem;    
        --h4-vw: 1.8vw;       
        
        --body-min: 0.475rem;   
        --body-max: 0.55rem; 
        
        --font-wow: calc(60px + 1.8vw);     
        --font-wow-min: calc(48px + 1.2vw); 
        --font-wow-max: calc(72px + 3.6vw); 
    }

    .section-title {
        font-size: 1.375rem; 
    }
    
    .section-subtitle {
        font-size: 0.595rem; 
    }
    
    .section-focus {
        padding: 100px 5%;
    }
    #tag .section-focus {
        padding-bottom: 50px;
    }
    .header.style-bento .page-title{
        font-size: 16px;
        margin-bottom: 0;
    }
    .back-to-top, .tag-suggestions, .download-button {
        font-size: 12px;
    }
    img.footer-top-arrow {
        width: 18px;
        font-size: 12px;
    }
    .burger-container {
        width: 30px;
        right: 8%;
    }
    .text-secondary {
        font-size: 36px !important;
    }
    .section-focus-topic .abstract-focus-section {
        font-size: 22px;
    }
    .title-focus-topic h2 {
        padding-left: 2px;
    }

    .download-icon {
        width: 3em;
        height: 3em;
    }
    .download-icon img {
        width: 40px;
    }
}


@media screen and (max-width: 320px) {
    :root {
        --h1-min: 1.125rem;    
        --h1-max: 1.875rem;       
        --h1-vw: 2.5vw;       
        
        --h2-min: 2rem;       
        --h2-max: 2.25rem;    
        --h2-vw: 2vw;         
        
        --h3-min: 0.75rem;    
        --h3-max: 0.875rem;   
        --h3-vw: 1.75vw;      
        
        --h4-min: 0.5625rem;  
        --h4-max: 0.625rem;   
        --h4-vw: 1.5vw;       
        
        --body-min: 0.375rem;   
        --body-max: 0.4375rem; 
        
        --font-wow: calc(50px + 1.5vw);     
        --font-wow-min: calc(40px + 1vw);   
        --font-wow-max: calc(60px + 3vw);   
    }
    
    .section-title {
        font-size: 1.125rem; 
    }
    
    .section-subtitle {
        font-size: 0.475rem; 
    }
    .section-focus-topic .abstract-focus-section {
        font-size: 18px;
    }
    .section-focus {
        padding: 80px 5%;
    }
    #tag .section-focus {
        padding-bottom: 50px;
    }
    .photo-box-title {
        font-size: 1.2em; 
        padding-left: 15px;
    }
}



@media screen and (min-width: 1260px) and (max-width: 1450px) {
    .photo-box-overlay {
        font-size: clamp(2vw, 38px, 4vw);
        padding: 0 22px;
    }
}

@media screen and (min-width: 990px) and (max-width: 1260px) {
    .photo-box-overlay {
        font-size: clamp(2vw, 28px, 4vw);
        padding: 0 22px;
    }
}

@media screen and (min-width: 550px) and (max-width: 1000px) {
    .text-secondary {
        font-size: 3em !important;
    }
    .title-focus-topic h2 {
        padding-left: 2px !important;
    }
}
