@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400&display=swap');

body {
    background: black;
    color: grey;
    margin: 0;
    padding: 0;
    height: 100%;
	width: 100%;
    font-family: 'Roboto Condensed', sans-serif;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

main {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	max-width: 600px;
	min-width: 96%;
}

main img {
	max-width: 600px;
	height: auto;
}

main #player {
	width: 98%;
	max-height: 40%;
}

h3 {
    text-align: center;
}

button {
    background-color: #ddb312;
	color: #000000;
	font-size: 16px;
    border: none;
    width: 100%;
    height: 40px;
}

.larmbutton {
    margin-top: 50px;
    margin-bottom: 150px;
    display: flex;
    justify-content: center;
}

#larmButton {
	margin-top: 50px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
	font-size: 24px;
}

#livestreamHornButton {
	width: 180px;
	height: 180px;
	border-radius: 50%;
	font-size: 24px;
}

img {
    width: 100%;
    height: auto;
}

hr {
	border: 1px solid #ddb312;
	width: 100%;
	margin-top: 20px;
	margin-bottom: 5px;
}

/* Inspelningar */
.recordings {
	display: flex;
	flex-direction: column;
	align-items: center;
	widht: 100%;

}
.recording {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: auto;
	height: auto;
}
.recording-delete {
	background-color: #a83d46;
}
.recordings-end {
	margin-bottom: 100px;
}
nav {
    background-color: rgb(31, 31, 31);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 95px;
    width: 100%;
}

nav p {
    margin: 0 0 10px 0;
}

.navbar-home {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.navbar-live {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.navbar-recordings {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.navbar-settings {
    display: flex;
    flex-direction: column;
    align-items: center;
}

nav a i {
    font-size: 35px;
    color: lightgray;
    padding: 20px 20px 3px 20px;
}

.navbar-selected i {
    color: #ddb312;
}

.navbar-selected p {
    color: #ddb312;
}

input[type=text] {
    width: 97%;
    border: none;
    background: rgb(36, 36, 36);
    color: white;
    height: 35px;
    font-size: 18px;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
    outline: none;
}

input[type=password] {
    width: 97%;
    border: none;
    background: rgb(36, 36, 36);
    color: white;
    height: 35px;
    font-size: 18px;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
    outline: none;
}

input[type=text]:focus {
    border: 2px solid #ddb312;
	max-width: 97%;
}

input[type=text]:focus {
	border: 2px solid  #ddb312;
	max-width: 97%;
}

footer {
    width: 100%;
    position: fixed;
    bottom: 0;
}

#larmstatus {
    text-align: center;
}

.alarmFunction {
    margin-top: 5px;
    margin-bottom: 5px;
    display: flex;
    flex-direction: column;
	width: 100%;
	align-items: left;
}

.alarmFunction p {
    font-size: 18px;
    margin: 7px 0 0 5px;
}

.onlyHorn {
    display: flex;
    flex-direction: row;
}

.onlyLights {
    display: flex;
    flex-direction: row;
}

.silentAlarm {
    display: flex;
    flex-direction: row;
}

.cameraAlwaysOn {
    display: flex;
    flex-direction: row;
	width: 100%;
	align-items: left;
}

.cameraAlwaysOn p {
    font-size: 18px;
    margin: 7px 0 0 5px;
}

.pirSensor {
	display: flex;
	flex-direction: row;
	width: 100%;
	align-items: left;
}

.pirSensor p {
	font-size: 18px;
	margin: 7px 0 0 5px;
}

#settingsSaveButton {
    margin-top: 20px;
    margin-bottom: 100px;
}

/* FÖR SWITCHARNA */

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin-bottom: 5px;
  }
  
  /* Hide default HTML checkbox */
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  /* The slider */
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(31, 31, 31);
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: #fff;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: #ddb312;
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px #ddb312;
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }

  /* FÖR SWITCHARNA */
