/*
 Theme Name:   Khashayar Sanjari
 Theme URI:    http://khashayarsanjari.com
 Description:  Under Constraction Version
 Author:       Siavash Raha
 Author URI:   http://siastudio.net
 Template:     khashayarsanjari-unc-version
 Version:      0.1
*/

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700;900&family=Vazirmatn:wght@100;200;300;400;500;600;700;800;900&display=swap');
/*@import url('/fonts/css/all.css');*/

@font-face {
    font-family: "fontawesome";
    src:
      local("Trickster"),
      url("/fonts/webfonts/fa-solid-900.woff2") format("woff");
      font-display: swap;
  }
@font-face {
    font-family: "fontawesome";
    src:
      local("Trickster"),
      url("/fonts/webfonts/fa-brands-400.woff2") format("woff");
      font-display: swap;
  }
  @font-face {
    font-family: "fontawesome";
    src:
      local("Trickster"),
      url("/fonts/webfonts/fa-regular-400.woff2") format("woff");
      font-display: swap;
  }

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #24BAA4;
    direction: rtl;
    box-sizing: border-box;
    font-family: Vazirmatn;
    font-size: 16px;
}
a,
a:hover {
 text-decoration: none;
}
h1 {
    font-size: 48px;
    color: #ffffff;
    font-weight: 800;
    margin: 0 auto 16px;
}
h2 {
    font-size: 28px;
    font-weight: 500;
    margin: 0;
}
main {
    width: 100%;
    text-align: center;
}
.logo {
    max-width: 360px;
    margin: 0 auto;
}
.logo img {
    aspect-ratio: auto 550 / 350;
    max-width: 320px;
}
.description {
    margin: 0 auto 32px;
}
p {
    margin: 15px auto;
}
ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    justify-content: center;
    padding: 0;
}
.contact,
.links {
    max-width: 1160px;
    margin: 0 auto;
}
li {
    width: calc((100% - 32px) / 3);
    margin-left: 16px;
    margin-bottom: 16px;
}
li a {
    display: inline-block;
    width: 90%;
    border-radius: 15px;
    padding: 10px 5%;
}
li:last-child {
    margin-left: 0;
    margin-bottom: 0;
}
.contact a {
    font-size: 28px;
    font-weight: 700;
    background-color: #2F4858;
    color: #ffffff;
}
.contact a:hover {
    background-color: #F3EADA;
    color: #2F4858;
    transition: background-color .5s;
}
.links a {
    font-size: 22px;
    font-weight: 600;
    background-color: #F3EADA;
}
.links a:hover {
    background-color: #2F4858;
    color: #ffffff;
    transition: background-color .5s;
}
.apmt a {
    font-size: 26px;
    background-color: #d2ed8c;
    color: #2f4858;
    border: #2f4858 solid 1px;
}
.bot li {
    width: calc((100% - 48px) / 4);
}
.bot a {
    color: #2F4858;
}
.call,
.instagram,
.telegram,
.location,
.appointment {
    float: left;
}
.call::before {
    padding-top: 8px;
    font-size: 24px;
    font-family: fontawesome;
    content: '\f095';
    color: #ffffff;
    display: table;
}
.instagram::before {
    padding-top: 4px;
    font-size: 30px;
    font-family: fontawesome;
    content: '\f16d';
    color: #ffffff;
    display: table;
}
.telegram::before {
    padding-top: 8px;
    font-size: 24px;
    font-family: fontawesome;
    content: '\f1d8';
    color: #ffffff;
    display: table;
}
.location::before {
    padding-top: 8px;
    font-size: 24px;
    font-family: fontawesome;
    content: '\f3c5';
    color: #ffffff;
    display: table;
}
.appointment::before {
    padding-top: 8px;
    font-size: 24px;
    font-family: fontawesome;
    content: '\f274';
    color: #2f4858;
    display: table;
}
@media screen and (min-width: 320px) and (max-width: 768px) {
    h1 {
        font-size: 36px;
        margin-bottom: 5px;
    }
    h2 {
        font-size: 18px;
    }
    .logo img {
        max-width: 260px;
        height: auto;
    }
    li {
        width: 100%;
        margin: 0 0 16px 0;
    }
    .bot li {
    width: 100%;
    }
    li a {
        width: 70%;
        padding: 7px 5%;
        border-radius: 10px;
    }
    li:last-child {
        margin-bottom: 0;
    }
    .contact a,
    .links a {
        font-size: 18px;
    }
    a[href^="tel"] {
        font-size: 20px;
    }
    .call::before,
    .telegram::before {
        font-size: 18px;
        font-weight: 600;
        padding-top: 4px;
    }
    .instagram::before {
        font-size: 20px;
        padding-top: 4px;
    }
    .appointment::before {
        padding-top: 2px;
        font-size: 22px;
        font-family: fontawesome;
        content: '\f274';
        color: #2f4858;
        display: table;
    }
    .location::before {
        padding-top: 2px;
        font-size: 22px;
        font-family: fontawesome;
        content: '\f3c5';
        color: #ffffff;
        display: table;
    }
}