@font-face {
            src: url("../font/ft.otf") format("truetype");
            font-family: ft;
             /* تأكد من تعديل المسار إذا كان اسم المجلد الذي أنشأته في الخطوة 2 يختلف */
        }
*
{
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
    /* font-size: 25px; */
    /* font-family: Arial, Helvetica, sans-serif; */
    /*font-family: Arial, sans-serif;*/
        font-family: ft;

}
:root
{
        --body-color: white;
--sidebar-color: rgb(195, 224, 255);
--primary-color: rgb(160, 204, 255);
--primary-color-light: rgb(0, 119, 255);
--text-color: black;
--toggle-color: #4267B2;


    
}
body
{
    background-color: var(--body-color);
}

.head
{
    width: 100%;
    height: 70px;
    line-height: 60px;
    background-color: var(--sidebar-color);
    color: var(--text-color);
    text-align: center;
    font-size: 25px;
    font-weight: 900;
    
}

  
  .container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    text-align: center;
  }
  
  h1, h2 {
    color: #333;
  }
  
  footer {
    background-color: #333;
    color: #fff;
    padding: 10px;
    text-align: center;
  }

  .q
  {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 15px;
  }

  .q a
  {
    text-decoration: none;
    width: 350px;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    color: white;
    margin-top: 15px;
  }

  .q a .box
  {
    width: 350px;
    height: 350px;
    background-image: url(../img/wall.jpeg);
    background-size: cover;
    position: relative;
    transition: 0.7s ease;
  }

  .q a:hover .box
  {
    transform: scale(1.1);
  }

  .q a .box::after
  {
    position: absolute;
    content: attr(data-text);
    width: 350px;
    height: 350px;
    background-color: #33333383;
    text-align: center;
    /* align-items: center; */
    padding-top: 150px;
    font-size: 25px;
  }

  
  .q a .box1
  {
    width: 350px;
    height: 350px;
    background-image: url(../img/colourss.jpeg);
    background-size: cover;
    position: relative;
    transition: 0.7s ease;
  }

  .q a:hover .box1
  {
    transform: scale(1.1);
  }

  .q a .box1::after
  {
    position: absolute;
    content: attr(data-text);
    width: 350px;
    height: 350px;
    background-color: #33333383;
    text-align: center;
    /* align-items: center; */
    padding-top: 150px;
    font-size: 25px;
  }


  
  .q a .box2
  {
    width: 350px;
    height: 350px;
    background-image: url(../img/col.jpeg);
    background-size: cover;
    position: relative;
    transition: 0.7s ease;
  }

  .q a:hover .box2
  {
    transform: scale(1.1);
  }

  .q a .box2::after
  {
    position: absolute;
    content: attr(data-text);
    width: 350px;
    height: 350px;
    background-color: #33333383;
    text-align: center;
    /* align-items: center; */
    padding-top: 150px;
    font-size: 25px;
  }


  
  footer {
    background-color: #333;
    color: #fff;
    padding: 10px;
    text-align: center;
  }

  footer
{
    background-color: #17161a;
    width: 100%;
    min-height: 400px;
    margin-top: 35px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    padding-top: 15px;
}

footer .f1
{
    overflow: hidden;
    width: 250px;
}
footer .f1 .logo
{
    width: 305px;
    margin-right: 250px;
   
}
footer .social a
{
    color: white;
    text-decoration: none;
}
footer .social a i
{
    padding: 5px;
    margin: 0 5px;
    border-radius: 50%;
    /* border: 1px solid white; */
    font-size: 25px;
    
}

footer .f2
{
    color: white;
    text-align: center;
}

footer .f3
{
    color: white;
    text-align: center;
}

.im2 img:hover{
  transform: scale(1.5);
}

@media screen and (max-width: 722px) {
    footer
{
    background-color: #17161a;
    width: 100%;
    min-height: 400px;
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    flex-wrap: wrap;
}
footer .f1
{
    width: 100%;
    text-align: center;
    margin-bottom: 35px;
}
footer .f1 .logo
{
    width: 100%;
}

footer .f2
{
    width: 100%;
    text-align: center;
    margin-bottom: 35px;
}
}

.ff
{
    background-color: #17161a;
    width: 100%;
    min-height: 25px;
    color: white;
    text-align: center;
   
}

.im2 img:hover{
  transform: scale(1.5);
}

@media screen and (max-width: 474px) {
    .container{
        margin: 0;
    }
    img{
        margin-top: 0;
        margin-bottom: 0;
    }
    .container .hh {
        color: #333;
        margin-top: 100px;
      }
}