html,body{
	height: 100%;
	width: 100%;
	box-sizing: content-box;
	margin: 0px;
	display: inline-block;
    font-family: "Poetsen One", sans-serif;
}

@font-face {
    font-family: platform_eight;
    src: url(../fonts/platform_eight.ttf)
  }

.pages{
	background-image: url(../imgs/Background/Fundo_infinito_1280x960.webp);
	background-size: contain;
	width: 100%;
	height: 100%;
	display: flex;
	/*position: relative;*/
	overflow: hidden;
}

.Title{
    font-size: 150%;

    @media screen and (min-width: 768px) {
           font-size: 200%;
    }

    @media screen and (min-width: 1280px) {
           font-size: 250%;
    }
}

.P1{
    font-size: 100%;

    @media screen and (min-width: 768px) {
           font-size: 200%;
    }

    @media screen and (min-width: 1280px) {
           font-size: 200%;
    }
}

.P2{
    font-size: 80%;

    @media screen and (min-width: 768px) {
           font-size: 160%;
    }

    @media screen and (min-width: 1280px) {
           font-size: 160%;
    }
}

.P3{
    font-size: 80%;

    @media screen and (min-width: 768px) {
           font-size: 100%;
    }

    @media screen and (min-width: 1280px) {
           font-size: 100%;
    }

    @media screen and (min-width: 1366px) {
           font-size: 120%;
    }
}

#firstPage {
    background-image: url(../imgs/Cloud/thumb.webp);
    background-size: cover;
    background-position: top;
    top: 0px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    width: 100vw;
    height: auto;
    position: relative;
    flex-wrap: nowrap;
    padding-bottom: 33vh;

    @media screen and (min-width: 1280px) {
        height: 58vw;
        flex-direction: row;
    }
}

#HeaderFirstPage {
    top: 0px;
    width: 100%;
    position: absolute;
    min-width: 1000px;
}

#ContainerGreg {
    width: 90%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: flex-end;
    box-sizing: border-box;
    margin-top: 32vw;

    @media screen and (min-width: 768px) {
            margin-top: 15vw;
    }

    @media screen and (min-width: 1280px) {
        width: 70%;
        margin-top: 0vw;
    }
}

#MiniGreg{
    width: 60%;
    z-index: 1;
    border: 8px solid #25231C;
    border-radius: 20px;

    @media screen and (min-width: 768px) {
           width: 40%;
    }
}

#SleepNakfirstPage{
    width: 100px;
    position: absolute;
        left: 5vw;
    top: 44vh;

    z-index: 5;

    @media screen and (min-width: 300px) {
           left: 5vw;
    top: 49vh;
    }

    @media screen and (min-width: 370px) {
           left: 5vw;
    top: 59vh;
    }

    @media screen and (min-width: 380px) {
           left: 5vw;
    top: 49vh;
    }

    @media screen and (min-width: 700px) {
           left: 25vw;
    top: 49vh;
    }

    @media screen and (min-width: 1280px) {
           left: 25vw;
    top: 69vh;
    }

    @media screen and (min-width: 1440px) {
           left: 25vw;
    top: 66vh;
    }

    @media screen and (min-width: 1920px) {
           left: 28vw;
    top: 74vh;
    }
}

#ContainerAboutMe {
    width: 90%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.AboutMeTexts{
    margin-bottom: 0px;
    color: #FFE354;
}

#Name{
}

#AboutMeList{
    list-style-type: none;
    width: 80%;
    font-weight: 100;
    color: #FFE354;
    margin-left: -15px;
    @media screen and (min-width: 768px) {
           width: 100%;
    }
}

#secondPage {
    background-color: white;
    background-image: none;
    height: auto;
    width: 100vw;
    overflow: visible;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    margin-top: -50px;
}

iframe{
    @media screen and (min-width: 300px) {
        max-height: 200px;
    }

     @media screen and (min-width: 768px) {
        max-height: 400px;
    }

    @media screen and (min-width: 820px) {
        max-height: 350px;
    }

    @media screen and (min-width: 1280px) {
        max-height: 400px;
        max-width: 700px;
    }

    @media screen and (min-width: 1920px) {
        max-height: 400px;
        max-width: 700px;
    }

    @media screen and (min-width: 2560px) {
        max-height: 1000px;
        max-width: 1200px;
    }
}

.StoryVids{
    width: 80%;
    border: 8px solid #25231C;
    border-radius: 20px;
    margin: 30px 0px 10px 0px;

    @media screen and (min-width: 300px) {
        max-height: 200px;
    }

     @media screen and (min-width: 768px) {
        max-height: 400px;
    }

    @media screen and (min-width: 820px) {
        max-height: 350px;
    }

    @media screen and (min-width: 1280px) {
        max-height: 400px;
        max-width: 700px;
    }

    @media screen and (min-width: 1920px) {
        max-height: 400px;
        max-width: 700px;
    }

    @media screen and (min-width: 2560px) {
        max-height: 1000px;
        max-width: 1200px;
    }
 }   

.StorysTexts{
    color: #25231C;
    width: 85%;
    text-align: justify;
    margin: 30px 0px 10px 0px;
}

.StoryImgs{
    width: 80%;
    border: 8px solid #25231C;
    border-radius: 20px;
    margin: 30px 0px 10px 0px;

     @media screen and (min-width: 1920px) {
        max-height: 700px;
        max-width: 1000px;
    }

    @media screen and (min-width: 2560px) {
        max-height: 1000px;
        max-width: 1200px;
    }
}

#FooterFourthPage {
    top: 50px;
    width: 100%;
    position: relative;
    min-width: 1000px;
}

#sixPage{
    background-size: cover;
    top: 0px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    width: 100vw;
    height: 250vw;
    position: relative;

    @media screen and (min-width: 576px) {
        height: 187vw;
    }

    @media screen and (min-width: 768px) {
        height: 130vw;
    }

    @media screen and (min-width: 1024px) {
        height: 101vw;
    }

        @media screen and (min-width: 1200px) {
        height: 85vw;
    }

    @media screen and (min-width: 1920px) {
        height: 70vw;
    }
}

#HeaderSixPage{
    width: 100%;
    position: relative;
    min-width: 1000px;
}

.ContactMeContainer
{
    width: 90vw;
    height: 160vw;
    background-color: #FEFFFD;
    border-radius: 20px;
    margin-top: 10vh;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;

    @media screen and (min-width: 768px) {
        height: 80vw;
    }

    @media screen and (min-width: 1200px) {
        height: 50vw;
        max-width: 50%;
    }

    @media screen and (min-width: 1920px) {
        height: 30vw;
    }
}

#ContactMeTitle{
    color: #25231C;
}

#contactForm{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    width: 90%;
}

input[type="text"],
input[type="email"],
textarea {
    width: 90%;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 20px;
  background-color: #25231C;
  border: none;
    color: #FFE354;
    font-family: "Poetsen One", sans-serif;
    font-size: 20px;
    padding: 13px;
  }
  
  input[type="text"],
input[type="email"],
  textarea::placeholder {
    color: #FFE354;
    font-weight: 200;
    font-family: "Poetsen One", sans-serif;
  }

  input::placeholder {
    color: #FFE354;
    font-weight: 200;
    font-family: "Poetsen One", sans-serif;
  }

.SubmitButtom {
    width: 125px;
    height: 50px;
    padding: 10px;
    background-color: #25231C;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: "Poetsen One", sans-serif;
    margin: 6vh 0 0 0;
}

.SubmitButtom:hover {
  background-color: #D9D9D9;
}

#FooterSixthPage {
    width: 100%;
    position: absolute;
    bottom: 0;
    min-width: 1000px;
}

.ResultContact{
    height: 100vw;
    width: 80vw;
    
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.ResultContact p{
    color: white;
    max-width: 400px;
    text-align: center;

    @media screen and (min-width: 768px) {
        max-width: 700px;
    }

    @media screen and (min-width: 1024px) {
    }
}

#IconNakHappyContact{
    position: absolute;
    right: 65vw;
    bottom: 55vh;
}

#HappyNakCloudContact {
    width: 200px;
    height: 220px;
    right: -42vw;
    top: -2vh;
    position: absolute;
}

#HappyNakContact {
    width: 180px;
    height: 180px;
    position:absolute  ;
    right: -40vw;
    top: -9vh;
    transform-origin: bottom;
}

#IconNakHappyBadContact{
    position: absolute;
    right: 65vw;
    bottom: 55vh;
}

#SadNakCloudBadContact {
    width: 200px;
    height: 220px;
    right: -42vw;
    top: -2vh;
    position: absolute;
}

#SadNakBadContact {
    width: 180px;
    height: 180px;
    position:absolute  ;
    right: -40vw;
    top: -9vh;
    transform-origin: bottom;
}

#sevenPage{
    height: 60vh;
    position: relative;
    background-color: white;
    background-image: none;
    color: #25231C;
    display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: center;
        align-items: center;
        margin-top: 0px;
        padding-bottom: 20px;

        @media screen and (min-width: 300px) {
        height: 45vh;
    }

        @media screen and (min-width: 350px) {
            height: 55vh;
    }

        @media screen and (min-width: 390px) {
            height: 50vh;
    }

    @media screen and (min-width: 400px) {
            height: 50vh;
    }

        @media screen and (min-width: 768px) {
            height: 45vh;
        flex-direction: row;
    }

    @media screen and (min-width: 820px) {
            height: 30vh;
    }

    @media screen and (min-width: 1280px) {
            height: 40vh;
    }
}

#FooterIcon{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 60px;
    margin-bottom: 0px;

    @media screen and (min-width: 1280px) {
        width: 80%;
    }
}

#LeftFooterDiv{
    width: 90%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: flex-start;
    
    @media screen and (min-width: 768px) {
        width: 50%;
    }

        @media screen and (min-width: 1280px) {
        width: 60%;
        margin-left: 10%;
    }
}

#LeftFooterDiv p{
    max-width: 80%;
}

#RightFooterDiv{
    width: 90%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: flex-start;
    @media screen and (min-width: 768px) {
        width: 45%;
    }
}

#RightFooterDiv p{
}

.FooterItems{
    display: flex;
    flex-direction: row;
    align-items: center;

    @media screen and (min-width: 768px) {
        margin: 0 0 0 1vw;
    }
}

.FooterIcons{
    width: 35px;
    margin-right: 20px;
}

#NakLogoFooter{
    width: 50px;

    @media screen and (min-width: 1920px) {
        width: 100px;
    }
}

#AkapayaLogoFooter{
    width: 200px;
    margin-left: -25px;

    @media screen and (min-width: 1920px) {
        width: 350px;
    }
}

/*404 page*/

#SadNak404Cloud{
    width: 300px;
    position: absolute;
    z-index: 1;
    top: 10px;
}

#SadNak404 {
    width: 250px;
    position: absolute;
    z-index: 2;
    top: -60px;
    transform-origin: bottom;
}

#AkapayaLogo404{
    width: 150%;
    position: absolute;
    top: 105%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}
#ReturnButton{
    width: 20%;
    height: 45%;
    cursor: pointer;
    position: absolute;
    top: 270px;
    z-index: 4;
}

/*Miscs*/

.TextWithArrowExpand {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
}

.ArrowToRight {
    background-color: transparent;
    border: solid #FFE354;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.ArrowToRightNoExpanded{
    background-color: transparent;
    border: solid white;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.ArrowToDown {
    background-color: transparent;
    border: solid #FFE354;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

.collapsed {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.expanded {
    white-space: normal;
}


@keyframes pulse-border {
    0% { border: 5px solid #FFE354; }
    50% { border: 5px solid #25231C; }
    100% { border: 5px solid #FFE354; }
}

@keyframes pulse-size {
    0% { width: 100px; height: 100px; }
    50% { width: 120px; height: 120px; }
    100% { width: 100px; height: 100px; }
}

.animated-border {
    animation: pulse-border 2s infinite;
    border-radius: 20px;
}
#hamburger {
  position: fixed;
  top: 20px;
  right: 20px;
  font-size: 30px;
  cursor: pointer;
  z-index: 1001;
  padding: 10px 15px;
  border: 2px solid #333;
  border-radius: 8px;
  color: #FFE354;
  background-color: #25231C;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

#hamburger:hover {
  background-color: #f0f0f0;
  border-color: #666;
}

#sidebar {
  position: fixed;
  top: 0;
  right: -35%;
  width: 25%;
  height: 100%;
  background: #333;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 60px 20px;
  transition: right 0.3s ease;
  z-index: 1000;
  padding-top: 30%;

  @media screen and (min-width: 1280px) {
        padding-top: 0%;
        width: 15%;
        right: -20%;
    }

    @media screen and (min-width: 1920px) {
    }
}

#sidebar a {
  color: white;
  text-decoration: none;
  margin: 10px 0;
  font-size: 18px;
}

#sidebar hr {
  width: 100%;
  border: none;
  border-top: 1px solid #555;
  margin: 20px 0;
}

#sidebar.open {
  right: 0;
}

.content {
  padding: 60px 20px;
}

section {
}