@import url('https://fonts.googleapis.com/css2?family=Patrick+Hand&family=Playpen+Sans:wght@500&family=Roboto:ital,wght@0,500;1,500&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing: border-box;
    font-family: 'Playpen Sans', cursive;
}

html {
    height: 100%;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body{
    min-height: 100%;
    min-width:100%;
    position: relative;
    padding-bottom: 6.74rem;
    box-sizing: border-box;
}

body::-webkit-scrollbar {
    display: none;
}




/*Page Transition*/


/*Preloader for HTML*/


.preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #FFFFFF;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 5%;
    justify-content: center;
    align-items: center;
}

.preloader h3 {
    font-size: 1.5rem;
    color:#b1b3bc;
}
.smiley {
	width: 8em;
	height: 8em;
}
.smiley__eye1,
.smiley__eye2,
.smiley__mouth1,
.smiley__mouth2 {
	animation: eye1 3s ease-in-out infinite;
}
.smiley__eye1,
.smiley__eye2 {
	transform-origin: 64px 64px;
}
.smiley__eye2 {
	animation-name: eye2;
}
.smiley__mouth1 {
	animation-name: mouth1;
}
.smiley__mouth2 {
	animation-name: mouth2;
	visibility: hidden;
}

/* Dark theme */
@media (prefers-color-scheme: dark) {
	:root {
		--bg: hsl(var(--hue),90%,5%);
		--fg: hsl(var(--hue),90%,90%);
	}
}

/* Animations */
@keyframes eye1 {
	from {
		transform: rotate(-260deg) translate(0,-56px);
	}
	50%,
	60% {
		animation-timing-function: cubic-bezier(0.17,0,0.58,1);
		transform: rotate(-40deg) translate(0,-56px) scale(1);
	}
	to {
		transform: rotate(225deg) translate(0,-56px) scale(0.35);
	}
}
@keyframes eye2 {
	from {
		transform: rotate(-260deg) translate(0,-56px);
	}
	50% {
		transform: rotate(40deg) translate(0,-56px) rotate(-40deg) scale(1);
	}
	52.5% {
		transform: rotate(40deg) translate(0,-56px) rotate(-40deg) scale(1,0);
	}
	55%,
	70% {
		animation-timing-function: cubic-bezier(0,0,0.28,1);
		transform: rotate(40deg) translate(0,-56px) rotate(-40deg) scale(1);
	}
	to {
		transform: rotate(150deg) translate(0,-56px) scale(0.4);
	}
}
@keyframes eyeBlink {
	from,
	25%,
	75%,
	to {
		transform: scaleY(1);
	}
	50% {
		transform: scaleY(0);
	}
}
@keyframes mouth1 {
	from {
		animation-timing-function: ease-in;
		stroke-dasharray: 0 351.86;
		stroke-dashoffset: 0;
	}
	25% {
		animation-timing-function: ease-out;
		stroke-dasharray: 175.93 351.86;
		stroke-dashoffset: 0;
	}
	50% {
		animation-timing-function: steps(1,start);
		stroke-dasharray: 175.93 351.86;
		stroke-dashoffset: -175.93;
		visibility: visible;
	}
	75%,
	to {
        
	}
    100%,
	to {
		visibility: hidden;
	}
}
@keyframes mouth2 {
	from {
		animation-timing-function: steps(1,end);
		visibility: hidden;
	}
	50% {
		animation-timing-function: ease-in-out;
		visibility: visible;
		stroke-dashoffset: 0;
	}
	to {
		stroke-dashoffset: -351.86;
	}
}


/*Header & Navbar*/

.header{
    position:absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.3rem 10%;
    background: #C4717F;
    backdrop-filter: blur(50px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.logo{
    font-size: 2rem;
    color: #C4717F;
    text-decoration: none;
    font-weight: 1000;
    letter-spacing: 5px;
    cursor: none;
}

.navBar a {
    font-size: 1.2rem;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    margin-left: 2.5rem;
}

.navBar a:hover{
    background-color: #FFFFFF;
    color: #C4717F;
    border: 5px solid color #C4717F;
    padding:5px;
    border-radius: .6rem;
    transition: all .3s ease-in-out;
}

#check{
    display: none;
}

.icons{
    position: absolute;
    right: 6%;
    font-size: 2.8rem;
    color: #FFFFFF;
    cursor: pointer;
    display: none;
}





/*About Section Main Page*/

.aboutContainer {
    padding-top:100px;
    height: auto;
    min-height:100vh;
    margin-bottom: 20px;
    justify-content: center;
    text-align: center;
}

.aboutImg{
    width: 450px;
    border-radius: 50%;
    padding-bottom: 10px;
    transform: translateY(-20vh);
    animation: fall 1.8s forwards;
}

.saveText{
    font-size:130px;
    padding-bottom:55px;
    margin-left: 20px;
    margin-right: 20px;
    transform: translateY(-20vh);
    animation: fall 1.5s forwards;
}
.aboutText{
    padding-bottom: 10px;
}
.spanDSG{
    color: #C4717F;
}
.aboutParagraph{
    font-size:20px;
    letter-spacing: 10px;
    margin-left: 20px;
    margin-right: 20px;
    transform: translateY(-20vh);
    animation: fall 1.4s forwards;
}

@keyframes fall {
    0% {
        opacity: 0;      
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/*Arrow*/


.arrowSpacer{
    position: relative;
    padding-top: 65px;
    align-items: center;
    justify-content: center;
    display: flex;
    transform: translateY(-20vh);
    animation: fall 1.3s forwards;
}
.passWork{
    font-size: 40px;
    text-align:center;
    padding-bottom:180px;
    z-index: -1;
}

.arrows {
    width: 60px;
    height: 72px;
    position: absolute;
  }
  
  .arrows path {
    stroke: #C4717F;
    fill: transparent;
    stroke-width: 7px;  
    animation: arrow 1s infinite;
    -webkit-animation: arrow 2s infinite; 
  }

  @keyframes arrow
  {
  0% {opacity:0}
  40% {opacity:1}
  80% {opacity:0}
  100% {opacity:0}
  }
  
  @-webkit-keyframes arrow /*Safari and Chrome*/
  {
  0% {opacity:0}
  40% {opacity:1}
  80% {opacity:0}
  100% {opacity:0}
  }
  
  .arrows path.a1 {
    animation-delay:-1s;
    -webkit-animation-delay:-1s; /* Safari 和 Chrome */
  }
  
  .arrows path.a2 {
    animation-delay:-0.5s;
    -webkit-animation-delay:-0.5s; /* Safari 和 Chrome */
  }
  
  .arrows path.a3 { 
    animation-delay:0s;
    -webkit-animation-delay:0s; /* Safari 和 Chrome */
  }





  /*Work Gallery Build*/

  .workGallery{
    height:fit-content;
    margin:0 auto;
    display:grid;
    grid-auto-rows: 450px;
    grid-template-columns:
    repeat(auto-fit,minmax(min(350px, 100%),1fr));
    text-align: center;
    align-items: center;
 }

 .insideGallery{
    justify-content: center;
    display:grid;
    border-radius: 50%;
    align-items: center;

 }
 .imgsaver{
    border-radius: 50%;
    background-color: #7f8cbb;
 }

.worktext{
    font-size:25px;
    letter-spacing: 10px;
    text-align:center;
    margin: 10px;
    padding-bottom:10px
}


 .myWork{
    max-width: 300px;
    min-width: 100px;
    border-radius: 50%;
    background-color: #FDEEEE;
    border: 20px solid #FDEEEE;
 }

.btnWork{
    border-radius: 50%;
    border-color: transparent;
    background-color: transparent;
    transition: all .3s ease-in ;
}


.btnWork:hover .myWork{
    background-color: #C4717F;
    border-color: #C4717F;
    transition: all .3s ease-in ;
}


/*Footer*/

.footer{
    background-color: #C4717F;
    position:absolute;
    width: 100%;
    height: 100px;
    bottom: 0;
    left: 0;
    color: #ffffff;
    font-size: 1rem;
    display:flex;
    flex-direction: column;
    justify-content:center;
    align-items:center;
    text-align: center;
}





/*Contact Format*/

@keyframes fallIn {
    0% {
        opacity: 0;      
    }
    100% {
        transform: translateY(100vh);
        opacity: 1;
    }
}

.contactAnimation{
    transform: translateY(-20vh);
    animation: fall 1.8s forwards;
    margin-left: 15px;
    margin-right: 15px;
    position:relative;
    display: flex;
    justify-content: center;
}


.contactForm{
    width: 100%;
    padding: 40px;
    background: #ffffff;
    max-width: 800px;
    border-radius: 15px;
    border: 5px solid;
    border-color: #C4717F;
    position: relative;
}


.contactForm h2{
    font-size: 30px;
    color:#000000;
    padding-bottom: 10px;
}

.contactForm .inputBox {
    position:relative;
    width: 100%;
    margin-top: 20px;
}

.contactForm .inputBox input, textarea {
    width: 100%;
    padding: 5px 0;
    font-size: 16px;
    margin: 10px 0;
    border: none;
    border-bottom: 3px solid #C4717F;
    outline: none;
    resize: none;
}

.contactForm .inputBox span {
    position: absolute;
    left:0;
    padding:5px 0;
    margin: 10px 0;
    pointer-events: none;
    transition: 0.5s;
    color:#000000;
}

.contactForm .inputBox input:focus ~ span, 
.contactForm .inputBox input:valid~ span,
.contactForm .inputBox textarea:focus ~ span, 
.contactForm .inputBox textarea:valid~ span
{
    color: #C4717F;
    font-size: 12px;
    transform: translateY(-20px);
}


.contactForm .inputBox input[type="submit"]
{
    width: 100%;
    background-color: #C4717F;
    color: #ffffff;
    border:none;
    cursor:pointer;
    padding:15px;
    transition:.3s ease background-color;
    border-radius: 10px;
    border: 3px solid;
    border-color: #C4717F;
}

.contactForm .inputBox input[type="submit"]:hover {
    border: 3px solid;
    border-color: #C4717F;
    background-color: #FFFFFF;
}

.contactForm .inputBox input[value="Enviar"]:hover {
    color: #C4717F;
    font-weight: 500;
}

#status{
    width:90%;
    max-width: 200px;
    text-align: center;
    padding: 15px;
    margin: 0 auto;
    border-radius: 8px;
}

#status.success{
    background-color:#00983a;
    color: #ffffff;
    animation:status 4s ease forwards;
}

#status.error{
    background-color:#990a0a;
    color: #ffffff;
    animation:status 4s ease forwards;
}

@keyframes status{
    0%{
        opacity:1;
        pointer-events:all;
    }
    90%{
        opacity:1;
        
        pointer-events:all;
    }
    100%{
        opacity:0;
        pointer-events:none;
    }
}




/*BREAKPOINTS*/

@media (max-width: 992px) {

    .header{
        padding: 1.3rem 6%;
    }

    .saveText{
        font-size:100px;
        padding-bottom:55px;
    }

}

@media (max-width: 768px) {

    .icons{
        display: inline-flex;
        
    }

    #check:checked~.icons #menu-icon {
        display: none;
    }

    .icons #close-icon {
        display: none;
    }

    #check:checked~.icons #close-icon {
        display: block; 
    }

    .navBar {
        position: absolute;
        top: 100%;
        right: 0;
        height:0;
        width: 40%;
        background: #e192a0;
        backdrop-filter: blur(50px);
        box-shadow: 0 .5rem 1rem #C4717F;
        border-bottom-left-radius: 15%;
        overflow: hidden;
        transition: .5s ease-in;
        max-width: 160px;
        min-width: 120px;
    }

    #check:checked~.navBar {
        height: calc(1rem * var(--m));
    }
    
    .navBar a {
        display: block;
        font-size: 1.1rem;
        margin: 1.5rem 0;
        text-align: right;
        padding-right: 15px;
        opacity: 0;
        transform: translateY(-50px);
        transition: .8s ease;
        
    }

    #check:checked~.navBar a {
        transform: translateY(0px);
        opacity: 1;
        transition-delay: calc(.15s * var(--i));
    }

    .saveText{
        font-size:80px;
        padding-bottom:55px;
    }
}

@media (max-width: 500px) {

    .aboutImg{
        width: 65%;
        min-width: 250px;
    }

    .saveText{
        font-size:50px;
        padding-bottom:55px;
        margin-left: 20px;
        margin-right: 20px;
        transform: translateY(-20vh);
        animation: fall 1.5s forwards;
    }
    .aboutText{
        padding-bottom: 10px;
    }

    .aboutParagraph{
        font-size:15px;
        letter-spacing: 10px;
        margin-left: 20px;
        margin-right: 20px;
        transform: translateY(-20vh);
        animation: fall 1.4s forwards;
    }

    .arrowSpacer{
        padding-top: 35px;
        transform: translateY(-20vh);
        animation: fall 1.3s forwards;
    }
    .passWork{
        font-size: 25px;
        text-align:center;
        padding-bottom:180px;
        z-index: -1;
    }
    

}