@font-face {
  font-family: 'Gilroyextrabold';
  src: url('font/Gilroyextrabold.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manroperegular';
  src: url('font/Manroperegular.ttf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manropebold';
  src: url('font/Manropebold.ttf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}


body {
  font-family: 'Manroperegular', sans-serif;
}

.heading {
  font-family: 'Manropebold', sans-serif;
  font-size: 1.6em;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 16px;
}


header {
  background: #5271FF;
  color: #FFFFFF;
}

header h1 {
  font-family: 'Gilroyextrabold', sans-serif;
  font-size: 1.6em;
}

footer {
  text-align: center;
  font-size: 0.7em;
  color: #545454;
}

.vacancycard {
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
  border: 1px solid #d9d9d9;
}

.vacancytitle {
  font-size: 1.6em;
  font-family: 'Manropebold', sans-serif;
  margin-bottom: 7px;
}

.vacancysalary {
  font-family: 'Manropebold', sans-serif;
  font-size: 1.3em;
  margin-bottom: 16px;
  color: #000000;
}

.vacancycompany {
  color: #545454;
  margin-bottom: 7px;
  font-size: 1.0em;
}

.vacancyaddress {
  color: #545454;
  margin-bottom: 16px;
  font-size: 1.0em;
}

.vacancytag {
  margin-bottom: 12px;
}

.tag {
  display: inline-block;
  background: #d9d9d9;
  color: #545454;
  border-radius: 4px;
  padding: 7px;
  font-size: 0.7em;
  margin-right: 4px;
  margin-bottom: 4px;
}

.vacancybutton {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}

.contacts {
  padding: 7px;
  border: none;
  border-radius: 7px;
  font-family: 'Manropebold', sans-serif;
  text-decoration: none;
  text-align: center;
  background: #5271FF;
  color: #FFFFFF;
  padding: 7px;
  cursor: pointer;
}

.contacts:hover {
    background: #FF5757;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
}

.modalcontent {
    background-color: #fff;
    margin: 250px auto;
    padding: 13px;
    border-radius: 7px;
    width: 250px;
    text-align: center;
}

.modalcontent h2 {
    margin-bottom: 13px;
    font-size: 1.0em;
}

.modalcontent ul {
    list-style: none;
}

.modalcontent li {
    margin: 7px 0;
}

.modalcontent a {
    text-decoration: none;
    color: #5271FF;
}

.close {
    float: right;
    font-size: 25px;
    cursor: pointer;
}