* {
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  padding: 15px;
  background: beige;
  font-size: 13pt;
}

@media only screen and (orientation: portrait) {
  body {
    font-size: 16pt;
  }
}

.header {
  padding: 20px;
  text-align: center;
  background-image: url("jaza.jpg");
}

.header h1 {
  font-size: 3rem;
  background-color: beige;
  color: black;
}

.glavno {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: center;
  align-content: center;
}

.left {
  width: 65%;
  background-color: beige;
}

.right {
  width: 35%;
  background-color: beige;
}

@media only screen and (orientation: portrait) {
  .glavno {
    flex-direction: column;
  }
  .left {
    width: 100%;
  }

  .right {
    width: 100%;
  }
}

.box {
  padding: 5px;
  border: 1px solid rgb(128, 128, 128);
  margin: 5px;
}

.box .title {
  font-size: 1.4rem;
  text-align: center;
  padding: 0.5rem;
  background-color: rgb(100, 156, 152);
  border: #ddd;
  color: white;
}

a {
  text-decoration: none;
  color: purple;
}

.topnav {
  overflow: hidden;
  background-color: #07605A;
  font-size: 13pt;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.topnav a:hover {
  background-color: rgba(182, 103, 167, 0.72);
  color: white;
}

.topnav a.active {
  background-color: #B667A7;
  color: white;
}

.topnav .icon {
  display: none;
}

@media only screen and (orientation: portrait) {
  .topnav {
    font-size: 16pt;
  }

  .topnav a:not(:first-child) {
    display: none;
  }

  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media only screen and (orientation: portrait) {
  .topnav.responsive {
    position: relative;
  }

  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }

  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

.selected {
  background-color: rgb(182, 103, 167);

}

.leftp {
  width: 30%;
  background-color: beige;
}

.rightp {
  width: 30%;
  background-color: beige;

}

.middle {
  width: 40%;
  background-color: beige;
}

.container {
  padding: 16px;

}

input[type=text],
input[type=password] {
  width: 100%;
  padding: 15px;
  margin: 5px 0 22px 0;
  display: inline-block;
  border: none;
  background: #f1f1f1;
}

input[type=text]:focus,
input[type=password]:focus {
  background-color: #ddd;
  outline: none;
}

@media only screen and (orientation: portrait) {
  input {
    font-size: 14pt;
  }
}

hr {
  border: 1px solid #f1f1f1;
  margin-bottom: 25px;
}


.registerbtn {
  background-color: purple;
  color: white;
  padding: 16px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
  opacity: 0.9;
}
.button{
  background: black;
  padding: 5px; 
  color: white;
}

@media only screen and (orientation: portrait) {
  .registerbtn {
    font-size: 14pt;
  }
}

.registerbtn:hover {
  opacity: 1;
}

.w70 {
  width: 70%;
}

.w50 {
  width: 50%;
}
.w100{
  width: 100%;
}
.w25 {
  width: 25%;
}

.justified {
  display: flex;
  justify-content: center;
}

.bordered {
  border: 2px solid black;
}

.h315 {
  height: 315px;
}

.flex {
  display: flex;
}

#msgpopupcontainer {
  position: fixed;
  border: 2px solid black;
  display: none;
  flex-direction: column;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgb(255, 255, 255);
  z-index: 100;
  margin-top: 5px;
}

#msgpopup {
  width: 100%;
  height: 100%;
  padding: 10px;
  box-sizing: border-box;
}
.button{
  background-color: #07605A;
  
}