:root {
  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: hsl(38, 92%, 58%);
  --first-color-light: hsl(38, 100%, 78%);
  --first-color-alt: hsl(32, 75%, 50%);
  --second-color: hsl(195, 75%, 52%);
  --dark-color: hsl(212, 40%, 12%);
  --white-color: hsl(212, 4%, 95%);
  --body-color: hsl(212, 42%, 15%);
  --container-color: hsl(212, 42%, 20%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Bai Jamjuree", sans-serif;
  --h2-font-size: 1.25rem;
  --normal-font-size: 1rem;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "poppins" arial;
    
}



html {
    scroll-behavior: smooth;
}

body { 
    background-color: #4C6AD2;
    font-family: 'poppins';
    width: 100%;
    background-image: url("../img/h1.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

a {
  text-decoration: none;
}

#preload {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    backdrop-filter: blur(10px);
    z-index: 99999;
    transition: 0.5s;
    display: flex;
    justify-content: center;  
    align-items: center;
}

.dispear {
    animation: vanursh 1s forwards;
}

@keyframes vanursh {
    100% {
        opacity: 0;
        visibility: hidden;
    }
}




.circle-container {
    padding: 15px;
    background-color: none;
    border-radius: 50%;
    border: 4px solid #4C6AD2;
    border-right: 4px solid red;
    transition: .5s;
    animation: rotate 1s linear infinite;
}

@keyframes rotate {
    0% { 
        transform: rotate(0deg);
    }

    100% { 
        transform: rotate(360deg);
    }
}

.circle {
    padding: 10px;
    background-color: none;
    border-radius: 50%;
    border: 4px solid #fffbfb;
    border-right: 4px solid red;
    border-left: 4px solid #4C6AD2;
    transition: .5s;
    animation: rotateopposite 1s linear infinite;
}

@keyframes rotateopposite {
    0% { 
        transform: rotate(360deg);
    }
    
    100% { 
        transform: rotate(0deg);
    }
}

.circle-main {
    padding: 5px;
    background-color:hsl(32, 75%, 50%);
    border-radius: 50%;
    border: 4px solid #4C6AD2;
    border-right: 4px solid violet;
    animation: spread 1s linear infinite;
    transition: .5s;
}

@keyframes spread {
    0% { 
        transform: translateZ(100px) rotate;
        opacity: 1;
    }

    100% {
        transform: translateZ(0) rotate;
        opacity: 0;
    }
}

.about-profile-img,  .hero-image {
    animation: rotateNow 2s linear forwards;
}

@keyframes rotateNow {

    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(100%);
        opacity: 1;
    }
}

/* scroll animation */

.hidden {
    opacity: 0;
    filter: blur(2px);
    transform: translateY(100px);
    transition: all 2s;
}

.show {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
}

/* Navbar */

header {
    width: 100%;
    height: 70px;
    background-color: #2B64F5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 100px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;

}


ul {
    list-style: none;
}

ul li {
    display: inline-block;
    margin: 0 10px;
    padding: 0px 10px;
}

ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    transition: 0.5s;
    font-family: "poppins";
    position: relative;
    padding-bottom: 5px;
}

.active {
    border-bottom: 2px solid #FF6641;
}

ul li a::after {
    content: "";
    display: block;
    width: 0%;
    height: 2px;
    background-color: #FF6641;
    transition: 0.5s;
    position: absolute;
    left: 0;
}

a:hover::after {
    width: 100%;
}


#sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 350px;
    height: 100%;
    background-color: #2963f5;
    transition: 0.5s;
    z-index: 999;
    box-shadow: -10px 0px 10px rgba(0, 0, 0, 0.75);
    display: none;
    flex-direction: column;
    backdrop-filter: blur(-10px);
}

#sidebar > li {
margin-bottom: 20px;
}
#toggle {
    display: none;
}

#toggle > img {

    width: 100%;
    height: 40px;
}

#toggle img:hover {
    cursor: pointer;

}

.sidebar-header {
    margin-top: 20px;
}

.sidebar-header > #closed {
    float: right;
    background: #000000;
    border-radius: 50px;
    padding: 8px;
    margin: 10px;
    height: 35px;
}

#closed:hover {
    background: #FF6641;
}

/* end of navbar */



/* hero */



.hero-content  {
    /* background-image: url("../img/h1.jpg");
    background-size: cover;
    background-position: center; */
}

.hero-text {
    padding-top: 70px;
}

.hero-content h1 {
    font-size: 50px;
    font-weight: bolder;
    color: #fff;
    font-family: "poppins";
}
.web {
    color: #FF6641;
}

.hero-content p {
    font-size: 20px;
    font-weight: 400;
    color: #fff;
    font-family: "poppins";
    margin-bottom: 40px;
}

.btn  {
    text-decoration: none;
    color: #fff;
    background-color: #4C6AD2;
    font-size: 18px;
    font-weight: 600;
    transition: 0.5s;
    padding: 10px 50px;
    font-family: "poppins";
    border-radius: 25px;
    margin-bottom: 30px;
}



.btn:hover {
    background-color: #FF6641;
    color: #06090f;
}

.arrow {
margin-top: 30px;
}

.para {
    margin: 130px 17% 0;
}

hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    
}

/* end of hero */

/* about */

.about-content {
color: #000;
background-color: #fff;
padding: 40px 100px 50px;
}

.about-first-text {
    text-align: center;
    padding: 20px 0px;
}

 h2 {
    font-size: 30px;
    font-weight: 600;
    color: #000;
    font-family: "poppins";
    position: relative;
    padding-top: 10px;
    padding-bottom: 10px;
}



h2::before {
    content: "";
    display: block;
    width: 50px;
    height: 5px;
    background-color: #FF6641;
    margin: 10px auto;
    position: absolute;
    left: 0;
    right: 0;
    top: 70%;

}

.about-first-text > p {  
    font-size: 20px;
    font-weight: 400;
    color: #000;
    font-family: "poppins";
    margin-bottom: 5px;
}


.code-icon {
    display: flex;
    flex-direction: row;
    padding-right: 20px;
}

.code-icon img {
    margin-right: 10px;
    float: left;
    object-fit: contain;
}


.code-text > h3 {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    font-family: "poppins";
    position: relative;
   
}

.code-text > p {
     font-size: 18px;
    font-weight: 400;
    color: #000;
    font-family: "poppins";
    margin-bottom: 5px;
}


/* About content two */

.about-content-two {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    padding-top: 50px;
    align-items: center;
    gap: 30px;
}

.about-profile-img {
    margin-right: 15%;
}

.info-image {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.info-image img {
    margin-right: 10px;
}

.personal-info {
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.info-content {
    margin: 10px 20px 10px 0px;
}


/* Skill */

.skill {
    background-color: #fff;
    color: #000;
    
}

#skill-content {
    padding: 20px 100px 50px;
    
}

.skill-content h2 {
    font-size: 30px;
    font-weight: 600;
    color: #000;
    font-family: "poppins";
}

.progress {
    height: 60px;
    display: block;
    background: none;
    border-radius: 0;
}


.skill-head {
    
    padding: 10px 0;
    margin: 0;
    text-transform: uppercase;
    display: block;
    font-weight: 600;
    font-family: "Poppins", sans-serif;
    color: #060606;
}

.val {
    float: right;
    font-style: normal;
}

.progress-bar-wrap {
    background: rgba(3, 3, 3, 0.2);
}

.progress-bar {
    width: 1px;
    height: 10px;
    transition: 0.9s;
    background-color: #4C6AD2;
}

/* Resume */


.resume-content {
    padding: 50px 100px;
    background-color: #C1D1DF;
    width: 100%;
}

.relative {
    position: relative;
    border-left: 2px solid #060607;
    
}


.resume-text {
    margin-bottom: 35px;
    padding-left: 25px;
    position: relative;
}

.resume-text::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50px;
    left: -10px;
    top: 0;
    background-color: #C1D1DF;
    border: 2px solid #4C6AD2;
    border-right: 2px solid #ec8907;
    animation: rotate 1s linear infinite alternate-reverse;
    transition: .5s;
}



.person-info2 {
    list-style: unset;
}

.date {
    font-weight: bolder;
    padding: 10px 0;
    color: #0E4FF6;
}


.resume-text > h4 {
    font-size: 20px;
    font-weight: bold;
    color: #000;
    font-family: "poppins";
    padding-bottom: 20px;
    
}

.resume-text > p {
    font-size: 18px;
    font-weight: 400;
    color: #000;
    font-family: "poppins";
    padding-bottom: 20px;
}

.resume-text > ol {
    display: flex;
    flex-direction: column;
    font-family: "poppins";
    margin-left: 20px;
}

.resume-text > ol > li {
     font-size: 18px;
    font-weight: 400;
    color: #000;
    padding: 0 10px 10px 0;
}

/* end of resume  */

/* section */

#service {
    padding: 50px 100px;
    background-color: #2c51e9;
    width: 100%;
}

/* .service-flex {
    padding: 0 15%;
} */


.box-container {
    text-align: center;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 25px;
    margin: 20px;
    transition: .5s;
}

.service-image > img {
    display: block;
    margin: 0 auto;
}

.box-container:hover {
    transform: scale(1.1);
    background-color: #FF6641;
}

.service-text > h4 {
    font-size: 20px;
    font-weight: bold;
    color: #000;
    font-family: "poppins";
    margin: 5px;
    line-height: 25px;
}

.service-text > p {
    font-size: 18px;
    font-weight: 400;
    color: #000;
    font-family: "poppins";
    padding: 5px;
}

/* end of section */

/* Portfolio */

.portfolio-content {
    padding: 50px 100px;
    background-color: #C1D1DF;
    width: 100%;
}

/* swiper */

.wrapper-container-card { 
    display: flex; 
    align-items: center; 
    justify-content: center;
    }

.wrapper { 
    max-width: 1100px; 
    width: 100%; 
    height: auto;
    position: relative; 
  
} 
  
.wrapper i { 
    height: 50px; 
    width: 50px; 
    background: rgb(118, 233, 118); 
    text-align: center; 
    line-height: 50px; 
    border-radius: 50%; 
    cursor: pointer; 
    position: absolute; 
    top: 50%; 
    font-size: 1.25 rem; 
    transform: translateY(-50%); 
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.23); 
  
} 
  
.wrapper i:first-child { 
    left: -22px; 
  
} 
  
.wrapper i:last-child { 
    right: -22px; 
  
} 
  
.wrapper .carousel { 
    display: grid; 
    grid-auto-flow: column; 
    grid-auto-columns: calc((100% / 3) - 12px); 
    gap: 16px; 
    overflow-x: auto; 
    scroll-snap-type: x mandatory; 
    scroll-behavior: smooth; 
    scrollbar-width: 0; 
} 
  
.carousel::-webkit-scrollbar { 
    display: none; 
} 
  
.carousel :where(.card, .img) { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
} 
  
.carousel.dragging { 
    scroll-snap-type: none; 
    scroll-behavior: auto; 
} 
  
.carousel.no-transition { 
    scroll-behavior: auto; 
} 
  
.carousel.dragging .card { 
    cursor: grab; 
    user-select: none; 
} 
  
.carousel .card { 
    scroll-snap-align: start; 
    height: 450px; 
    width: 100%;
    list-style: none; 
    background: #ffffff; 
    border-radius: 8px; 
    display: flex; 
    cursor: pointer; 
    padding-bottom: 15px; 
    align-items: center; 
    justify-content: center; 
    flex-direction: column; 
    text-align: center;
} 
  

  

  

  

  
@media screen and (max-width: 900px) { 
    .wrapper .carousel { 
        grid-auto-columns: calc((100% / 2) - 9px); 
  
    } 
} 
  
@media screen and (max-width: 600px) { 
    .wrapper .carousel { 
        grid-auto-columns: 100%; 
  
    } 
}


/* .card {
    background-color: #ffff;
    max-width: 350px;
    height: 450px;
    box-shadow: 0px 4px 8px gray;
    text-align: center;
    border-radius: 20px;
    margin: 0 0px 50px 0;
}
*/

 
.card img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: cover;
    border: 1px solid gray;
    
}

.card h1 {
    font-size: 20px;
    color: #000;
    font-weight: 600;
    padding: 20px 0;
}

.card p {
    font-size: 16px;
    color: black;
    padding: 0 20px 30px;
}

.card a {
    background-color:#4C6AD2;
    padding: 10px 30px;
    border: none;
    border-radius: 50px;
    margin-bottom: 20px;
    color: #ffff;
    transition: .5s;
}

.card a:hover {
    background-color:hsl(32, 75%, 50%);
}



/* end of portfolio */



/* contact */

.contact-content {
    padding: 50px 100px;
    background: linear-gradient(-180deg, #0E4FF6, #0D005A);
    width: 100%;
}

.contact-container {
    margin-top: 50px;
}

.col-container {
    margin-right: 20px;
}

.col-container > .row {
        --bs-gutter-x: 0;
}

.contact-text {
    background-color: #ffffff;
    border-radius: 25px;
    text-align: center;
    max-width: 100%;
    height: 100%;
    padding: 40px 20px;
}



.contact-text > img {
    padding: 15px;
    border-radius: 50px;
    background-color: #cecde8;
}



.contact-text > h5 {
    font-size: 20px;
    font-weight: bold;
    color: #000;
    font-family: "poppins";
    margin: 10px;
    width: 100%;
}

.medias > i {
    font-size: 20px;
    color: #000;
    padding: 20px;
    transition: 0.5s;
    cursor: pointer;
}

.medias > i:hover {
    color: #fff;
}


.contact-text2 {
    display: flex;
    flex-direction: row;
    gap: 0;
    padding-right: 15px;
    margin: 23px 0 0 0;
} 

.email {
    margin-right: 15px;
}

.text-container {
    background-color: #ffffff;
    border-radius: 25px;
    padding: 50px;
    text-align: center;
    width: 100%;
    height: 100%;
}



.text-container > h5 {
    font-size: 20px;
    font-weight: bold;
    color: #000;
    font-family: "poppins";
    padding: 10px;
}



.contact-form {
    background-color: #ffffff;
    border-radius: 25px;
    padding: 40px;
    height: auto;
    width: 100%;
    height: 100%;
}

input {
    width: 100%;
    height: 50px;
    padding: 20px;
    border-radius: 20px;
    border: 1px solid #C1D1DF;
    font-size: 14px;
    font-weight: 400;
    background-color: #fff;
    color: #000;
    font-family: "poppins";

}

#name {
    margin-bottom: 20px;
}

#email {
    margin-right: 20px;
    margin-bottom: 0;
}

#Subject {
    margin-bottom: 0;
}


.content-flex-form {
    display: flex;
    flex-direction: row;
}

textarea {
    width: 100%;
    height: 180px;
    padding: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    border: 1px solid #C1D1DF;
    font-weight: 400;
    color: #000;
    background-color: #fff;
    font-family: "poppins";
    border-radius: 20px;
    
}

#submit {
    background-color: #4C6AD2;
    transition: .5s;
    color: #fff;
    width: 100px;
    height: 50px;
    border-radius: 20px;
    border: none;
    outline: none;
    padding: 10px;
    font-size: 18px;
    font-weight: 400;
    font-family: "poppins";
}

#submit:hover {
    background-color: #FF6641;
    color: #000;
    cursor: pointer;
}

/* end of contact */



/* Footer */

footer{
    padding: 50px 100px 0;
    background-color: #0E4FF6;
    width: 100%;
}


.footer-logo-content {
    margin-right: 30px;
    text-align: center;
}

.footer-logo-content > img {
    margin-left: -40px;
    max-width: 100%;
}

.footer-logo-content > p {
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    font-family: "poppins";
    padding: 10px 20px 20px;
    margin-right: 40px;
}


.copyright {
    margin-top: 30px;
    text-align: center;
    color: #fff;
    font-size: 16px;
    padding: 0px 0 20px;
}

/* MEDIA QUERIES */



@media  screen and (max-width: 600px) {

    body {
        overflow-x: hidden;
    }
    /* navigation */

    header {
        padding: 10px 30px;
    }
    
    nav {
        display: none;
    }

    #toggle {
        display: block;
    }

    #sidebar {
        width: 70%;
    }

    .hero-content {
        padding: 100px 30px 20px;
        height: 50vh;
        width: 100%;
    }


    .hero-content {
        margin-top: 30px;
    }

    .hero-content h1 {
        font-size: 30px;
    }


    .hero-content p {
        font-size: 16px;
    }

    

    .hero-image > img {
        padding: 67px auto 0;
        width: 100%;
        height: auto;
        
    }


    .para {
        margin: 50px 0 20px;
    }



    /* end of navigation */

    /* about */

    .about-content {
        padding: 50px 30px;
    }

    .code-icon {
        text-align: center;
        margin: 20px 0;
        display: flex;
        flex-direction: column;
    }

    .code-icon > img {
        width: 100px;
        margin: 0 auto;
    }

    .code-text > p {
        margin: 10px 30px;
    }

    .about-content-two {
        display: flex;
        flex-direction: column;
    }

    .about-content-img >  {
        width: 60%;
        margin: 0 auto 50px;
    }

    .about-img-content {
        margin: 0 10px;
    }

    .about-img-content > h3 {
        font-size: 20px;
    }
  
    .about-img-content > p {
        font-size: 16px;
        margin: 0 auto;
    }

    .personal-info {
        display: block
    }

    /* Skill */

    #skill-content {
     padding: 50px 30px;
        
    }




    /* resume */

    .resume-content {
        padding: 50px 30px;
    }

    /* service  */ 
    #service {
        padding: 50px 30px;
    }

   

   
    /* portfolio */

    .portfolio-content {
        padding: 50px 30px;
    }

    .portfolio-container {
        margin: 0 auto;
    }
   
    

    .card {
        width: 100%;
        margin-bottom: 30px;
    }



    /* swiper */

    

    /* contact */

    .contact-content {
        padding: 50px 30px;
    }

   .col-container {
    margin-right: 0;
  }



    .contact-text2 {
        width: 100%;
        display: block;
        padding-right: 0;
    }

    

    #width {
    width: 100%;
    }

    .email, .phone {
        width: 100%;
    }

    .content-flex-form {
        display: block;

    }

    #email {
        margin-right: 0;
        margin-bottom: 20px;
    }



    /* footer */

   footer {
        padding: 50px 30px;
        width: auto;
    }

    .footer-content > .row {
        display: block;
        text-align: center;
    }

    .footer-flex, .footer-tt {
        text-align: center;
    }

    .footer-flex > col-lg-3 {
        width: 100%;
    }

    
    .footer-logo-content  {
        margin-bottom: 25px;
        text-align: center;
    }

    .footer-logo-content > img {
        width: 80%;
        margin: 0 auto;
    }
    .media {
        text-align: center;
        padding: 40px;
        width: 100%;
    }

    .footer-logo-content > p {
        margin-right: 0;
    }

    .fooeter-tt > h6 {
    margin-bottom: 10px;
    padding-bottom: 10px;
    }

    .footer-tt > p {
        display: block;
        text-align: center;
    }


    
}




@media screen and (min-width: 1024px) {

     .hero-content {
        padding: 100px 100px 10px;
        height: 80vh;
    }

   

    .flex-hero > .col-lg-6 {
        width: 50%;
    }
    
    .hero-image > img {
        margin: 30px 10px 20px;
        width: 100%;
        height: auto;
        padding: auto;
    }

}

@media screen and (max-width: 990px) {
    
    body{
        overflow-x: hidden;
    }
    
    header {
        padding: 10px 30px;
    }
    
    nav {
        display: none;
    }

    #toggle {
        display: block;
    }

    .hero-content {
        padding: 100px 30px 20px;
        width: 100%;
        height: 100vh;
    }



    .hero-content p {
        font-size: 16px;
    }


    .hero-image > img {
        margin: 80px auto;
        width: 100%;
        height: auto;
        padding: auto;
    }


    .para {
        margin: 50px 0 20px;
    }



    /* about */

    .about-content {
        padding: 50px 30px;
        margin-top: 180px;
    }

    .code-icon {
        text-align: center;
        margin: 20px 0;
        display: flex;
        flex-direction: column;
    }

    .code-icon > img {
        width: 100px;
        margin: 0 auto;
    }

    .code-text > p {
        margin: 10px 30px;
    }

    .about-content-two {
        display: flex;
        flex-direction: column;
    }

    .about-content-two > .about-profile-img {
        width: auto;
        margin: 0 auto 50px;
    }

    .about-img-content {
        margin: 0 10px;
    }

    .about-img-content > h3 {
        font-size: 20px;
    }
  
    .about-img-content > p {
        font-size: 16px;
        margin: 0 auto;
    }


    /* Skill */

    #skill-content {
        padding: 50px 30px;
           
       }



       /* resume */

    .resume-content {
        padding: 50px 30px;
    }

    /* service  */ 
    #service {
        padding: 50px 30px;
    }


    .box-container {
        margin: 20px auto;
    }

    /* portfolio */

    .portfolio-content {
        padding: 50px 30px;
    }

    .portfolio-container {
        margin: 0 auto;
    }
    
    /* contact */

    .contact-content {
        padding: 50px 30px;
    }


   
    .col-container {
        margin-right: 0;
    }

 
    .email, .phone {
        width: 100%;
        margin-bottom: 30px;
    }

    .content-flex-form {
        display: block;

    }

    

    #email {
        margin-right: 0;
        margin-bottom: 20px;
    }

   

    /* footer */
    
    .footer-content {
        display: block;
        text-align: center;
    }


    .footer-logo-content  {
        margin-bottom: 25px;
        text-align: center;
    }

    .footer-logo-content > img {
        width: 80%;
        margin: 0 auto;
    }

    .footer-logo-content > p {
        margin-right: 0;
    }

    .footer-flex > .fooeter-tt  {
        display: block;
        text-align: center;
    }

    .footer-tt > p {
        display: block;
        text-align: center;
    }

}


/* KEYFRAME */


h1, .logo {
    animation: slideRight 1s ease-in forwards;
    transition: .5s; 
    
}




@keyframes slideRight {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

 h4 {
    animation: slideRight 1s ease-in forwards;
    transition: .5s;
}

@keyframes slideRight {
    0% {
        transform: translateX(-30px);
        opacity: 0;
    }
    
    
    100% {
        transform: translateX(0);
        opacity: 1;
    }

}


.hero-image > img {
animation: slideLeft 1s ease-in forwards;
transition: .5s;

}

@keyframes slideLeft {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }
    
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}


li a {
    animation: slideTop 1s ease-in forwards;
    transition: .5s;
}

:root {
    
}

@keyframes slideTop {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }
    
    100% {
        transform: translateY(0);
        opacity: 1;
    }

}


.arrow {
    animation: downArrow 1s linear infinite alternate;
    transition: .5s;
}

@keyframes downArrow {
    0% {
        transform: translateY(40px);
    }

    100% {
        transform: translateY(0);
    }

}


h2 {
    animation: slideDown 1s ease-in forwards;
    transition: .5s;
}

@keyframes slideDown {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}


#mg {
    animation: rotate 1s linear infinite;

} 

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(530deg);
    }
}