@charset "utf-8";

.txt-rotate {
 display: flex;
 justify-content: center;
 margin-top: 80px;
 text-shadow: 5px 5px 2px #fff;
 font-size: 40px;
}

body{
    background-image: url(../img/IMG_8502.JPG);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

body p{
    font-size: 18px;
}
/* 
.about img:first-child{
    width: 150px;
    height: 100px;
    position: absolute;
    top: -85px;
    left: 0;
    animation-name: run;
  animation-duration: 7s; 
  animation-timing-function: linear;
  animation-iteration-count: infinite; 
}

@keyframes run{
    from{
        transform: translateX(0);
        opacity: 1;
    }
    to{
        transform: translateX(100px);
    }
} */

.about img{
width: 500px;
height: 600px;
outline: 8px solid #fff;
margin-top: 40px;
}

.about{
    display: flex;
    justify-content: space-around;
    background-color: #ebffd6d0;
    margin-bottom: 100px;
    position: relative;
    margin-top: 5px;
    border-left: solid 20px #ffc06e;
}

.textarea1{
    width: 600px;
    line-height: 2;
}

.textarea1 h2{
    font-size: 22px;
    text-decoration: underline 2px solid;
    text-underline-offset: 6px;
}

.textarea1 h2:first-child{
    margin-top: 30px;
}

.textarea1 p:last-child{
    margin-bottom: 30px;
}

.fav{
    height: 400px;
    background-color: #ebffd6d0;
    margin-bottom: 100px;
    border-left: solid 20px #ffc06e;
}

.fav2{
    padding-top: 30px;
    display: flex;
    justify-content: space-around;
    line-height: 2;
    position: relative;
    
}

.fav2 img:first-child{
    width: 350px;
    height: 250px;
    outline: 8px solid #fff;
    margin-top: 30px;
}

.fav2 img:nth-child(2){
    width: 150px;
    height: 150px;
    border-radius: 100%;
    position: absolute;
    top: 230px;
    left: 370px;
      outline: 8px solid #fff;
}

.favtext h2{
font-size: 20px;
text-decoration: underline 2px solid;
    text-underline-offset: 6px;
}

@media (max-width:500px){
    body p{
    font-size: 16px;
}

body h2{
    font-size: 20px;
}
    .about{
        display: block;
        width: 100%;
        border: none;
    }

    .about img{
        width: 100%;
        height: 500px;
        outline: 3px solid #fff;
    }
    .textarea1{
      padding-left: 10px;
    }
    .fav{
        display: block;
        border: none;
       padding-left: 10px;
    }
    .fav img:nth-of-type(1){
        display: none;
    }
    .fav img:nth-of-type(2){
        display: none;
    }

   .textarea1{
       width: 100%;
   }

    nav{
        width: 100%;
    }
h1 span{
    display: block;
    margin: 0 auto;
    text-align: center;
}
    

}