@font-face
{
  font-family: 'Lato', sans-serif;
}

*
{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Lato', sans-serif;
}

body
{
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #9c191a;
  margin: auto;
}

*, *:before, *:after
{
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


.background
{
  display: flex;
  min-height: 100vh;
}

.container
{
  flex: 0 1 700px;
  margin: auto;
  padding: 10px;
}

.screen
{
  position: relative;
  background: #3e3e3e;
  border-radius: 15px;
}

.screen:after
{
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  bottom: 0;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
  z-index: -1;
}

.screen-header
{
  display: flex;
  align-items: center;
  padding: 10px 20px;
  background: #4d4d4f;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.screen-header-left
{
  margin-right: auto;
}

.screen-header-button
{
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 3px;
  border-radius: 8px;
  background: white;
}

.screen-header-button.close
{
  background: #ed1c6f;
}

.screen-header-button.maximize
{
  background: #e8e925;
}

.screen-header-button.minimize
{
  background: #74c54f;
}

.screen-header-right
{
  display: flex;
}

.screen-header-ellipsis
{
  width: 3px;
  height: 3px;
  margin-left: 2px;
  border-radius: 8px;
  background: #999;
}

.screen-body
{
  display: flex;
}

.screen-body-item
{
  flex: 1;
  padding: 50px;
}

.screen-body-item.left
{
  display: flex;
  flex-direction: column;
}

.app-title
{
  display: flex;
  flex-direction: column;
  position: relative;
  color: #fff;
  font-size: 26px;
}

.app-title:after
{
  content: '';
  display: block;
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 25px;
  height: 4px;
  background: #7c2266;
}

.app-contact
{
  margin-top: auto;
  font-size: 18px;
  color: #888;
}

.app-contact a
{
  margin-top: auto;
  font-size: 18px;
  color: #888;
  text-decoration: none;
}

.app-contact a:hover
{
  color: #7c2266;
  transition: 0.5s;
}

.app-form-group
{
  margin-bottom: 15px;
}

.app-form-group.message
{
  margin-top: 40px;
}

.app-form-group.buttons
{
  margin-bottom: 0;
  text-align: right;
}

.app-form-control
{
  width: 100%;
  padding: 10px 0;
  background: none;
  border: none;
  border-bottom: 1px solid #666;
  color: #ddd;
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
}

.app-form-control::placeholder
{
  color: #666;
}

.app-form-control:focus
{
  border-bottom-color: #ddd;
}

.app-form-button
{
  background: none;
  border: none;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  outline: none;
  transition: 0.5s;
}

.app-form-button:hover
{
  color: #7c2266;
}

@media screen and (max-width: 520px)
{
  .screen-body
  {
    flex-direction: column;
  }

  .screen-body-item.left
  {
    margin-bottom: 30px;
  }

  .app-title
  {
    flex-direction: row;
    margin-bottom: 10px;
  }

  .app-title span
  {
    margin-right: 12px;
  }

  .app-title:after
  {
    display: none;
  }
}

@media screen and (max-width: 600px)
{
  .screen-body
  {
    padding: 40px;
  }

  .screen-body-item
  {
    padding: 0;
  }
}

header
{
  position: fixed;
  z-index: 3;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  padding: 0 100px;
  background: #9c191a;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  transition: 1s;
}

header .banner
{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  object-fit: cover;
  transition: 1s;
}

header .logo:hover
{
  color: #000;
  transition: 0.5s;
}

header .logo
{
  position: absolute;
  font-size: 3em;
  left: 100px;
  text-decoration: none;
  color: #fff;
  transition: 0.5s;
}

nav
{
  position: relative;
  display: flex;
  z-index: 2;
}

nav ul
{
  position: relative;
  display: flex;
  transition: 0.25s;
  opacity: 1;
}

nav ul li
{
  list-style: none;
}

nav ul li a
{
  color: #fff;
  display: inline-block;
  padding: 10px 15px;
  font-size: 1.2em;
  text-decoration: none;
}

nav ul li a:hover
{
  color: #000;
  transition: 0.5s;
}

h2
{
  margin: 150px 20px 20px 20px;
  color: #fff;
  font-size: 1.6em;
  text-align: justify;
  font-weight: normal;
}

@media(max-width: 991px)
{
  header .logo
  {
    left: 40px;
  }
  nav ul
  {
    display: none;
    opacity: 0;
    visibility: hidden;
  }
nav.active ul
  {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #9c191a;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    visibility: visible;
    opacity: 1;
  }
  nav ul li a
  {
    font-size: 2em;
  }

  header .toggle
  {
    position: fixed;
    top: 15px;
    right: 40px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    background: #fff url(sources/menu.png);
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: center;
  }
  header .toggle.active
  {
    background: #fff url(sources/close.png);
    background-size: 25px;
    background-repeat: no-repeat;
    background-position: center;
  }
}
