@import url('https://fonts.googleapis.com/css2?family=BBH+Sans+Hegarty&family=Permanent+Marker&family=Signika+Negative&display=swap');

*{
  cursor: url('toolgun_ressources/cur/NormalSelect.cur') 16 16, auto !important;
}

body{
    background-image: url('background_web.jpg');
}

header{
    text-align: center;
    padding: 2rem 1rem;
    background-color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid #ddd;
    width: 50%;
    margin: 1rem auto;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: 'Permanent Marker';
}

header p{
    font-family: 'Signika Negative';
}

.hidden{
  display: none;
}

.anotherimportbutbetter{
  text-align: center;
  padding: 1rem 1rem;
  background-color: rgba(255, 255, 255, 0.8);
  width: 20%;
  margin: 0;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-family: 'Signika Negative';
}

.importortakelive{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}

.webcam-icon{
  width: 150px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.webcam-icon:hover{
  transform: scale(1.1);
}

#fileInput{
  display: none;
}

#filename{
  margin-top: 10px;
  color: #333;
  font-weight: bold;
  font-family: 'Signika Negative';
}

.upload-icon{
  width: 150px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.upload-icon:hover{
  transform: scale(1.1);
}

footer .footerthing{
  text-align: center;
  padding: 1rem;
  background-color: rgba(255,255,255,0.8);
  margin: 1rem auto;
  width: fit-content;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  font-family: 'Signika Negative';
}

.camerapreview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 1rem;
  border-radius: 15px;
  width: 80%;
  margin: 1rem auto;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  font-family: 'Signika Negative';
}

.infobuttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.infobuttons button {
  padding: 0.5rem 1rem;
  border: none;
  background-color: rgba(0,0,0,0.1);
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Signika Negative';
  font-weight: bold;
}

.editorimage {
    max-width: 80%;
    max-height: 80%;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    background-color: #333;
    cursor: crosshair;
}


.actualcamera video {
  border-radius: 20px;
  width: 100%;
  height: auto;
  display: block;
}

.countdown {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  font-weight: bold;
  color: white;
  text-shadow: 2px 2px 8px black;
}

#editorsection{
  display: none;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  background: transparent;
}

#editorsection:not(.hidden){
  display: flex;
}

.editorbuttons{
  position: fixed;
  top: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 1000;
}

.maineditoractivity{
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
    position: relative;
    top: 0;
}

.editorbuttons button,
.maineditoractivity button{
  border: 2px solid rgba(0, 0, 0, 0.2);
  background-color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 12px;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.editor{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
}