@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url("https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap");

:root {
  --primary-100: #c21d03;
  --primary-200: #fd5732;
  --primary-300: #ffb787;
  --accent-100: #393939;
  --accent-200: #bebebe;
  --text-100: #232121;
  --text-200: #4b4848;
  --bg-100: #fbfbfb;
  --bg-200: #f1f1f1;
  --bg-300: #c8c8c8;
  --font1: "Poppins", sans-serif;
  --font2: "Inter", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  font-family: var(--font2);
}

*::-webkit-scrollbar {
  height: 8px;
  width: 8px;
}
*::-webkit-scrollbar-track {
  border-radius: 20px;
  background-color: rgba(184, 184, 184, 0.6);
}

*::-webkit-scrollbar-track:hover {
  background-color: rgba(184, 184, 184, 0.8);
}

*::-webkit-scrollbar-track:active {
  background-color: rgba(184, 184, 184, 0.8);
}

*::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background-color: #3873B9;
}

*::-webkit-scrollbar-thumb:hover {
  background-color: #4789e8;
}

*::-webkit-scrollbar-thumb:active {
  background-color: #4789e8;
}

body {
  background: #ededed;
  margin: 0;
  padding: 0;
}

header {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0px 4px 18.7px 0px rgba(0, 0, 0, 0.15);
  padding: 1vh 2vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 8vh;
}

.profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile p {
  margin: 0;
  color: #000;
  font-size: 17px;
  font-weight: 300;
}

.profile-name {
  display: flex;
  flex-direction: column;
  text-align: right;
  gap: 2px;
}

.profile .name {
  font-weight: 600;
}

.logo {
  height: calc(100% - 1vh);
  display: flex;
  flex-direction: row;
  align-items: center;
  text-decoration: none;
  color: #3873B9;
  font-weight: 600;
  font-size: 1.2em;
}

.logo svg {
  height: 100%  ;
}

.profile svg {
  height: 5vh;
  cursor: pointer;
  fill: #3873B9;
  border: none;
  stroke-width: 3px;
  stroke: #3873B9;
}

.profile-dropdown {
  z-index: 100;
  position: absolute;
  top: 8vh;
  right: 0;
  background: rgba(255, 255, 255, 0.9);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1em;
  height: 20vh;
  width: 20vw;
  padding: 2vh 2vw;
  border-radius: 0 0 0 20px;
}

.show {
  display: flex;
}

.profile-dropdown a {
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  color: #4789e8;
}

.profile-dropdown a:hover {
  text-decoration: underline;
}

.popup {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.6);
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.popup .popup-inner {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1vh;
}

.popup-innershow {
  display: flex !important;
}

.popupshow {
  display: flex !important;
}

.message {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  padding: 2vh 2vw;
  position: fixed;
  top: 75%;
  right: -50vw;
  bottom: 15%;
  width: auto;
  min-width: 20vw;
  max-width: 50vw;
  border-radius: 20px 0 0 20px;
  background: rgba(255, 255, 255, 0.6);
  z-index: 55;
  transition: right 0.75s ease-in-out;
}

button.publikovat {
  color: white;
  background: #4789e8;
  border: none;
  padding: 1.5vh;
  border-radius: 15px;
  cursor: pointer;
}

.message:hover {
  outline: 1px #4789e8;
}

.messageshow{
    right: 0;
}

.message svg {
  width: 1rem;
  height: 1rem;
  fill: black;
  margin: 0;
}

.message p {
  font-family: var(--font2);
  font-size: 0.8em;
  margin: 0 2vw 0 .5vw;
}

.message button {
  border: none;
  font-family: var(--font1);
  background: none;
  color: #76a0dc;
  font-weight: 900;
  padding: 0;
  transition: all 0.25s ease-out;
  cursor: pointer;
}

.message button:hover {
  color: #4789e8;
}

.green {
  fill: green !important;
}

.red {
  fill: red !important;
}

.flex-2{
  flex: 2;
}

.flex-25{
  flex: 2.5;
}

.flex-3{
  flex: 3;
} 

@media (max-width: 768px) {
  header {
    padding: 3vh 4vw;
    height: 12vh;
  } 

  .profile-dropdown {
    top: 12vh;
    height: 25vh;
    width: 50vw;
  }

  .message {
    max-width: 85vw;
    gap: 1em;
    right: -85vw;
  }
}