@font-face {
  font-family: "Gramophone";
  src:
    url("res/font/GramophoneFaNum-Grunge.woff2") format("woff2"),
    url("res/font/GramophoneFaNum-Grunge.woff") format("woff"),
    url("res/font/GramophoneFaNum-Grunge.ttf") format("truetype");
}

:root {
  --orange: #e55614;
  --blue: #161d53;
}

* {
  box-sizing: border-box;
  font-family: "Gramophone", Vazirmatn, system-ui, sans-serif;
  direction: rtl;
}

html,
body {
  overflow-x: hidden;
}

body {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: var(--orange);
  justify-content: center;
  align-items: center;
}

@media (min-width: 600px) {
  body {
    overflow: hidden;
  }
}

.logo {
  width: 96px;
  margin: 0 auto 32px auto;
  display: inline;
}

.slogan {
  width: auto;
  max-width: 200px;
  height: auto;
  margin-bottom: 24px;
}

.form {
  background: var(--blue);
  padding: 0 24px;
  width: 90%;
  max-width: 320px;
  margin-bottom: 48px;
  color: white;
  border-width: 2px;
  border-color: black;
  border-style: solid;
  flex: 1;
}

.title {
  margin: 10px auto;
  text-align: center;
}

.form input {
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  border: none;
  background: white;
  color: black;
}

.form button {
  width: 100%;
  margin-top: 15px;
  padding: 12px;
  border: none;
  background: var(--orange);
  color: white;
  font-weight: bold;
  cursor: pointer;
}

#msg {
  margin-top: 10px;
  text-align: center;
}

#portfolio {
  height: auto;
  display: grid;
  overflow-y: auto;
  overflow-x: hidden;
  margin-bottom: 48px;
}

#portfolio img {
  width: 100%;
}

footer {
  margin-top: 40px;
  font-size: 13px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

#developer-box {
  text-align-last: justify;
}

#developer-box p {
  margin: 0 auto;
  font-size: 8pt;
}

#developer-box img {
  width: 96px;
}
