@import "portfolio.css";
@import "hamburguer.css";
@import "smiley.css";
@import "contact.css";
@import "rrss.css";
@import "stars.css";
@import "about.css";
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap');


*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body{
    font-family: Montserrat, sans-serif;
    color: #1B2522;

    --color-blue1: hsl(200, 100%, 50%);
    --color-blue2: #45f3ff;
    --color-blue2hsl: hsl(183, 100%, 63%);
    --color-yellow: #ffd445;
    --color-grey: rgb(165, 165, 165);

    --title-duration: 500ms;
    --sub-title-duration: 500ms;
    --nav-duration: 200ms;
    --btn-grow-duration: 200ms;
    --scroll-down-duration: 200ms;

    --sub-title-delay: calc(var(--title-duration) - 200ms);
    --nav-delay: calc(var(--sub-title-delay) + var(--sub-title-duration));
    --btn-grow-delay: var(--nav-delay);
    --scroll-down-delay: var(--nav-delay);
}

.full-screen-header{
    height: 100vh;
    background-image:  url(../img/header_image2.jpg);
    /* https://unsplash.com/photos/k-rKfqSm4L4 */
    background-size: cover;
    background-position-x: 40%;
    background-position-y: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    position:relative;
    overflow: hidden;
    z-index: 10;
}

.nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1B2522;
    padding: .5rem 1rem;
}

/*  */
.nav-top{
    position: fixed;
    top: 0;
    left: 0; /*With these two we make sure it takes 100% of the size  */
    right: 0;
    z-index:1;
    animation: nav-enter var(--nav-duration) var(--nav-delay) backwards;
}

.nav-colored {
    background-color: #0c0c0c;
}

.nav-transparent {
    background-color: transparent;
}


.logo{
    width: 100px;
}

.nav-list{
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;   
}

.nav-list a{
    text-decoration: none;
    margin-left: 1rem;
    color: white;
}

.nav-list a:hover{
    color: var(--color-yellow);
    transition: color 100ms;
}

.title{
    font-size: 3rem;
    margin: 0;
    animation: title-enter var(--title-duration);
}
.sub-title{
    font-size: 1.5rem;
    margin-top: .3rem;
    margin-bottom: 1rem;
    color: white;
    animation: sub-title-enter var(--sub-title-duration) var(--sub-title-delay) backwards;
}

.credit {
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: .8rem;
}

.btn{
    background-color:var(--color-blue2);
    color: black;
    border-radius: 10000px;
    padding: .45em 1.2em;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: inherit;
    transition: 100ms;
}

.btn:hover,
.btn:focus{
    background-color: var(--color-yellow);
    color: black;
}

.scroll-down-icon{
    position: absolute;
    bottom: 1rem;
    width: 30px;
    animation: scroll-down-bounce calc(var(--scroll-down-duration) + var(--scroll-down-delay)) 1s alternate infinite linear,
    scroll-down-enter var(--scroll-down-duration) var(--scroll-down-delay) backwards;
}

.credit {
    visibility: hidden;
}

.section{
    padding: 2rem;
    min-height: 100vh;
}

.section2{
    min-height: 100vh;
}

.section-title{
    padding-top: 1.5em;
    margin: 0;
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
    color: black;
}

.curriculum-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(auto, 450px));
    justify-content: center;
    row-gap: 17px;
    column-gap: 50px;
    padding-top: 50px;
}

.curriculum-grid-item{
    display: flex;
    align-items: center;
}

.curriculum-grid-item img{
    width: 70px;
    height: 70px;
    margin-right: 1rem;
}

.curriculum-grid-item img:hover{
    animation: shake 100ms;
}

.section-accent{
    background-color: var(--color-blue1);

}

.btn-grow {
    animation: btn-grow-enter var(--btn-grow-duration) var(--btn-grow-delay) backwards;
}

.btn-grow:hover {
    transform: scale(1.3);
    box-shadow: 0 2px 5ps 1px black;
}

footer .logo {
    width: 50px;
    height: 50px;
}

.social-icon {
    width: 20px;
    height: 20px;
}



/* KEYFRAMES */

@keyframes shake {
    25% {
        transform: rotate(5deg);
    }
    75% {
        transform: rotate(-5deg);
    }
}

@keyframes scroll-down-bounce {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-10px);
    }
}


@keyframes title-enter {
    from {
        transform: translateX(-100vw);
    }
}

@keyframes sub-title-enter {
    from {
        transform: translateX(100vw);
    }
}

@keyframes nav-enter{
    from {
        transform: translateY(-100%);
    }
}

@keyframes btn-grow-enter {
    from {
        transform: scale(0);
    }
}

@keyframes scroll-down-enter {
    from {
        transform: scale(0);
    }
    45% {
        transform: rotate(180deg);
    }
}





::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(rgb(78, 78, 78), rgb(99, 98, 98));
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #45f3ff 0%,#438cf2 100%); 
    border-radius: 3px;
    /* border: 0.5px solid rgb(49, 61, 65); */
    /* animation: animate 10s linear infinite; */
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #836502 0%,#ffd445  100%);
    /* animation: animate 10s linear infinite; */

}

/* 
@keyframes animate {
    0%,100%{
        filter: hue-rotate(0deg);
    }
    50%{
        filter: hue-rotate(360deg);
    }
} */



@media (max-width: 700px) {
    .full-screen-header {
        background-position-x: 50%;
    }

    .curriculum-grid {
        grid-template-columns: 1fr 1fr 1fr;
        row-gap: 30px;
    }

    .curriculum-grid-item{
        display: flex;
        align-items: center;
        align-content: center;
        width: 100%;
    }
    
    .curriculum-grid-item img{
        width: 50px;
        height: 50px;
        margin-right: 0rem;
    }

    .curriculum-grid p {
        display: none;
        overflow: hidden;
    }

    .pricing-cards-container {
        flex-wrap: wrap;
    }
  

}

@media (max-width: 400px){
    /* .nav a{
        font-size: .7rem;
        margin-left: 0.4rem;
    } */

    .curriculum-grid {
        grid-template-columns: 1fr 1fr;
        row-gap: 30px;
    }

    .section, .section2 {
        padding-top: 2em;
    }


    .colortitle {
        color: #45f3ff;
        font-size: 1.4em;
    }

 

    
}