@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;700&display=swap');

/* CONTAINER ELEMENTS */

body {
    background-color: #ffffff;
    color: #1874be;
    font-family: 'Poppins', sans-serif;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}

div {
    display: grid;
    place-items: center;
    align-content: center;
    text-align: center;
}

section {
    display: grid;
    place-items: center;
    align-content: center;
    min-height: 20vh;
    text-align: center;
    margin-bottom: 1em;
    margin-left: 1em;
    margin-right: 1em;
}

/* IMAGE */

img {
    width: 100%;
    max-width: 800px;
}


/* FONTS */

h2 {
    font-size: large;
    margin-bottom: 0;
}

h3 {
    font-weight: normal;
    font-size: medium;
    margin-inline-start: 2em;
    margin-inline-end: 3em;
}

a {
    color: #ffffff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}


p {
    margin-top: 0.2em;
    max-width: 800px;
}


/* BUTTONS */

button::-moz-focus-inner {
    padding: 0;
    border: 0
}

.btn-img {
    position: absolute;
    right: 1em;
    background-color: transparent;
    background-repeat: no-repeat;
    padding: 0;
    border: none;
    width: 3%;
    cursor: pointer;
    overflow: hidden;
    transition: 0.3s;
}

@media screen and (max-width: 900px){
    .btn-img {
        width: 4%;
    }
}
@media screen and (max-width: 600px){
    .btn-img {
        width: 5%;
    }
}
@media screen and (max-width: 450px){
    .btn-img {
        width: 6%;
    }
}

.btn-img:hover {
    transform: translateY(-0.4em);
}


/* CONTAINER BEHAVIOR */

.sticky {
    position: sticky;
    top: 0;
    background-color: #1874be;
    color: #ffffff;
    z-index: 100;
}

.hidden {
    opacity: 0;
    filter: blur(5px);
    transform: translateX(-100%);
    transition: all 1.5s;

}

.hidden.left{
    transform: translateX(100%);
}


@media(prefers-reduced-motion){
    .hidden{
        transition: none;
    }

    .hidden.left{
        transition: none;
    }
}

.show{
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
}

.show.left{
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
}




