:root{

    --base: #E8E0C8;
    --section: #FFFFFF;
    --text: #333333;
    --subtext: #666666;
    --border: #BFB596;
    --accent: #EB6101;
    --hover: #D45700;
    --footer: #333333;  
}


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


h1,h2{

    font-size: 1.5rem;
}


h3{
    font-size: 1.2rem;
}


a {
  text-decoration: none;
  color: var(--accent);
}


ul{
    list-style: none;
}


icon{

    width: 24px;
    height: 24px;
}


body{

    background: var(--base);
    font-size: 20px;
    line-height: 2;
    color: var(--text);
    font-family: sans-serif;   
}


header{
    padding: 20px;
    background: var(--section);
    height: 90px;
    width: 100%;
    position: fixed;
    top: 0;
}





.header-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px;
}

main{
    max-width: 1000px;
    margin: 100px auto 0 auto;
    padding: 20px;
}


section{

    margin-bottom: 100px;
     border-radius: 20px;
   
}


.hero{
     background:var(--section);
    padding:30px;    
}


.hero img{

    width: 100%;
}


.news{
     background:var(--section);
    padding: 20px;
   
}


.news-list li{
   
    border-bottom: 2px solid var(--border);
}


.card-grid{

    display:grid;
    grid-template-columns:1fr 1fr;
    gap: 30px;
}


.card{
     background:var(--section);
    position: relative;
    display: block;
    padding: 20px;
    border: 2px solid var(--section);
    color: var(--text);
    text-align: center;
    text-decoration: none;
    overflow: hidden;
     border-radius: 20px;
}


.card-title{

    position:absolute;
    bottom:0;
    width:100%;
    padding:10px;
    background:rgba(0,0,0,0.4);
    color:white;
    font-size:16px;
    text-align:center;

}


.card img{

    height: 40px;
    display: block;
    object-fit: cover;
}



.card:hover{

    border: 2px solid var(--accent);

}


.footer{

    margin-top: 40px;
    padding: 20px;
    text-align: center;
    color: var(--section);
    background: var(--footer);

}


.footer-inner{
    max-width: 1000px;
    margin:0 auto;
}


.footer-nav{

    margin-bottom:10px;

}


.footer-nav a{

    margin: 0 10px;
  
}


.footer-nav a:hover{

    color:var(--base);

}