:root{
    --colorBold : #292f36;

    --colorGold: #cdb26d;
    --wrapperWidth : 1826px;
    --wrapperWidthLg : 1460px;
    --mobilePadding : 16px;

    --colorLaw : #244767;


    --colorCream : #ffffeb;
    --colorCream : #ede9df;
    
    --colorBg : #F1E8E4;

    --colorHeader : #5E554B;
    --colorAlt : #512D38;

    --filterBrown : invert(33%) sepia(4%) saturate(1770%) hue-rotate(351deg) brightness(92%) contrast(83%);
    --filterGold: invert(81%) sepia(26%) saturate(611%) hue-rotate(2deg) brightness(85%) contrast(90%);
    --filterPurple : invert(15%) sepia(10%) saturate(2832%) hue-rotate(291deg) brightness(95%) contrast(83%);

    --fontText :  "Open Sans", sans-serif;
}

@font-face {
    font-family: 'PFBrummell';
    src: url('../fonts/PFBrummell-Bold.woff') format('woff'), 
    url('../fonts/PFBrummell-Bold.woff2') format('woff2'); 
    font-style: normal;
    font-weight: bold;
    /* font-display: swap; */
}

@font-face {
    font-family: 'PFBrummellMedium';
    src: url('../fonts/PFBrummell-Medium.woff') format('woff'), 
    url('../fonts/PFBrummell-Medium.woff2') format('woff2');	
    font-style: normal;
    font-weight: normal;
    /* font-display: swap; */
}

@font-face {
    font-family: 'PFRegalDisplayProBlack';
    src: url('../fonts/PFRegalDisplayPro-Black.woff') format('woff'); 
    font-style: normal;
    font-weight: normal;
    /* font-display: swap; */
}

@font-face {
    font-family: 'PFRegalDisplayProMedium';
    src: url('../fonts/PFRegalDisplayPro-Medium.woff') format('woff'); 
    font-style: normal;
    font-weight: normal;
    /* font-display: swap; */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'PFRegalDisplayProMedium';
}

p, input {
    font-family: 'PFBrummellMedium';
}

span {
    font-family: 'PFBrummellMedium';
}

body, div, h1, h2, h3, h4, h5, h6, p, ol, ul, blockquote, figure{
    margin:0;
    padding:0;
    font-weight: normal;
}

body{
    position: relative;
    font-weight: 400;
    max-width: 2500px;
    margin:0 auto;
    font-family: "Comfortaa";
    /* font-family: "Open Sans", sans-serif; */
    /* color: var(--colorBg); */
    background-color: #f7f7f7;
}

img{
    max-width: 100%;
    height: auto;
    display: block;
}

a{
    text-decoration: none;
    color: inherit;
}

ul, ol{
    list-style: none;
}

ul.flex > li:last-of-type{
    margin-right: 0!important;
}
ul.flex.col > li:last-of-type{
    margin-bottom: 0!important;
}
ul.flex.border > li:last-of-type{
    border-right: 0!important;
}
ul.flex.col.border > li:last-of-type{
    border-bottom: 0!important;
}

input{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border:none;
    outline: none;
}

address{font-style: normal;}

html {
    scroll-behavior: smooth;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
*, *:before, *:after {
    -webkit-box-sizing: inherit;
    box-sizing: inherit;
}


[style*="--aspect-ratio"] > :first-child {
    width: 100%;
}
[style*="--aspect-ratio"] > img {
    height: auto;
}
@supports (--custom:property) {
    [style*="--aspect-ratio"] {
        position: relative;
    }
    [style*="--aspect-ratio"]::before {
        content: "";
        display: block;
        padding-bottom: calc(100% / (var(--aspect-ratio)));
    }
    [style*="--aspect-ratio"] > :first-child {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
    }
}

/*  containers */

.flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.flex.col {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

.flex.centered{
    justify-content: center;
    align-items: center;
}


/*  general */


/*  κλείδωμα του scroll στο background
    σε περίπτωση που έχουμε ένα στοιχείο
    που καλύπτει όλη την οθόνη */
.stop-scrolling {
    height: 100%; overflow: hidden;
}
    
    
    
/*  κεντράρισμα εικόνας*/
.img-center{
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center;
       object-position: center;
}
    
    
/*  κρύψιμο οριζόντιας μπάρας κύλισης*/
.scrollbar-hide{
    overflow-x: scroll;
    -ms-scroll-snap-type: x mandatory;
        scroll-snap-type: x mandatory;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.scrollbar-hide::-webkit-scrollbar {display: none;}

.pntr{ cursor: pointer;}

main.off{display: none;}

.invert{background-color: var(--colorAlt);}

/* wrappers */

.wrapper{
    max-width: var(--wrapperWidth);
    padding-inline: 3rem;
    margin-inline: auto;
}

.wrapper.pr-0{
    padding-right: 0;
}

@media screen and (max-width: 1400px) {  
    .wrapper{
        padding-inline: 2rem;
    } 
    .wrapper.tab-pr-0{
        padding-right: 0;
    }   
}
@media screen and (max-width: 1020px) {  
    .wrapper{
        padding-inline: 1rem;
    }   
}
 
@media screen and (max-width: 620px) {  
    .wrapper{
        padding-inline: var(--mobilePadding);
    }    
}


section{padding-block: 4rem;}

@media screen and (max-width: 620px) {
    section{padding-block: 3rem 2rem;}
} 


/* card */

.card{
    position: relative;
    /*background-color: #fff;*/
    display: flex;
    flex-direction: column;
}

.card.left{
    flex-direction: row;
}

.card.cover{
    overflow: hidden;
}

.card.white{
    color: #fff;
}

.card-image{
    overflow: hidden;
    width: 100%;
    margin-bottom: 30px;
    opacity: 1;
    transition: opacity 0.3s;
    aspect-ratio: 1.5;
}


.card-image:hover{
    opacity: 0.8;
}

/* card-left 
    όταν πρέπει η κάρτα να έχει την εικόνα στα αριστερά και τις πληροφορίες στα δεξιά
*/

.card.left .card-image, .card.cover .card-image{
    margin-bottom:0;
}

.card.left.left-30 .card-image{
    flex:0 0 35%;
}

.card.left .card-info{
    align-self: center;
    margin-left: 2rem;
}

.card.cover .card-info{
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.card-category{
    margin-bottom: 30px;
    color: #7f7f7f;
    font-family: PFBrummell;
}

.card-info.sm .card-category{
    margin-bottom: 11px;
}

.card-category h4{
    font-size: 12px;
    line-height: 26px;
    letter-spacing: 1.2px;
}

.card-title{
    margin-bottom: 1rem;
    font-family: PFRegalDisplayProMedium;
}

.card-title h2 {
    font-size: 23px;
    line-height: 24px;
	-webkit-transition: all .3s;
    transition: all .3s;
	word-break: break-word;
    font-weight: 300;
}
/*
.card:hover .card-image picture img {
	transform: scale(1.1);
	-webkit-transform: scale(1.1);
}
*/

.card:hover .card-title > h2,
.map-enable:hover {
	color: #7f7f7f;
}

.map-enable:hover .location-icon > img {
	filter: invert(51%) sepia(0%) saturate(25%) hue-rotate(197deg) brightness(98%) contrast(79%);
}

.card.white:hover .card-title > h2 {
	color: #ffffff;
}

.card-title.xl h2{
    font-size: 55px;
    line-height: 60px;
}
.card-title.sm h2{
    font-size: 21px;
    line-height: 25px;
}

.card-text p{
    font-size: 30px;
    line-height: 25px;
    letter-spacing: 0.3px;
}


.card-info.sm .card-title h2{
    font-size: 18px;
    line-height: 19px;
}

.card.cover .card-info .card-title h2{
    text-align: center;
    font-size: 26px;
    letter-spacing: 1.2px;
}

/*
.card-text p{
    font-size: 24px;
    line-height: 30px;
}
*/

.card-date{
    color: #A6AA67;
    margin-bottom: 1rem;
    font-size: 12px;
    letter-spacing: 1.2px;
    line-height: 22px;
    font-family: PFBrummell;
}

.card-date.period{
    color: #7F7F7F;
}

.card-btn .icon{
    width: 100px;
    margin: 0 auto;
}

.card-btn p{
    font-size: 12px;
    letter-spacing: 1.2px;
    font-family: PFBrummell;
}


/*  το τελευταίο στοιχείο του info δεν έχει margin*/
.card-info > div:last-of-type{
    margin-bottom: 0;
}


/* card location 
    |   default [κάτω από το info]
    |   abs [τοποθέτηση πάνω στην εικόνα]
        -   στο abs εμφανίζεται το λευκό εικονίδιο
*/
.card-location{
    margin-top: 1rem;
    font-family: PFBrummell;
}

.card-location h5 {
    font-size:12px;
    line-height: 16px;
    letter-spacing: 1.2px;
	-webkit-transition: all .3s;
    transition: all .3s;
	display: inline-block;
    font-family: PFBrummell;
    font-weight: 100;
}


.card-location  h5 span>img{
    display: inline;
    width: 10px;
    position: relative;
    top: 2px;
    margin-right: 5px;
}

.card-location  h5 span.white{
    display: none;
}

.card-location.abs{
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    color: #fff;
    margin: 0;
    padding: 1rem 20px;
    height: 60px;
    background: linear-gradient( 180deg,  rgba(0, 0, 0, 0.5)  0, rgba(0, 0, 0, 0.3)  35%,   rgba(0, 0, 0, 0) 100%);
}

.card-location.abs h5 span.white{
    display: inline;
}
.card-location.abs h5 span.black{
    display: none;
}


.staff-pic{
    position: absolute;
    width: 85px;
    height: 85px;
    background: #F7F7F7;
    border-radius: 50%;
    top: 75px;
    right: -27px;
    text-align: center;
    font-size: 14.5px;
    line-height: 13.4px;
    font-family: PFRegalDisplayProBlack;
}

@media screen and (max-width:980px){
    .card-title.xl h2{
        font-size: 45px;
        line-height: 49px;
    }        
}

@media screen and (max-width:900px){
    .card.left.mbl-normal{
        display: block;
    }
    .card.left.mbl-normal .card-image{
        margin-bottom: 1rem;
    }
    .card.left.mbl-normal .card-info{
        margin-left: 0;
    }
}
@media screen and (max-width:700px){
    .staff-pic{
        right: -12px;  
        top: 32px;  
    }    
}

@media screen and (max-width:580px){
    .card-title h2{
        font-size: 18px;
        line-height: 25px;    
    }
    .card-title.xl h2{
        font-size: 35px;
        line-height: 39px;
    } 
    .card-text p {
        font-size: 25px;
        line-height: 25px;
        letter-spacing: 0.25px;
    } 
    .card-image{
        margin-bottom: 20px;
    } 
    .card-category{
        margin-bottom: 10px;
    }  
    .card-title.sm h2{
        font-size: 18px;
        line-height: 21px;
    }   
}

/* section headers */

.top-header{
    font-family: "Comfortaa";
    font-size: 3rem;
    padding-block: 1rem;
    position: relative;
    color: var(--colorBold);
    color: var(--colorHeader);
    overflow: hidden;
}

.invert .top-header{
    color: var(--colorCream);
}
.top-header.pd{
    padding-left: 2rem;
}

.top-header span{
    display: block;
    transform: translateY(150%);
    transition: transform .3s;
}
.top-header.on span{
    transform: translateY(0);
}

.top-header::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    border-bottom: 2px solid var(--colorGold);
    transition: width .6s;
}
.top-header.on::after{
    width: 100%;
}

.section-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block: 1rem;
    border-bottom: 1px solid #fff;
    margin-bottom: 2rem;
}
.section-header h3{
    font-size: 2.5rem;
}

.section-header.multi-line{
    flex-wrap: wrap;
    border-bottom: none;
    justify-content: space-between;
    align-items: center;
}

.section-header.multi-line > div{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.section-header.multi-line > .top-row{
    margin-bottom: 0.5rem;
}
.section-header.multi-line > .top-row.border{
    border-bottom: 1px solid #fff;
}

@media screen and (max-width: 1020px) {  
    .top-header{
        font-size: 2.5rem;
    }
    .top-header.pd{
        padding-left: 1rem;
    }
}
@media screen and (max-width: 720px) {  
    .top-header{
        font-size: 2rem;
    }
}
@media screen and (max-width: 580px) {  
    .top-header{
        font-size: 1.75rem;
    }
}
@media screen and (max-width: 420px) {  
    .top-header{
        font-size: 1.5rem;
    }
}

/*  socials */

.social ul{
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}
.social li{
    width: 40px;
    height: 40px;
    background-position: center;
    background-size:contain;
    background-repeat: no-repeat;
    margin-right: 1rem;
    padding: 11px;
    background-color: var(--colorGold);
    border-radius: 50%;
}

.social li img{
    filter: var(--filterPurple);
}

.social li:hover{
    background-color: var(--colorAlt);
}
.social li:hover img{
    filter: var(--filterGold);
}

.social ul li:last-of-type{
    margin-right: 0;
}

.social ul li > a{
    width: 100%;
    height: 100%;
    display: inline-block;
}

/* @media screen and (max-width: 680px) {
    .social ul li{
        margin-right: 2rem;
    }
}
@media screen and (max-width: 620px) {
    .social ul li{
        width: 40px;
        height: 40px;
    }
    .social ul li.fb{
        background-size:8px 18px;
    }
    .social ul li.tw{
        background-size:18px 14px;
    }
    .social ul li.rss{
        background-size:14px 14px;
    }
}
@media screen and (max-width: 480px) {
    .social ul li{
        margin-right: 26px;
    }
} */

/* search */
.search-header-wrapper{
    position: relative;
}
.search-icon{
    width: 1rem;
    height: 1rem;
    background-image: url(../assets/icons/search.svg);
    background-size:50%;
    background-position: center;
    background-size:contain;
    background-repeat: no-repeat;
    cursor: pointer;
}

.search-icon.white{
    filter: invert(1);
}
.search-inner-wrapper{
    position: absolute;
    right: 0;
    top: 0;
    overflow: hidden;
    width: 0;
    position: absolute;
    background-color: #000;
    transition: width 0.3s;
}
.search-form{
    width: 200px;
    display: flex;
    align-items: center;
}
.search-inner-wrapper.on{
    width: 200px;
}

.search-form input{
    background: transparent;
    color: #fff;
    /* border-bottom: 1px solid #fff; */
}

.search-close.btn-container{
    width: 25px;
    height: 25px;
}
.search-close .line{
    transform-origin: center;
    top: 50%!important;
}
.search-close .line:first-of-type{
    transform: rotate(-45deg);
}
.search-close .line:last-of-type{
    transform: rotate(45deg);
}

/* main header and menus */

.fixed-header{
    position: fixed;
    left:0;
    top: 0;
    width: 100%;
    padding-block: 1rem;
    z-index: 100;
}

/* parallax */

.parallax{
    background-image: url("../assets/images/buisiness.jpg");

        /* Set a specific height */
        min-height: 80dvh;

        /* Create the parallax scrolling effect */
        background-attachment: fixed;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover; 
        display: flex;
        justify-content: center;
        align-items: center;
        filter: sepia();
}

.parallax .bg-img{
    display: none;
}

.parallax.ios{
    background-image: none;
    /* Set a specific height */
    min-height: unset;
    width: 100%;
    height: auto;
    position: relative;
}

.parallax.ios .bg-img{
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.parallax-header{
    font-size: 5rem;
    line-height: 125%;
    /* color: var(--colorGold); */
    color: #000;
    max-width: 1200px;
    width: calc(100vw - 4rem);
    padding: 6rem 4rem;
    text-align: center;
    /* mix-blend-mode: difference; */
    text-transform: uppercase;
    background-color: rgba(237, 233, 223, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(3px);
    font-weight: 600;
    text-shadow: 2px 2px 5px #fff;
}

@media only screen and (max-device-width: 1280px) {
    .parallax-header{
      font-size: 4rem;
      max-width: 1000px;
    }
}
@media only screen and (max-device-width: 980px) {
    .parallax {
        background-attachment: scroll;
    }
    .parallax-header{
      font-size: 3rem;
      max-width: 800px;
      padding: 4rem 2rem;
    }
}
@media only screen and (max-device-width: 680px) {
    .parallax-header{
      font-size: 2.5rem;
    }
}
@media only screen and (max-device-width: 520px) {
    .parallax-header{
      font-size: 2rem;
      padding: 2rem 1rem;
      width: calc(100vw - 2rem);
      border-radius: 10px;
    }
}
@media only screen and (max-device-width: 365px) {
    .parallax-header{
      font-size: 1.75rem;
    }
}

/* buttons */


.btn-rnd{
    width: 2.5rem;
    height: 2.5rem;
    cursor: pointer;
    border-radius: 50%;
    background-color: var(--colorGold);
    padding: .625rem;
}

.btn-rnd--icon{
    width: 100%;
    height: 100%;
    filter: var(--filterPurple);
}

.btn-rnd.on,
.btn-rnd:hover{
    background-color: var(--colorAlt);
}

.btn-rnd.on .btn-rnd--icon,
.btn-rnd:hover .btn-rnd--icon{
    filter: var(--filterGold);
}

.btn-rnd--info{
    position: absolute;
    right: 0;
    bottom: 0;
    background-color: var(--colorHeader);
    border-radius: 20px;
    height: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: max-width .3s;
    max-width: 0;
    overflow: hidden; 
    color: var(--colorCream);
    z-index: 2;
}

.btn-rnd--info span{
    padding: .5rem 3rem;
    white-space: nowrap;
    display: block;
} 

.btn-rnd.on .btn-rnd--info{
    max-width: 400px;
}

.btn-rnd--close{
    position: absolute;
    right: 8px;
    top: .5rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    padding: .25rem;
    background-color: var(--colorGold);
    z-index: 2;
}

.btn-rnd--close img{
    width: 100%;
    height: 100%;
    filter: invert(96%) sepia(12%) saturate(144%) hue-rotate(359deg) brightness(99%) contrast(88%);
}

@media screen and (max-width: 520px) {
    .btn-rnd{
        width: 2rem;
        height: 2rem;
        padding: .5rem;
    }  
}
@media screen and (max-width: 390px) {
    .btn-rnd.pin{
        display: none;
    }  
}


.btn-lines{
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    transition: all .3s;
    /* border: 1px solid red; */
}

.btn-lines .line{
    position: absolute;
    content: "";
    transform-origin: center;
    border-radius: 2px;
    /* transition: all .6s; */
}

.btn-lines .line:first-of-type{
    border-left: 2px solid var(--colorAlt);
    height: 100%;
    left: calc(50% - 1px);
}
.btn-lines .line:last-of-type{
    border-top: 2px solid var(--colorAlt);
    width: 100%;
    top: calc(50% - 1px);
    left: 0;
}


/* reveal */

.container{
    height: 100dvh;
    width: 100%;
    position: fixed;
    top: 0; left: 0;
    z-index: 100;
}

.container.off{
    display: none;
}

.reveal-boxes{
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: #f2f2f2;
    z-index: 10;
}

.reveal-boxes > *{
    flex: 1;
    height: 100%;
    background-color: #000;
    background-color: var(--colorHeader);
    background-color: var(--colorCream);
    /* background-color: #fff; */
    opacity: 0;
    transition: all .6s;
}

.reveal-boxes.on.show{
    background-color: rgba(65, 65, 65, 0);
    pointer-events: none;    
}

.container.site-on .reveal-boxes.on{
    background-color: transparent;
}

.reveal-boxes.on > *{opacity: 1;}
.reveal-boxes.on.show > * {
    opacity: 0;
    transform: translateY(-200%);
}

.reveal-box{transition-delay: var(--delay);}

.reveal-image{
    position: absolute;
    width: 100%; height: 100%;
    background-repeat: no-repeat;
    z-index: 12;
    background-color: transparent;
    /* mix-blend-mode: color; */
}

.reveal-image > *{
    position: absolute;
    background-image: url('../assets/icons/logo_simple.png');
    background-repeat: no-repeat;
    width: 50%; height: 100%;
    transition: all .3s;
    opacity: 0;
    transition-delay: var(--delay);
}
.reveal-image .left{
    left: 0;
    background-position: calc(100% + 133px) 50%;
}
.reveal-image .right{
    left: 50%;
    background-position: -133px 50%;
}

.reveal-boxes.on + .reveal-image > *{
    opacity: 1;
}
.reveal-boxes.on.show + .reveal-image > *{
    transform: translateY(-150vh);
}


.arrow-btn{
    width: 4rem;
    aspect-ratio: 1;
    margin: 1rem 0 0 auto;
    border-radius: 50%;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.grid > .arrow-btn{
    grid-column: -2 / -1;
    margin-left: auto;
}

.arrow{
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    width: 100%;
    aspect-ratio: 1;  
    padding: 0.875rem;
    transition: left .3s;  
    border-radius: 50%;
}

.arrow.left{
    left: -100%;
    z-index: 2;
    background-color: var(--colorAlt);
}
.arrow.right{
    left: 0;
    background-color:var(--colorGold);
}
.arrow.right img{
    filter: var(--filterPurple);
}
.arrow.left img{
    filter: var(--filterGold);
}

.arrow-btn:hover .arrow.left{left: 0;}

@media screen and (max-width: 1480px) {  
    .arrow-btn{
        width: 3rem;
    }
    .arrow{
        padding: .5rem;
    }
}
@media screen and (max-width: 920px) {  
    .arrow-btn{
        width: 2.5rem;
    }
    .arrow{
        padding: .375rem;
    }
}
