
@font-face {
    font-family: "roca";
    src: url(roca-one-bold/roca-one-bold.ttf);
    font-style: normal;
}

@font-face {
    font-family: 'winkle';
    src: url(winkle/Winkle-Regular.otf);
    font-style: normal;
}

@font-face {
    font-family: 'roca-phone';
    src: url(fonnts.com-Roca-Regular.otf);
    font-style: normal;
}

nav {
    position: sticky;
    top: 0;
    z-index: 1000; /* stays above content!!!!!!!! */
    width: 100%;
    background-color: var(--third-color);
    height: auto;
}

nav ul {
    list-style-type: none;
    display: flex;
    align-items: center;
    gap: 1em;
    font-size: 20px;
    margin: 0;
    padding: 0 35px;
}

nav li:last-child {
    margin-left: auto;
}

nav li :hover {
    transition: 100ms ease;
    scale: 1.05;
}

li img {
    height: 50px;
    width: auto;
}

a {
    text-decoration: none;
}

h2 {
    font-family: 'roca', 'Times New Roman', Times, serif;
    color: var(--primary-color);
    text-shadow: black 1.5px 0px 0px ;
    font-size: 30px;
}

:root {
    --base-color: #ffc2c2;
    --primary-color: #fff27d;
    --secondary-color: #fff5ec;
    --third-color: #ffc2c1;
    --black: #000000;
}

h1{
    font-family: 'roca','Times New Roman', Times, serif;
    font-size: 165px;
    color: var(--primary-color);
    text-shadow: var(--black) 2px 1px 2px;
}

body {
    margin: 0;
    padding: 0;
    background: var(--secondary-color);
    /* width: 100vw; */
    width: 100%;
    overflow-x: hidden;
    position: absolute;
}
img {
    width: 100vw;
    height: auto;
    display: block;
}

.centered-text {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translate(0%, -100%);
    text-align: center;
    line-height: 1;
    animation: rotating 2s ease-in-out infinite;
    
}

@keyframes rotating {
    0% {
        transform: rotate(0deg) translate(0%, -100%);
    }

    50% {
        transform: rotate(-1deg) translate(0%, -100%);
    }

    100% {
        transform: rotate(0deg) translate(0%, -100%);
    }
}


/*h1:hover {
    transition: 100ms ease;
    transform: rotate(-2deg);
}

h1:not(:hover) {
    transition: 100ms ease;
} */

.title-top {
    position: relative;
}

h3 {
    font-family: 'roca','Times New Roman', Times, serif;
    color: black;
    text-shadow: none;
    font-size: 65px;
    letter-spacing: .08em;
}

.instructions {
    position: absolute;
    top: 23%;
    left: -15%;
    width: 100%;
    transform: rotate(-3deg) /*translate(-12%, -310%)*/;
    text-align: center;
    line-height: 1;
    
}

.notes-container {
    align-content: flex-start;
    display: grid;
    width: 100%;
    min-height: 100vh;
    /*height: 20000px;*/
    grid-template-columns: 1fr;
    align-items: start;
    grid-auto-rows: minmax(0px, auto);
    /* gap: 5em; */
    /*grid-template-rows: repeat(auto-fill, minmax(500px, 3fr));*/
    margin: 4em 0;

}


.notes-container img{
    transform: scale(1);
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.note {
    /* display: grid;
    grid-template-rows: 1fr 1fr;
    margin: 0;
    padding: 0;
    aspect-ratio: 16/7;
    min-width: 0;
    min-height: 1vw; */
    background-image: url('assets/paper-700.png');
    background-position: top left;
    background-size: auto;
    background-repeat: no-repeat;
    background-color: transparent;
    display: table;
    width: 700px;
    height: 400px;
    position: relative;
    margin: 0 auto 50px auto;
}

 .note:hover{
    transition: 100ms ease;
    transform: rotate(-2deg);
} 

 .note:not(:hover){
    transition: 100ms ease;
}

input {
    font-family: 'roca','Times New Roman', Times, serif;
    padding:1em;
    border-radius: 2em;
    margin: 1em;
    font-size: 15px;
    background-color:white;
    color: darkgray;
    border-style: solid;
    border-color: dimgray;
}

button {
    font-family: 'roca','Times New Roman', Times, serif;
    padding: .75em 1.5em;
    margin: 1em;
    border-radius: 2em;
    font-size: 18px;
    background-color: var(--secondary-color);
    border-style: solid;
    border-color: dimgray;
}

button:hover {
    transition: 100ms ease;
    scale: 1.05;
}

.note-interior {
    /* position: relative; */
    position: absolute;
    margin: 0;
    width: 600px;
    /* background-color: black; */
    transform: rotate(-3.5deg);
    left: 170px;
    top: 110px;
    max-width: 500px;
}

.note-name {
    /* position: relative; */
    /*top:-50%; */
    width:90%;
    /*right: -50%; */
    /* transform: translate(48%, -380%); */
    font-size: 3rem;
    text-align: left;
    align-self:first baseline;
    /* margin: 4rem; */
    margin: 0 0 1rem 0;
}
.note-name p {
    margin: 0;
}

.note-text {
    /* position: relative; */
    /*top:-50%; */
    width:100%;
    /*right: -50%; */
    /* transform: translate(48%, -282%); */
    font-size: 1.75rem;
    text-align: left;
    line-height: .8;

}

.note-interior p {
    font-family:'winkle','Times New Roman', Times, serif;
    /* transform: rotate(-3.5deg); */
    color: darkslategrey;
    /*display: inline;*/
    margin: 0;
    font-size: 1em;
    line-height: 1.25em;

}

/* */

/* .see-more h3:hover {
    text-decoration: underline;
    text-decoration-color: var(--third-color);
    text-decoration-thickness: 6px;
    transition: 100ms ease;
    scale: 1.065;
}

.see-more h3:not(:hover) {
    transition: 100ms ease;
    scale: 1;
} */

.bottom {
    object-fit: cover;
    position: relative;
    display: block;
    flex-direction: row;
}

.bottom img {
    z-index: 1000;
    margin: 0;
    vertical-align: bottom;
    aspect-ratio: 9/9;

}

h4 {
    font-size: 3rem;
    margin:0;
    padding:0;
    font-family: 'roca','Times New Roman', Times, serif;
    color: var(--secondary-color)
}

.centered-bottom-text {
    position: absolute;
    width: 100%;
    bottom: 40%;
    transform: rotate(-2deg);
    text-align: center;
    line-height: 1;
    color: var(--black);
    text-shadow: 1px 1px 2px var(--black);
}

footer h3{
        font-size: 25px;
    }







/* */
@media screen and (max-width: 770px) {
    .notes-container {
        margin: 2rem 0;
        padding: 0 12px;
        box-sizing: border-box;
    }

    h1 {
        font-size: 50px;
    }

    .note {
        width: min(350px, calc(100vw - 24px));
        height: 200px;
        aspect-ratio: 750 / 415;
        background-image: url('assets/paper-350.png');
        background-size: 100% auto;
        background-position: top left;
        
    }

    h2 {
        font-size:15px;
    }

    nav img {
        width: 10px;
        height: auto;
    }

  
    .note-interior {
        left: 23.333%;
        top: 33.976%;
        width: 66.667%;
        max-width: 66.667%;
        transform: rotate(-3.5deg);
    }

    .note-name {
        font-size: clamp(1rem, 4.2vw, 1.4rem);
        margin: 0 0 0.35rem 0;
    }

    .note-text {
        font-size: clamp(0.69rem, 2.45vw, 0.82rem);
        line-height: 1.2;
    }

    .note-interior p {
        line-height: 1.2;
    }

    .instructions {
        top: 14%;
        left: -16%
    }

    .instructions h3 {
        font-size: 17px;
    }

    .notes-container {
        grid-template-columns: 1fr;
    }

    .centered-bottom-text {
        text-shadow: dimgray;
        bottom: 40%;
        left: -3%;
    }

    h4 {
        font-size: 15px;
    }

    h3 {
        font-size: 20px;
    }

    button {
        font-size: 6px;
    }

    input {
        font-size: 6px;
    }

    li {
        text-shadow: dimgray;
    }

    li img {
        height:auto;
        width: 30px;
    }

    .centered-text {
        text-shadow: dimgray;
    }

    footer h3{
        font-size: 12px;
    }

}




@media screen and (min-width: 1200px) {
    .notes-container {
        grid-template-columns: 1fr 1fr;
    }

    .note {
       /* width: min(350px, calc(100vw - 24px));*/
        width: calc(100vw/2);
        height: calc(100% + 50px);
        aspect-ratio: 750 / 415;
        background-image: url('assets/paper-700.png');
        background-size: 100% auto;
        background-position: top left;
    }

    .note-interior {
        position: relative;
    }
    .note-interior p{
        width: 450px;
    }
}

@media screen and (min-width: 1900px) {
    .note-text p{
        font-size: 40px; /*didn't ***** i changed text and name by -10px */
    }
    .note-name p{
        font-size: 55px;
    }

    .note-interior p{
        width: 700px;
    }

    .centered-bottom-text h4{
        font-size: 70px;
    }

     h1 {
        font-size: 200px;
    }

    .instructions h3{
        font-size: 100px;
    }

    h2 {
        font-size:50px;
    }

    nav img {
        width: 80px;
        height: auto;
    }

    h3 {
        font-size: 70px;
    }
}