@import url('https://fonts.googleapis.com/css2?family=Playfair+Display&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display+Bold&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;400&display=swap');

.greece, .aboutus, .home {
    --accent-main: darkslategrey;
    --image-url-var: url(images/borders/Santorini-01.svg);
}
.turkey {
    --accent-main: #66191c;
    --image-url-var: url(images/borders/Turkey.svg);
}
.thailand {
    --accent-main: #546b49;
    --image-url-var: url(images/borders/Thailand-01.svg);
    
    .hashtag {
        font-weight: bold;
    }
    
    /* Samo za komp; unspecified za fone */
    @media (min-width: 800px) {
        .twothirds > p {
            max-width: 95%;
        }
    }
}
.peru {
    --accent-main: rgb(115, 104, 84);
    --image-url-var: url(images/borders/peru-01.svg);
}

.india {
    --accent-main: hsl(27, 50%, 50%);
    --image-url-var: url(images/borders/india.svg);
}

.malaysia {
    --accent-main: #0f4c5c;
    --accent-main: #6e7e5a;
    --accent-main: #c2a470;
    --accent-main: hsl(146.7, 23.3%, 37.8%);
    --accent-main: hsl(151.7, 23.3%, 37.8%);
/*     --image-url-var: url(images/borders/malaysia-01.svg);
 */
}

body:not(.greece, .aboutus, .home, .turkey, .thailand) {
    img {   
        border-radius: 0.5rem;   
    }
/*     img.hiddenGem, img.hasMap {
        box-shadow: 0 0 0.8rem 0.1rem var(--accent-main);
    } */

/*     This one removes img border once all hiddenGem areas have been clicked. */
    img.hiddenGem, .isMap:has(.hiddenGem) ~ img.hasMap {
        box-shadow: 0 0 0.8rem 0.1rem var(--accent-main);
    }

    .hashtag {
        all:unset;
        position: relative;
    }
  
    .hashtag::before {
        /* Highlight color */
        background-color: var(--accent-main);
        opacity: 0.3;
  
        content: "";
        position: absolute;
        width: calc(100% + 4px);
        height: 35%;
        left: -2px;
        bottom: 1px;
        z-index: -1;
        transform: rotate(-2deg);
    }
    /* Note: If line breaks just in front of hashtag, Chrome will render the ::before element at a weird position. To solve, add Word-Joiner (&#8288;) at the beginning of each hashtag <span> to prevent line-breaking. */
    
}

.erasmus_umea {
    --accent-main: #2c2c71;
}

.glava{
    cursor: pointer;
    user-select: none;
    display: block;
    width: 100%
}

.navigation {
    width:90%; 
    float:left; 
    margin-left: 5%;
    padding-top: 2%;
    padding-bottom:5%; 
    text-align: center; 
    z-index: 1
}



map:has(area) {color: red;}
/* Chrome ne podpira nested rulov:     footnote Does not support nested rules that start with a type selector. */
.peru img {border-radius: 0.5rem;}
.peru img.hiddenGem, .peru .isMap.hiddenGem + img {box-shadow: 0 0 0.8rem 0.1rem var(--accent-main);}
.peru .hashtag {all:unset; position: relative;}
.peru .hashtag::before {/* Highlight color */ background-color: var(--accent-main); opacity: 0.3;
content: ""; position: absolute; width: calc(100% + 4px); height: 35%; left: -2px; bottom: 1px; z-index: -1; transform: rotate(-2deg);}

nav > a:not([href="index.html"], [href="about-us.html"], [href="index.html#worldmap"]) {
    display: none;
}

.bold,
.malaysia nav > a[href="malaysia.html"],
.india nav > a[href="india.html"],
.erasmus_umea nav > a[href="erasmus-umea.html"],
.peru nav > a[href="peru.html"],
.thailand nav > a[href="thailand.html"],
.turkey nav > a[href="turkey.html"],
.greece nav > a[href="cyclades.html"],
.aboutus nav > a[href="about-us.html"],
.home nav > a[href="index.html"] {
    font-family: Playfair Display;
    font-weight: 300;
    opacity: 0.7;
    display: unset;
}

body {
    margin:0;
    font-family: Playfair Display; 
}
.t1 {
	font-size: 2.6em;
	color: black;
    margin-bottom: 1.5vmin;
}

.t2 {
	font-size: 40px;
	font-weight: 800;
}

.t4 {
	font-size: 20px;
	height: 30px;
}

.t5 {
	font-size: 1.7em;
	margin-top: -2vmin;
	color: var(--accent-main);
}

.t6 {
	font-size: 1.6em;
	margin-top: 2vmin;
    margin-bottom: -1vmin;
	color: var(--accent-main);
}
.t7 {
	font-size: 1.2em;
	margin-top: 1vmin;
    padding-bottom: 1vmin;
	color: var(--accent-main);
}

.m1 {
	font-family: Montserrat;
	font-size: 1.3em;
    font-weight: 100;
	color: var(--accent-main);
}

a {
	font-family: Montserrat;
	color: var(--accent-main);
	text-decoration: underline;
}

nav {
    word-wrap: break-word;
}

nav a {
    font-family: Playfair Display;
	color: var(--accent-main);
	letter-spacing: 1;
	font-size: 0.9em;
	z-index: 1;
	position: relative;
	text-decoration: none;
}


.font {
	color: white;
	font-family: Playfair Display;
}

/* .bold {
    font-family: Playfair Display;
    font-weight: 300;
	opacity: 0.7;
} */

.fullwidth {
	float: left;
	width: 100%;
}

.size {
	width: 95%;
}

.halfs {
	width: 95%;
	padding-bottom: 2%;
}

.gems {
    margin-right: 1em;
    position: fixed;
    top: 1em;
    right: 0;
    z-index: 10;
}

.gem {
    width: -moz-fit-content; /* Firefox Android requires -moz- prefix */
    width: fit-content;
    right: 0;
    left: auto;
    margin-right: 0;
    margin-left: auto;
    padding: 0.1em 1em 0.1em 1em;
    border-radius: 2rem;
    background-color: rgba(255, 255, 255,1);
    box-shadow: 0 0 15px rgba(235, 235, 235, 1);
    display: none;
    z-index: 10;

}

.gemImg {
    border-radius: 3em;
    max-height: 50vh;
    max-width: 80vw;
}

@keyframes fadeOut {
    0% {opacity: 0;}
    100% {opacity: 1;}
}

.raca {
    position: fixed;
    margin: 0px;
    z-index: 99;
    font-size: 4em;
    cursor: pointer;
    animation-name: fadeOut;
    animation-duration: 1s;
}

.alert {
    margin-top: 0.5em;
}
.message{
    color: var(--accent-main);
}

.himage {
	max-width: 100%;
}

.center {
	margin-left: auto;
	margin-right: auto;
	display: block;
	text-align: center;
}

.left {
	margin-left: 0px;
	margin-right: auto;
	display: block;
	text-align: left;
}

.right, .right .canvasOfMap {
	margin-left: auto;
	margin-right: 0px;
	display: block;
	text-align: right;
}

.normal {
	float: left;
	width: 80%;
	padding-left: 10%;
}

.tab {
	float: left;
	width: 70%;
	padding-left: 15%;
	margin-top: 0vmin;
}

.todo {
    float: left;
	width: 75%;
    padding-bottom: 3vmin;
	padding-left: 12.5%;
}

p, li {
	font-family: Montserrat;
	color: #242424;
	font-size: 1em;
    font-weight: 200;
}

.caption {
	color: gray;
	font-size: 0.9em;
	margin-top: 1vmin;
	margin-left: 1vmin;
}


.link {
	font-family: Montserrat;
	color: var(--accent-main);
	text-decoration: underline;
}

.circle {
	border: 2px solid;
	border-color: var(--accent-main);
	border-radius: 50%;
	height: 1.8em;
	width: 2.4em;
    margin-bottom: 1.5em;
	padding-top: 0.6em;
}

.circle_small {
	border: 2px solid;
	border-color: var(--accent-main);
	border-radius: 50%;
	height: 1.5em;
	width: 1.8em;
	padding-top: 0.3em;
    margin-bottom: 1.5em;
}

.vl {
	padding-left: 20%;
	border-left: 2px solid var(--accent-main);
	height: 3em;
}

.b1 {
    font-family: Playfair Display;
    border: 0px;
    color: white;
    font-size: 1.2em;
    background-color: var(--accent-main);
    width: 80%;
    min-height: 2.4em;
    margin-bottom: 2vmin;
    height: fit-content;
}

.b1:hover {
	opacity: 0.9;
    cursor: pointer;
}

.b2 {
    width:fit-content; 
    padding: 0 0.8em 0 0.8em; 
    margin-bottom: 1em;
    font-size: 1em;  
    margin-left: 0.5em;
    margin-right: 0.5em;
    background-color: black; 
    color: white; 
    cursor:  pointer; 
    border-radius:  5em; 
}

.b2:hover {
    opacity: 0.9;
}

.image {
    width: 90%;
}

.splashimage {
	width: 60%;
}

.sedemdeset {
    width: 70vw;
}
.sedemdeset.zzspecial {
    float: left;
    padding-left: 15vw;
}

.footer {
    padding-top: 1em;
    padding-left: 3em;
    padding-bottom: 1em;
    background-color: var(--accent-main);
    color: white;
    font-size:1em;
    margin-block-end: 0em;
}

b {
    font-weight: 400;
}

.dot {
    height: 0.8em;
    width: 0.8em;
    background-color: #242424;
    border-radius: 50%;
    display: inline-block;
  }


/* wrappers */
.wrappersplash {
    position: relative;
    height: 0;
    padding-top: calc(1280 / 1920 * 60%);
    padding-bottom: 5vmin;
}
.wrappersize {
    position: relative;
    height: 0;
    padding-top: calc(1280 / 1920 * 95%);
}
.wrapperimage {
    position: relative;
    height: 0;
    padding-top: calc(1280 / 1920 * 90%);
}

.wrapper100 {
    position: relative;
    height: 0;
    padding-top: calc(1280 / 1920 * 100%);
}

.wrapperpano1 {
    position: relative;
    height: 0;
    padding-top: calc(623 / 1800 * 100%);
}

.wrapperpano2 {
    position: relative;
    height: 0;
    padding-top: calc(682 / 1800 * 100%);

}.wrapperpano3 {
    position: relative;
    height: 0;
    padding-top: calc(547 / 1022 * 100%);
}

.wrapper45 {
    position: relative;
    height: 0;
    padding-top: calc(541 / 433 * 95%);
}

.wrapper23 {
    position: relative;
    height: 0;
    padding-top: calc(1920 / 1280 * 95%);
}

.wrapperMachuPicchu {
    position: relative;
    height: 0;
    padding-top: calc(1100 / 1920 * 95%);
}
.wrapperHampi {
    position: relative;
    height: 0;
    padding-top: calc(666 / 1003 * 95%);
}

.wrappersize::after, .wrapper100::after, .wrapperimage::after, .wrapperpano1::after, .wrapperpano2::after, .wrapperpano3::after, .wrapper45::after, .wrapper23::after {
    background-color: lightgray;
    content: '';
    display: block;
    position: absolute;
    top: 10%;
    left: 10%;
    bottom: 10%;
    right: 10%;
    z-index: -1;
    width: 80%;
    height: 80%;
}

.wrapper__img {
    position: absolute;
    top: 0;
    left: 0;
}
.right .wrapper__img, .right.wrapper__img, .right .canvasOfMap {
    position: absolute;
    top: 0;
    left: unset;
    right: 0;
}
.center:not(.sedemdeset) .wrapper__img {
    position: absolute;
    top: 0;
    left: 2.5%;
}

.canvasOfMap {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 999;
    pointer-events: none;
}

.wrappersplash__img, .wrappersplash .canvasOfMap {
    position: absolute;
    top: 0;
    left: 20%;
}
/* konec wrappers */

zirafa {
    /* Easter egg. Zal ni delal, zato display:none.
    Ce odstranis, bo na strani Athens nastala zirafa. Lp */
    transform: scaleX(10);
    display: none;
}

.hashtag {
    color: var(--accent-main);
}
.hashtag.hiddenGem {
    cursor: pointer;
}

.nepodcrtan {
    text-decoration: none;
}

.isMap > area {
    cursor: pointer;
}

.spoiler {
    background-color: lightgray;
    color: lightgray;
}
.spoiler:hover {
    background-color: unset;
    color: unset;
}


.flexContainer { /* NUJNO PUSTI NA TEM MESTU! CE PRESTAVIS VISJE, NE BO DELALO!!1! */
    display: flex; 
    align-items: center;
    padding-bottom: 1.5rem;
}

.hidden {
    visibility: hidden;
}

.sCrtkanimOzadjem {
    position: relative; 
    overflow: hidden;

    :first-child {
        background-color: white;
    }

    .povezovalnaCrta {
        width: 0.3rem;
        height: calc(110% + 1.5rem);
        border-left: 0.3rem dashed var(--accent-main);
        position: absolute;
        z-index: -1;
        overflow: hidden;
        left: 12.5%;

        &.prva {
            top: 50%;
        }
        &.zadnja {
            bottom: 50%;
        }
    }
}

@media (max-width: 800px) { /* FONE */
	nav a {
		color: var(--accent-main);
		font-family: Playfair Display;
		letter-spacing: 1;
		font-size: 1.1em;
		z-index: 1;
		position: relative;
		text-decoration: none;
	}
    
    .size {
        width: 100%;
    }
    
    .gems {
        margin-right: auto;
        margin-left: auto;
        left: 0;
        right: 0;
        width: -moz-fit-content; /* Firefox Android requires -moz- prefix */
        width: fit-content;
    }
    
    .gem {
        left: auto;
        right: auto;
        margin-right: auto;
        margin-left: auto;
        font-size: 1em;
    }
    
    .himage {
		max-width: 60%;
	}
    
    .normal {
		width: 95%;
		padding-left: 2.5%;
	}
    
    .tab {
		width: 90%;
		padding-left: 5%;
	}
    .todo {
		width: 92.5%;
		padding-left: 3.75%;
    }
    
    p, li {
		color: black;
		font-size: 1.2rem;
	}
	.caption {
	    font-size: 1em;
	}
    
    
    .image {
		width: 100%;
	}
    
    .splashimage {
		width: 100%;
	}

	.sedemdeset {
        width: 90%;
    }

    .sedemdeset.zzspecial {
        padding-left: 5%;
    }
    
    .footer {
        text-align: center;
        padding-left: 0;
    }
    
    .wrappersplash {
        padding-top: calc(1280 / 1920 * 100%);
    }

    .wrappersize {
        padding-top: calc(1280 / 1920 * 100%);
        padding-bottom: 0.2em;
    }

    .wrapperimage {
        padding-top: calc(1280 / 1920 * 100%);
        padding-bottom: 0.2em;
    }

    .wrapper45 {
        padding-top: calc(541 / 433 * 100%);

    }
    
    .wrapper23 {
        padding-top: calc(1920 / 1280 * 100%);
    }
    
   .wrappersplash__img {
        left: 0;
    }


    .center:not(.sedemdeset) .wrapper__img {
        left: 0;
    }

    .flexContainer {
        display: unset; 
    }

    .povezovalnaCrta {
        visibility: hidden;
    }
}

.zemljevid {
    animation: fadeOut 1s backwards;
}
.zemljevidHolder:hover > .zemljevid {
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 1;
        -webkit-mask-image:unset;
        mask-image: unset;
        -webkit-mask-repeat:unset;
        mask-repeat: unset;
    }
    49% {
        opacity: 0;
        -webkit-mask-image:unset;
        mask-image: unset;
        -webkit-mask-repeat:unset;
        mask-repeat: unset;
    }
    50% {
        opacity: 0;
        -webkit-mask-image:url(images/borders/Map_4_v1-01.svg);
        mask-image:url(images/borders/Map_4_v1-01.svg);
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
    }
    100% {
        opacity: 1;
        -webkit-mask-image:url(images/borders/Map_4_v1-01.svg);
        mask-image:url(images/borders/Map_4_v1-01.svg);
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
    }
}
@keyframes fadeOut {
    100% {
        opacity: 1;
        -webkit-mask-image:unset;
        mask-image:unset;
        -webkit-mask-repeat:unset;
        mask-repeat: unset;
    }
    50% {
        opacity: 0;
        -webkit-mask-image:unset;
        mask-image:unset;   
        -webkit-mask-repeat:unset;
        mask-repeat: unset;
    }
    49% {
        opacity: 0;
        -webkit-mask-image:url(images/borders/Map_4_v1-01.svg);
        mask-image: url(images/borders/Map_4_v1-01.svg);
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
    }
    0% {
        opacity: 1;
        -webkit-mask-image:url(images/borders/Map_4_v1-01.svg);
        mask-image: url(images/borders/Map_4_v1-01.svg);
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
    }
}

.masked{
    max-width:80%;
    -webkit-mask-image: var(--image-url-var);
    mask-image: var(--image-url-var);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center; 
    mask-position: center; 
    height: max(10rem, calc(100vh - 10rem - 5rem));
    filter: opacity(0.8); object-fit: cover;
}

.big-text{
    font-size:min(max(6vh, 15vw), 10em);
    position: absolute; top: 35%; left:50%;
    transform: translate(-50%, -50%); 
    letter-spacing: 0.5rem; 
    filter:opacity(0.75)
}


/* Samo za komp; unspecified za fone */
@media (min-width: 800px) {
	.thirds {
		float: left;
		width: 33.3%;
	}


	.halfs {
		float: left;
		width: 49.5%;
	}
    .tabhalfs {
        width: 30%;
        padding-bottom: 2%;
    }

	.pdl {
		padding-left: 0.5%;
	}
	.pdr {
		padding-right: 0.5%;
	}

	.twothirds {
		float: left;
		width: 66.6%;
	}
}

.monoton {
    color: transparent;
    text-shadow: 0 0 0 var(--accent-main);
}

.ikona {
    margin-bottom: unset;
}
.sredstvo {
    font-size: 1.2em;
    margin-top: 0.5rem;
}

.whiteButton {
    width:10em; 
    background-color: white; 
    color: black; 
    cursor:  pointer; 
    border-radius:  0.5em;
    display:inline;
}

.krogecNaMapi{
    position: absolute; 
    float:left;
    border-radius: 50%;
	height: 1.8em;
	width: 2.4em;
    margin-bottom: 1.5em;
	padding-top: 0.6em;
    background: black;
    color: #000;
    font-size: 1rem;
    color: white;
    font-size: 1.2rem;
    scale: 0.7;
    translate: -50% -50%;
}
.wrapperHampi .krogecNaMapi {
    scale: 0.55;
    font-weight: bold;
}

.krogecPodMapo {
    border-radius: 50%;
    height: 1.8em;
    width: 2.1em;
    padding-top: 0.3em;
    color: white;
    font-size: 0.8em;
    margin-top: -0.1em;
    scale: 0.7;
    position:initial; 
    background-color: var(--accent-main); 
    font-weight: normal;
    float:left;
}


.foodLetterContainer{
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    float: right;
    border: solid 0;
    background-color: rgba(0,0,0,0.05);
    padding: 5px 5px 10px 8px;
    border-radius: 1rem 0 0 1rem;
    right: 0;
    padding-right: 10px;
    padding-left: 10px;
    opacity: 0.5;
    transition: opacity 1s;
    z-index: 10;
}

.foodLetterContainer:hover {
    opacity: 1;
}

.foodLetter {
    margin-bottom:-0.2rem;
    margin-top: -0.2rem;
    font-size: 0.7rem;
    text-decoration: none;
    font-family: Playfair Display;
    color: black;
    opacity:0.8;
    transition: all 0.4s;
}
.foodLetter:hover {
    cursor: pointer;
    color: var(--accent-main);
    opacity: 1;
}

.foodItemContainer{
    padding: 25px 25px 40px 25px;
    box-shadow: 5px 5px 20px rgba(0,0,0,0.2);
    border: 0 solid white;
    border-radius: 1rem;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 10px;
}

.foodItemContainer img{
    vertical-align: middle;
}

.spice{
    position: absolute;
    right: 0rem;
    top: -0.5rem;
}

.grid_gallery{
    margin-top: 10px;
    margin-bottom: 10px;
}