:root{
    --color1:#169ED9;
    --color2:#0DD97A;
}
@font-face {
    font-family: estedad;
    src: url(Estedad.woff2);
}
*{
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body{
    font-family: estedad,Tahoma; 
    background-image: linear-gradient(240deg,var(--color1),var(--color2)); 
    /* background-attachment: fixed; */
}
main{
    background-color: white;
    border-radius: 10px;
    width: 750px;
    min-height: 650px;
    margin: 0 auto;
    margin-top: 15px;
    padding: 40px;
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto auto;
    grid-template-areas: 
    'img'
    'txt'
    ;
    gap: 30px;
    animation: animate 2s forwards;
}
h1, h2, ul{
    margin: 0px;
}
h3{
    margin-top: 5px;
    margin-bottom: 0px;
} 
img {
  -webkit-user-drag: none;
  user-drag: none;
}
#txt{
    grid-area: txt;
    text-align: justify;
}
#img{
    grid-area: img;
    width: 65%;
    /* height: 400px; */
    margin: 0 auto;
}
#img img{
    width: 100%;
    border-radius: 10px;
    /* height: 700px; */
}
p{
    margin: 0px;
}
span{
    background-color: var(--color1);
}

#contact a i{
    text-decoration: none;
    color: black;
    margin-inline-end: 10px;
    font-size: 20px;
}

@keyframes animate {
    from
    {
        opacity: 0;
        transform: translateY(-200px);
    }
    to
    {
        opacity: 1;
        transform: translateY(0px);    
    }
}

@media screen and (max-width: 1024px) 
{
    main{
        width: 100%;
        grid-template-columns: auto;
        grid-template-areas: 
        'img'
        'txt';
    }
    #img{
        width: 100%;
    }

}    
@media screen and (max-width: 500px)
{
   main{
        width: 100%;
        grid-template-columns: auto;
        grid-template-areas: 
        'img'
        'txt';
    }
    h1,h2{
        text-align: start;
    }
    #img{
        width: 100%;
    }
}
/* @media screen and (max-width: 350px){
    main{
        width: 100%;
        grid-template-columns: auto;
        grid-template-areas: 
        'img'
        'txt';
        }
} */