@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

html {
	scroll-behavior: smooth;
  box-sizing: border-box;
}

section {
    display: grid;
    place-items: center;
    align-content: center;
    min-height: 25vh;
    margin: 0;
    padding: 20px 0;
}

body{
    height: 100vh;
    /*background-image: url('Background.gif');*/
}

button{
    background: transparent;
    position: relative;
    padding: 5px 15px;
    display: flex;
    align-items: center;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid rgb(11, 178, 200);
    border-radius: 50px;
    transition: all 0.3s ease-out;
    text-align: center;
    color: rgb(11, 178, 200);
}

button span{
margin: 10px;
position: relative;
    z-index: 1;
}

button::before{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    content: "";
    border-radius: 50px;
    display: block;
    width: 5em;
    outline: none;
    overflow: hidden;
    color: blueviolet;
    background: rgb(120, 63, 205);
    transform: scale(0);
    transition: transform 0.3s ease-out;
    z-index: -1;
}

button:hover{
    color: whitesmoke;
    border: 1px solid rgba(255, 255, 255, 0);
    transition: 1s;
}

button:hover::before{
    box-shadow: inset 0 0 0 50em rgb(120, 63, 205);
	transform: scale(1);
}
 
.hidden {
    opacity: 0;
    transition: all 1.5s;
}

.hiddentwo {
    opacity: 0;
    transform: translateY(50px);
}

.show {
    opacity: 1;
}

@keyframes slide-in-from-bottom {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.showtwo {
    opacity: 1;
    transform: translateY(0);
    animation: slide-in-from-bottom 2.5s ease-out forwards;
}

footer{
    text-align: center;
    font-weight: lighter;
}

.autoShow{
    animation: autoShowAnimation both;
    animation-timeline: view(70% 5%);
}

@keyframes autoShowAnimation{
    from{
        opacity: 0;
        transform: translateY(200px) scale(0.3);
    }to{
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.autoBLur{
    animation: autoBLurAnimation linear both;
    animation-timeline: view();
}

@keyframes autoBLurAnimation{
    0%{
        filter: blur(40px);
    }
    45%, 55%{
        filter: blur(0px);
    }
    100%{
        filter: blur(40px);
    }
}