@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    font-weight: lighter;
}

a {
    text-decoration: none;
    color: #fff;
}

body {
    background-image: url(../sources/images/background.png);
    overflow: hidden
}

.logo {
    display: block;
    margin: 20px auto;
    width: 200px;
    height: auto;
    margin-left: -20px;
    margin-top: -20px;
}



nav {
    position: absolute;
    top: 60px;
    right: 83px;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin-top: 0; /* usuń margines, bo pozycjonowanie absolutne */
}

nav ul {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    /* opcjonalnie, jeśli chcesz dodatkowe wyrównanie */
    display: flex;
    align-items: center;
}

.nav-text {
    font-size: 14px;
}

nav a:hover {
    color: #ccff7b;
}


*, *:before, *:after {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* body {
  background: linear-gradient(to right, #ea1d6f 0%, #eb466b 100%);
  font-size: 12px;
} */

body, button, input {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.background {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* zmiana z center na flex-start */
    background: transparent;
    padding-top: 60px; /* dodaj odstęp od góry */
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.screen {
  position: relative;
  background: rgba(40, 40, 40, 0.12); /* większa przezroczystość */
  border-radius: 24px;
  width: 760px;
  min-height: 520px;
  max-width: 98vw;
  box-shadow: none; /* usuń glow/cień */
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  border: 1.5px solid rgba(255,255,255,0.14);
  overflow: hidden;
  transition: none;
}

.screen:before {
  display: none; /* usuń gradientowy overlay */
}

.screen-header {
  display: flex;
  align-items: center;
  padding: 18px 32px;
  background: rgba(77, 77, 79, 0.65);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 12px 0 rgba(31,38,135,0.07);
}

.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: #ccff7b;
}

.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;
  position: relative;
  z-index: 1;
}

.screen-body-item {
  flex: 1;
  padding: 70px;
  position: relative;
  z-index: 1;
}

.screen-body-item.left {
  display: flex;
  flex-direction: column;
}

.app-title {
  display: flex;
  flex-direction: column;
  position: relative;
  color: #ccff7b;
  font-size: 26px;
}

.app-title:after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 25px;
  height: 4px;
  background: #ccff7b;
}

.app-contact {
  margin-top: auto;
  font-size: 8px;
  color: #888;
}

.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;
  text-transform: uppercase;
  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: #ccff7b;
  font-size: 14px;
  cursor: pointer;
  outline: none;
}

.app-form-button:hover {
  color: #ffffff;
}


.credits-link {
  display: flex;
  align-items: center;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

.dribbble {
  width: 20px;
  height: 20px;
  margin: 0 5px;
}

.form-popup {
  font-size: 18px;
  font-weight: bold;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  text-align: center;
}

@media screen and (max-width: 520px) {
  .screen-body {
    flex-direction: column;
  }

  .screen-body-item.left {
    margin-bottom: 30px;
  }

  .app-title {
    flex-direction: row;
  }

  .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;
  }
}

@media screen and (max-width: 800px) {
  .screen {
    width: 99vw;
    min-height: unset;
    border-radius: 16px;
  }
  .screen-header {
    border-radius: 16px 16px 0 0;
    padding: 12px 16px;
  }
  .screen-body-item {
    padding: 24px;
  }
}
