@import url("https://fonts.googleapis.com/css2?family=Fondamento:ital@0;1&family=Open+Sans&display=swap");


/* Regular */
@font-face {
  font-family: 'FreeSans';
  src: url('assets/FreeSans/FreeSans.ttf') format('truetype');
  font-weight: normal; /* Adjust weight if it's different */
  letter-spacing: 1rem;;
}

/* Italic */
@font-face {
  font-family: 'FreeSans';
  src: url('assets/FreeSans/FreeSansOblique.ttf') format('truetype');
  font-style: italic;
}

/* Bold */
@font-face {
  font-family: 'FreeSans';
  src: url('assets/FreeSans/FreeSansBold.ttf') format('truetype');
  font-weight: bold;
}

/* Italic Bold */
@font-face {
  font-family: 'FreeSans';
  src: url('assets/FreeSans/FreeSansBoldOblique.ttf') format('truetype');
  font-style: italic;
  font-weight: bold;
}

:root {
    --main: #00ffd8;
    --secondary: #00927c;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

::-moz-selection { /* Code for Firefox */
  color: white;
  background: var(--secondary);
}

::selection {
  color: white;
  background: var(--secondary);
}

body {
    margin: 0;
    width: 100vw;
    height: 100vh;
    background-color: #dbfdff;
    background-image: url(assets/IMG_4367.JPG);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    /* position: fixed; */
    /* font-family: "Fondamento", Times, serif; */
    font-family: 'FreeSans';
}

.time {letter-spacing: 10px;}

h2 {
    margin: 4rem 0 2rem 0;
    text-align: center;
    border: 1px solid black;
    padding: 0.5rem;
    border-radius: 10px;}

.no-translation {font-style: italic;}

#icons {z-index: initial!;
    position: absolute;
    width: 100%;
    height: 100%;}

    sup {
        font-size: unset;
    }

audio {
    width: 100%; /* Set width of the player */
    /* height: 40px; Adjust height if needed */
    border-radius: 10px; /* Rounded corners */
    background-color: #00927c; /* Set a background color (works in some browsers) */
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3); /* Add shadow for depth */
}

.topBarLink{
    border: 1px solid #000;
    height: 110%;
    cursor: pointer;
    font-size: 1rem;
    margin-left: 1rem;
    padding: 0;
    color: black;
    /* background: white; */
    border-radius: 25%;
}

.topBarLink img{
    height: 100%;
    /* background: white; */
}

/* .topBarLink:hover{
    border: 2px solid black;
} */

.ui-icon,
.ui-widget-content .ui-icon {
background-image: none;
background-color: black;
border: 1px white solid;
border-top-left-radius: 100%;
right: 1%;
bottom: 1.5%;
position: absolute;
transition: 0.2s;
width: 20px;
height: 20px;
}

.ui-resizable-se {cursor:nwse-resize}

.ui-icon:hover {
    background-color: var(--secondary);
    width: 25px;
    height: 25px;
box-shadow: rgba(0, 0, 0, 0.3) 5px 5px 5px;
}

.embed {
    margin: 3rem 0;
    transition: 0.5s;
}

.clock {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
background: rgba(0, 30, 21, 0.8);
-webkit-backdrop-filter: blur(10px);
backdrop-filter: blur(10px);
border-bottom: lightgray 1px solid;
text-align: right;
color: white;
font-size: 1.1rem;
padding: 0.3rem 3rem;
flex-direction: row;
justify-content: end;
align-items: center;
height: 35px;
}

#main-content {
    position: fixed;
    top: 35px; /* Adjust this value to match the height of your clock */
    bottom: 0;
    width: 100%;
    height: 95%;
  }

button {
    cursor: pointer;
    margin: 0 2rem;
    font-size: 1.1rem;
    color: black;
    padding: 2px 5px;
    border: 1px solid black;
    background: white;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
}

/* button:hover {
    background: rgba(255, 255, 255, 0.7);
} */

.content {
    display: none;
    /* margin-top: 5vh; */
}

.content.en {
    display: block;
}

.content.pt {
    display: block;
}


input{all: unset;}

.window {
   /* margin: 15vh; */
border-radius: 10px;
border: lightgray solid 1px;
box-shadow: rgba(0, 0, 0, 0.3) 5px 5px 5px;
opacity: 0;
background: white;
width: 0;
height: 60vh;
position: absolute;
z-index: 1;
left: 300px;
top: 200px;
overflow: hidden;
/* transition: 0.5s; */
}

.contact {
    margin: 5rem 0;
    background-color: whitesmoke;
    /* color: black; */
    border: 1px solid black;
    border-radius: 10px;
    color: black;
    padding: 2rem;
}

.contact-buttons {
    display: flex;
    justify-content: space-between;
}

.contact-buttons a{
    width: 100%;
    text-align: center;
    border: 1px solid black;
    border-radius: 10px;
    margin: 1rem 0.3rem;
    font-weight: bold;
}

.contact-buttons a:hover{
    background: var(--main);
    color: black;
}

.m2{top: 200px; left: 200px}
.m3{top: 100px; left: 300px}
.m4{top: 250px; left: 100px}
.m5{top: 150px; left: 500px}
.m6{top: 300px; left: 400px}
.m7{top: 350px; left: 600px}
.mTopText{margin-top: 5vh;}

.window img {
    width: 100%;
    margin: 10px 0;
}

.slideshow-container {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
    padding: 0;
    margin-bottom: 3rem;
}

.slideshow-image {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slideshow-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover; /* Cover ensures the image covers the area while maintaining its aspect ratio */
}

.progress-container {
    width: 100%;
    height: 5px; /* Adjust the height of the progress bar */
    background-color: rgb(195, 218, 211); /* Background color of the progress bar container */
    position: relative;
    z-index: 10;
}

.progress-bar {
    width: 0;
    height: 4px;
    background-color: red; /* Color of the progress bar */
    transition: width 0.1s; /* Smooth animation for progress updates */
}

.folderHeader {
    position: sticky;
    display: flex;
flex-direction: column;
    border-bottom: 1px solid lightgray;
    top: 0;
    height: 29px;
    background: linear-gradient(
          to bottom,
          #000000 0%,
          #000000 20%,
          var(--secondary) 45%,
          #000000 70%
        );
    background-size: 100% 200%;
    /* box-shadow: white 0vw 3vw 3vw; */
    animation: flareAnimation 4s cubic-bezier(0.955, 0.01, 0.515, 0.955) infinite;
    padding: 6px;
    cursor: grab;
    z-index: 2;
    text-align: center;
}

      @keyframes flareAnimation {
        0% {
          background-position: 50% -100%;
        }
        100% {
          background-position: 50% 100%;
        }
      }

.folderTitle {
    font-weight: bold;
    color: white;
    letter-spacing: 0.05rem;
font-size: 0.8rem;
}

.insideFolder {
    padding: 10px;
    padding-right: 20px;
    /* height: calc(100% - 25px); Subtract the height of folderHeader */
    height: calc(100% - 25px); /* Subtract the height of folderHeader */
    overflow-y: scroll;
}

.content-wrapper {
    max-width: 850px;
    margin: auto;   
}

.noMaxW {
    max-width: none;
}

.fileFolder {
    padding-top: 50px;
}

.dot{
position: absolute;
cursor:pointer;
left: 5px;
height: 15px;
width: 15px;
background-color: red;
border-radius: 50%;
border: solid lightgray 1px;
margin-left: 5px;
display: inline;
}

.shortcuts {
z-index: 1;
/* width: 100%; */
/* height: 100%; */
/* position: fixed; */
text-align: left;
/* pointer-events: none; */
/* opacity: 0; */
}

.insideFolder > .shortcuts {
    padding: 1rem;
display: flex;
gap: 3rem;
flex-wrap: wrap;
}

/* .insideFolder > .shortcuts > .item {
    flex: 0 0 100px;
} */

.item {
z-index: 2;
position: relative;
display: block;
background: var(--main);
letter-spacing: 0.03rem;
text-align: center;
/* margin: 3rem; */
transform: translateY(3rem), translateX(3rem);
width: 100px;
height: 100px;
cursor: pointer;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
-webkit-background-position: center;
-moz-background-position: center;
-o-background-position: center;
background-position: center;
/* transition: box-shadow 0.5s; */
}

.item::after { 
  position: absolute;
left: 50%;
transform: translateX(-50%);
  width: 100%;
  top: 105px;
  display: block;
  color: black;
  font-weight: bold;
  border-radius: 5px;
display: flex;
align-items: center;
justify-content: center;
}

.selected {
    box-shadow: 0 0 0.1rem 0.2rem var(--secondary);
    -webkit-box-shadow: 0 0 0.1rem 0.2rem var(--secondary);
    border: 2px solid white;
}

.selected::after {
    background:  var(--secondary);
    color: white;
    padding: 0 6px;
}

.folderItem {
    display: inline-block;
}

.align-center {text-align: center;}

/* General reset for iframe videos */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background-color: #000;
    margin-top: 3rem;
    margin-bottom: 5rem;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Icons */ 

#icon-1.en::after {content: "WRITING";}
#icon-2.en::after {content: "PROJECTS";}
#icon-3::after {content: "MARIANA";}

#icon-D1::after {content: "CORPUS MAFALDAE (1).png";}
#icon-D2::after {content: "home02.JPG";}

#icon-P1::after {content: "home";}
#icon-P2::after {content: "ó mor";}
#icon-P3::after {content: "musgo & urze";}
#icon-P4::after {content: "&";}

#icon-W1.en::after {content: "DRAMA";}
#icon-W2::after {content: "THOUGHTS AND PRAYERS";}

#icon-W1a::after {content: "et cetera, et cetera";}
#icon-W1b::after {content: "📍 pin my places";}
#icon-W1c::after {content: "home";}
#icon-W1d::after {content: "ó môr";}

#icon-W2a::after {content: "tired";}
#icon-W2a.pt::after {content: "cansada";}
/* #icon-W2b::after {content: "confissão";} */
#icon-W2c::after {content: "pedro";}
#icon-W2d::after {content: "from the window";}
#icon-W2d.pt::after {content: "da janela";}
#icon-W2e::after {content: "lashes";}
#icon-W2e.pt::after {content: "pestanas";}
#icon-W2f::after {content: "amanhecer digital";}
#icon-W2g::after {content: "the storm";}
#icon-W2h::after {content: "o filme dos meus sonhos";}
#icon-W2i::after {content: "texto para quando se acorda";}

#icon-1.pt::after {content: "ESCRITA";}
#icon-2.pt::after {content: "PROJETOS";}
#icon-W1.pt::after {content: "TEATRO";}

#icon-1 {
    left: 30vw;
    top: 12vh;
    background: url(./assets/8d29ef685388c9cec12469d086f990dd_w200.webp);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat}

#icon-2 {
    left: 3vw;
    top: 10vh;
    background: url(./assets/3e19ac43241ba4103ca7a4f8b8208229_w200.webp);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat}

#icon-3 {
    left: 12vw;
    top: 3vh;
    background: url(./assets/mariana/sailor-moon-sailor-neptune.gif);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat}

    #icon-D1 {position: absolute; 
        bottom: 10rem; 
        right: 2rem;
        background: url(./assets/CORPUS\ MAFALDAE\ \(1\).png);
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat}
    #icon-D2 {position: absolute; 
        bottom: 20rem; 
        right: 6rem;
        background: url(./assets/home02.JPG);
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat}

#icon-P1 {background: url(./assets/home.png);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat}
#icon-P2 {background: url(./assets/mor.png);
background-size: cover;
    background-position: center center;
    background-repeat: no-repeat}
#icon-P3 {background: url(./assets/musgo.png);
background-size: cover;
    background-position: center center;
    background-repeat: no-repeat}
#icon-P4 {background: url(./assets/thought-balloon.png);
background-size: cover;
    background-position: center center;
    background-repeat: no-repeat}

#icon-W1 {background: url(./assets/tp.webp);
background-size: cover;
    background-position: center center;
    background-repeat: no-repeat}
#icon-W2 {background: url(./assets/giphy.webp);
background-size: cover;
    background-position: center center;
    background-repeat: no-repeat}
#icon-W1a {background: url(./assets/car.png);
background-size: cover;
    background-position: center center;
    background-repeat: no-repeat}
#icon-W1b {background: url(./assets/pin.png);
background-size: cover;
    background-position: center center;
    background-repeat: no-repeat}
#icon-W1c {background: url(./assets/home.png);
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat}
#icon-W1d {background: url(./assets/mor.png);
    background-size: cover;
        background-position: center center;
        background-repeat: no-repeat}

#icon-W2a, #icon-W2b, #icon-W2c, #icon-W2d, #icon-W2e, #icon-W2f, #icon-W2g, #icon-W2h, #icon-W2i {
        background: url(./assets/text.png);
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat}

    .insert {
        font-style: italic;
font-weight: normal;
font-size: 1rem;
text-indent: 4rem;
    }

p {
    color: #1c0013;
    font-size: 1.2rem;
    line-height: 2rem;
    text-align: left;
    padding: 10px 0;
}

blockquote {font-size: 1.2rem;}

.credits {
    font-size: 1rem;
    border: black 1px solid;
    padding: 10px;
    border-radius: 10px;
    margin: 2rem 0;
}

.credits b {
    cursor: pointer;
}

.credits b:hover {
    text-decoration: underline;
}

.tooltip {
    font-size: 0.8rem;
    position: absolute;
    background-color: rgb(240, 255, 254);
    color: #000;
    border: 1px black solid;
    padding: 5px;
    border-radius: 10px;
    display: none;
    z-index: 1000;
box-shadow: rgba(0, 0, 0, 0.3) 5px 5px 5px;
}

.photo-cred {
    position: relative;
top: -4rem;
z-index: 5;
font-size: 0.7rem;
height: -webkit-fit-content;
/* margin: 2rem 0; */
display: flex;
justify-content: center;
}

.photo-cred span {
    border: white 1px solid;
padding: 2px 12px;
border-radius: 12px;
color: white;
background-color: rgba(0,0,0,0.8);
}

.imgFolder {
background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.66);
backdrop-filter: blur(10px);
margin: auto;
}

.imgFolder {
    max-width: 800px;
}

#imgFolder1{
    background-image: url(./assets/CORPUS\ MAFALDAE\ \(1\).png);
}
#imgFolder2{
    background-image: url(./assets/home02.JPG);
}

.imgWindow {
    background-color: rgba(0, 0, 0, 0.66);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
}


@media screen and (max-width: 850px) {

    #icons {position: unset;
        width: 80vw;height: 90vh; overflow: visible; padding-top: 6vh;}
    #icon-3, #icon-2, #icon-1, #icon-D1, #icon-D2 {position: relative;background-size: cover; left: unset; right: unset; top: unset; bottom:unset;}
    .shortcuts {
margin: auto;
        top: 0;
        /* height: 100vh; */
        position: absolute;
        overflow: visible;
        text-align: center;
        pointer-events: unset;
        padding: 1rem 0;
display: flex;
gap: 12vw;
flex-wrap: wrap;
position: relative;
justify-content: space-between;
    }


.insideFolder > .shortcuts {
    padding: 1rem 2rem;
    gap: 4rem;
}
    .ui-resizable-handle {
        display: none;
    }

    .item {
        display: block;
        position: relative;
        border-radius: 16px;
        /* width: 80px; */
        width: 110px;
        /* height: 80px; */
        height: 110px;
    }

    .item::after {
        font-weight: 100;
        font-size: 0.9rem;
        line-height: 0.9rem;
        top: 115px;
        /* top: 85px; */
    }

    /* .ui-icon {
        visibility: hidden
    } */

    .window {
        min-width: 100%;
left: 0px;
top: 0px;
height: -webkit-fill-available;
    }

#icon-D1{visibility: hidden;}
#icon-D2{visibility: hidden;}

.clock{
    padding: 1rem;
justify-content: space-between;
height: 2.5rem;
}

.topBarLink {display: none;}

button {
    margin: 0;
}

.window {
    border-radius: 0px;
 }

 .folderHeader {
    box-shadow: white 0vw 0vw 3vw 3vw;
    background: white;
    animation: none;
    border-bottom: none;
}

.insideFolder {
    padding-bottom: 20vh;
}

.folderTitle {
     color: black;
 }

.tooltip {display: none; visibility: hidden;}

.ui-icon, .ui-resizable-se, .ui-widget-content, .ui-icon, .ui-icon-gripsmall-diagonal-se {
    visibility: hidden;
    pointer-events: none;
}

.dot {
    bottom: 2vh;
    background: var(--secondary);
    position: fixed;
    height: 70px;
    left: 5px;
    width: 70px;
    border-radius: 50%;
    border: solid lightgray 1px;
    margin-left: 5px;
    display: inline;
    /* box-shadow: white 0vw 0vw 3.5vw 3.5vw; */
}

.home-button{
    z-index: 1000;
    cursor: pointer;
    bottom: 2vh;
    background-image: url(/css/assets/home-icon.png);
    /* background-image: url(/assets/home-icon.png); */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: var(--secondary);
    position: fixed;
    height: 70px;
    right: 15px;
    width: 70px;
    border-radius: 50%;
    border: solid lightgray 1px;
    /* box-shadow: white 0vw 0vw 3.5vw 3.5vw; */
    margin-left: 5px;
    display: inline;
    }

.dot::after {
    content: "◂";
    position: fixed;
    left: 27px;
    bottom: 2.4vh;
    font-size: 3rem;
    color: white;
}

}