/* CSS Projeto II + Laboratório II — Joana Pereira e Matilde Dias — Final Project */


body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0%;
    max-width: 100%;
    cursor: url(cursor.png), auto;
    cursor: 4px;
}


/* ------------- HEARDER ------------*/

header {
    justify-content: space-between;
	display:flex;
    text-decoration: none;
    width: 100%;
    height: 64px;
    background-color: white;
    position: fixed;
	z-index: 1000;
    padding-bottom: 2%;
}

 a{
    font-size: 30px;
    font-weight: 300;
    position: relative; 
    color: black;
    margin-right: 2vh;
    text-decoration: none;
    margin-top: 5.5vh;
    margin-left: 2vh;
}


.underline-on-hover:hover {
    text-decoration: underline;
}

/* titulo  */

#title{
    position: relative;
    font-size: 6vh;
    text-align: left;
    left: 10px;
    width: 80%;
    top: 20vh;
}

.ref{
    width: 18%;
    text-align: left;
    position: relative;
    left: 80%;
    top: 6vh;
    font-size: small;
}

.ref0{
    width: 18%;
    text-align: left;
    position: relative;
    left: 80%;
    top: 6vh;
    font-size: 2.5vh;
}

#wall-of-text { 
    font-size: 2vw; 
    font-weight: 200;  
    z-index: 1;
    color: white;
    text-align: center;
    width: 50%;
    margin: 13% auto;
  }
  
#reveal-container {
    position: relative;
    top: 0;
    left: 0;
    height: 300px;
} 

#reveal {
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: black;
    border-radius: 50%;
    z-index: -1;
}

.p1 {
    width: 80%;
    font-size: 3.2vw;
    position: relative;
    top: -3vh;
    left: 13%;
}

.scroller {
    height: 50vh;
}
 
.p2 {
    width: 50%;
    position: relative;
    top: 10vh;
    left: 50%;
    font-size: 1vw;
    transition-property: "font-size";
    transition-duration: 1s;
}


.p2.scroll-end {
    font-size: 3vw;
}

.p3 {
    display: block;  
    margin-left: 10%;
    font-size: 3.2vw;
    width: 120vh;
    position: relative;
    text-align: left;
    top: 20vh;
    left: 4%;
    margin-bottom: 30vh;
}

/* efeito appear — SECÇÃO 1 */

.appear1 {
    width: 35%;
    font-size: 3vw;
    padding-top: 5vh;
    margin-left: 100vh;
    display: flex;
    justify-content: left;
    align-items: left;
    text-align: left;
    opacity: 0;
    transform: translateY(20px);
    transition: 1s all ease-in-out;
}

.appear2 {
    width: 35%;
    font-size: 3vw;
    padding-top: 5vh;
    margin-left: 100vh;
    display: flex;
    justify-content: left;
    align-items: left;
    text-align: left;
    opacity: 0;
    transform: translateY(20px);
    transition: 1s all ease-in-out;
}

.appear{
    opacity: 1;
    transform: translateY(0px);
}

/* */

.p7 {
    color: black;
    width: 40%;
    font-size: 2vw;
    position: relative;
    top: 15vh;
    left: 6%;
}

/* efeito appear — SECÇÃO 2 */

.appear3 {
    width: 50%;
    font-size: 2vw;
    position: relative;
    top: 20Vh;
    left: 6%; 
    display: flex;
    justify-content: left;
    align-items: left;
    text-align: left;
    opacity: 0;
    transform: translateY(20px);
    transition: 1s all ease-in-out;
}

.appear4 {
    opacity: 0;
    transform: translateY(20px);
    transition: 1s all ease-in-out;
}

.appear4 #a1 {
    width: 40%;
    position: relative;
    padding-left: 100vh;
    top: -15vh;
}

.appear{
    opacity: 1;
    transform: translateY(0px);
}

/* */

.appear5 {
    width: 50%;
    font-size: 2vw;
    position: relative;
    top: 3Vh;
    left: 6%; 
    display: flex;
    justify-content: left;
    align-items: left;
    text-align: left;
    opacity: 0;
    transform: translateY(20px);
    transition: 1s all ease-in-out;
}

.appear6 {
    opacity: 0;
    transform: translateY(20px);
    transition: 1s all ease-in-out;
}
  
  
.appear{
    opacity: 1;
    transform: translateY(0px);
}

#a2 {
    width: 40%;
    position: relative;
    padding-left: 100vh;
    top: -18vh;
}

span {
    line-height: 40px;
    text-decoration: underline;
}

.p8 {
    width: 80%;
    font-size: 2vw;
    position: relative;
    left: 6%; 
}

.black2 {
    background-color: black;
    margin: 0%;
    width: 100%;
    height: 130vh;
    position: relative;
}

.appear7 {
    justify-content: left;
    align-items: left;
    text-align: left;
    opacity: 0;
    transform: translateY(20px);
    transition: 1s all ease-in-out;
}

.appear8 {
    justify-content: left;
    align-items: left;
    text-align: left;
    opacity: 0;
    transform: translateY(40px);
    transition: 1s all ease-in-out;
}
  
  
.appear{
    opacity: 1;
    transform: translateY(0px);
}

.p9 {
    width: 80%;
    font-size: 3.2vw;
    position: relative;
    top: 15vh;
    left: 10%;   
}

.p10 {
    width: 80%;
    font-size: 3.2vw;
    position: relative;
    top: 40vh;
    left: 10%;   
}

.p11 {
    width: 40%;
    font-size: 2.7vw;
    text-align: left;
    position: relative;
    top: 65vh;
    width: 50%;
    margin: 10% auto;
}

/* For Graphic */

#graph {
    width: 105%;
    margin-left: 1%;
}

#graph-scale {
    position: sticky;
    width: 105%;
    margin-left: 1%;
    top: 0;
    left: 0;
}

#canvas {
    width: 100%;
    height: 100vh;
  }
  
  #background ellipse {
    fill: #ffe5ce;
    fill-opacity: 1;
    stroke-width: 0.264999;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  
  #background rect {
    fill: #e1ffce;
    fill-opacity: 1;
    stroke-width: 0.312655;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  
  #moving-text text {
    font-size:5.64444px;
    line-height:1.25;
    font-family:sans-serif;
    letter-spacing:0px;
    word-spacing:0px;
    writing-mode:lr-tb;
    stroke-width:0.264583;
  }



.safari2 {
    font-size: 15px;
    color: black;
    margin-left: 12vh;
    padding-top: 1vh;
    margin-bottom: 4vh;
    text-align: left;
    position: relative;
    top: 50vh;
    width: 50%;
    margin: 10% auto;
    

}