@font-face{
    font-family: Estedad;
    src: url(../fonts/Estedad.woff2);
}
:root{
    --primary-100:#BFBFBF;
    --primary-200:#a2a2a2;
    --primary-300:#616161;
    --accent-100:#F2BAC9;
    --accent-200:#8e5c6a;
    --text-100:#333333;
    --text-200:#5c5c5c;
    --bg-100:#F5ECEC;
    --bg-200:#ebe2e2;
    --bg-300:#c2baba;
      
}

*{
    box-sizing: border-box;
}
html {
    font-size:17px
}
body{
    font-family: Estedad,tahoma;
    background-color: var(--accent-100);
    /*background-image: url(../images/slypink.jpg);*/
    /* https://grabient.com/HQDgDAbANMDsCsBGGsLWAZgJyxtsesIMiYGJ8xwiE8UALMAEz1YPPbtO1QGLBhBUfoIIBaMAPgYgA*/

/* https://grabient.com/HQNgTAHANMAsEFYZjLZIkFoAMwwE4QZZ9oc4BGMKcsEfGCgdiIuAGY6bcF9rM22bOyA?angle=210 */

/* https://grabient.com/HQVgjAnANKAMswCwA4wwEwDZMZA4W6MA7MQMwnLEkjRnDFhFgFgWauIbL6bHTBUIKLCA */

background: linear-gradient(90deg,
 #c1d1cc 0.000%,
 #dfb4af 16.667%,
  #f4a09a 33.333%,
   #f99d95 50.000%,
    #ebaba2 66.667%,
     #d0c6bc 83.333%,
      #b3e1d9 100.000%);
     background-attachment: fixed;
}
html,body{
    scroll-behavior: smooth;
}
h1{
    color:var(-accent-200);
     font-family: tahoma;
     text-shadow: 0px 2px 6px rgb(230, 214, 129);
     border: solid 3px silver; border-radius: 10px 10px 0px 0px;
    background-color: var(--accent-200);
}
a{
    text-decoration: none;
    color: palevioletred;
}
a:hover{
    color:red;
}
#up{
    width: 50px;
    height: 50px;
    margin: 0 auto;
    background-image: url(../images/btn.png);
    position: fixed;
    right: 20px;
    bottom: 20px;
}
#up:hover {
    background-position: -50px 0px;

}
p{                                               
    line-height: 1.6rem;
}
main{
    width: 950px;
    display: grid;
    grid-template-columns: 200px auto;
    grid-template-rows: auto auto auto;
    grid-template-areas: 
    'header header'
    'aside article'
    'footer footer'
    ;
    gap: 10px;
    min-height: 1000px;
    margin: 0 auto;
    padding: 10px;
    opacity: 1;
    opacity: 1;
    transition: 2s;
    @starting-style{
        opacity: 0;
    }
}
header,aside,article,footer{
    background-color: white;
    border-radius: 10px;
    box-shadow:rgb(233, 160, 196) 0px 1px 3px 0px 1px;
}
header{
    grid-area: header;
}
aside{
    grid-area:aside;
}
article{
    min-height: 710px;
    width: 718px;
    float: right;
    margin-right: 10px;
}
footer{
    min-height: 100px;
    margin-top: 10px;
    text-align: center;
}
#ads{
    position: fixed;
    left: 0px;
    bottom: 0px;
}
#nav ul{
list-style-type: none;
margin: 0px;
padding: 0px;
text-align: center;
}
#nav ul li{
    display: inline-block;
}
#nav ul li a{
    color: var(--bg-200);
    display: block;
    width: 100%;
    height: 100%;
    padding: 4px 6px;
    border-radius: 7px 7px 0px 0px;
    background-color: var(--primary-300);
    border-bottom: 3px solid var(--primary-200);

}
#nav ul li a:hover{
    background-color: var(--primary-200);
    border-bottom: 3px solid var(--primary-300);
}
#hr ul {
list-style-type: none;
margin: 0px;
padding: 0px;
text-align: center;

}
#hr ul li a, b{
    color: var(--bg-200);
    display: block;
    width: 100%;
    height: 100%;
    padding: 4px 6px;
    border-radius: 7px 7px 0px 0px;
    background-color: var(--primary-300);
    border-bottom: 3px solid var(--primary-200);

}

#hr ul li a:hover{
        background-color: var(--primary-200);
    border-bottom: 3px solid var(--primary-300);
}
#gallery{
    text-align: center;
}
#gallery img{
    margin: 7px;
    width: 120px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    transition: 0.3s;
    filter: grayscale(80%) blur(3px);
}
#gallery img:hover{
transform: scale(1.1) rotate(720deg);
filter: grayscale(0%);
}
@keyframes logoplay{
    from{
        transform:translate(-300px) rotateY(180deg);
        opacity: 0;
    }
    to{
        transform:translate(0px) rotate(0deg) ;
        opacity: 1;
    }
}
#logo{
    animation: logoplay 2s;
}
@keyframes menuplay{
    0%{
        transform: translate(100px);
        opacity: 0;

    }
    50%{
        transform: translate(-20px);
    }
    100%{
        transform: translate(0px);
        opacity: 1;
    }
}
#main-menu ul li{
    opacity: 0;
    animation: menuplay 1s forwards;
}


/*tablet*/
@media screen and (max-width:1024px)
 {
    main{
        width: 100%;
    }
    #nav{
        display: none;
    }
    article{
        width: calc(100%-210px);
    }
    
}
/*mobile*/
@media screen and(max-width:500px)
{
    main{
        grid-template-columns: auto;
        grid-template-rows: auto auto auto auto;
        grid-template-areas:
        'header'
        'aside'
        'articlre'
        'footer'
        ;
    }
    #logo{
        width: 100%;
    }
   
}