@font-face {
  font-family: "iransansx";
  src: url(/fonts/IRANSansX-Regular.woff2);
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "iransansx";
  src: url(/fonts/IRANSansX-Bold.woff2);
  font-weight: bold;
  font-style: normal;
}

html {
  font-size: 62.5%;
}

*,
*::after,
*::before {
  box-sizing: border-box;
}

body {
  background: url(../images/Subtle-Prism.svg);
  margin: 0;
}

main {
  text-align: center;
}

p {
  font-family: "Patua One", cursive;
}

.persian {
  font-family: "iransansx";
  font-weight: bold !important;
}

.card__cover {
  width: 200px;
  display: block;
  margin: auto;
  padding: 1rem;
  border-radius: 25px;
}

.container {
  margin: 5rem 1rem;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  justify-content: center;
}

.card {
  display: inline-block;
  justify-content: center;
  align-items: center;
  align-content: center;
  align-self: center;
  margin: 1.3rem;
  border-radius: 15px;
  width: 380px;
  height: 500px;
  background: url(../images/Repeating-Chevrons.svg);
  border: 4px dotted orange;
  transition: transform 1s;
}

.card:hover {
  transform: scale(1.05);
}

a:visited {
  color: black;
}

a:hover,
a:focus {
  color: rgb(75, 15, 238);
}

a:link {
  text-decoration: none;
}

.card__title {
  color: rgb(0, 0, 238);
  font-size: 1.9rem;
  font-weight: bold;
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 4rem;
  white-space: nowrap;
}

.card__description {
  color: brown;
  font-size: 1.7rem;
  font-weight: 500;
  white-space: nowrap;
  line-height: 1.5;
}

.card p {
  padding: 5px;
}

@media screen and (max-width: 700px) {
  .card {
    width: 215px;
    height: 455px;
  }
  .card__title {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }
  .card__description {
    font-size: 1rem;
  }
}

.topnav {
  overflow: hidden;
  background: rgb(63, 94, 251);
  background: radial-gradient(
    circle,
    rgba(63, 94, 251, 1) 0%,
    rgba(70, 233, 252, 1) 100%
  );
}

.topnav a {
  float: right;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav a.active {
  background-color: #04aa6d;
  color: white;
}

.topnav .icon {
  display: none;
}

/* @media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .topnav.responsive {
    position: relative;
  }
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

.nav-img {
  width: 35px;
  margin: 3px 3px;
  justify-content: center;
  align-items: center;
} */
