* {
    box-sizing: border-box;
}
body, html {
  height: 100%;
}

body {
    font-family: Delicious;
    padding: 0px; margin: 0px;
    background-image: url("/home/images/bjSWiq.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	background-attachment: fixed;
}

/* Header/Blog Title */
.header {
    padding: 30px;
    text-align: center;
    background: none;
	color:white;
}

.header h1 {
    font-size: 50px;
}

/* Style the top navigation bar */
.topnav {
  text-align: center;
    overflow: hidden;
    background-color: rgba(0,0,0,0); /* Black w/ opacity */
}

/* Style the topnav links */
.topnav a {
    float: none;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

/* Change color on hover */
.topnav a:hover {
    background-color: #ddd;
    color: black;
}

/* Create two unequal columns that floats next to each other */
/* Left column */
.leftcolumn {   
    float: left;
    width: 75%;
}

/* Right column */
.rightcolumn {
    float: left;
    width: 25%;
    padding-left: 20px;
}

/* Fake image */
.fakeimg {
    background: none;
    width: 100%;
}

/* Add a card effect for articles */
.card {
    background-color: none;
	color:white;
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Footer */
.footer {
    padding: 20px;
    text-align: center;
    background: #ddd;
    margin-top: 20px;
}

/* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other */
@media (max-width: 800px) {
    .leftcolumn, .rightcolumn {   
        width: 100%;
        padding: 0;
    }
}

/* Responsive layout - when the screen is less than 400px wide, make the navigation links stack on top of each other instead of next to each other */
@media (max-width: 400px) {
    .topnav a {
        float: none;
        width: 100%;
    }
}

@font-face { font-family: Delicious; src: url('/home/fonts/Jura-VariableFont_wght.ttf'); }

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.925); /* Black w/ opacity */
  }
  
  /* Modal Content/Box */
  .modal-content {
    background-color: black;
    margin: 2.5% auto; /* 15% from the top and centered */
    padding: 10px;
    border: 1px solid #888;
    width: 50%; /* Could be more or less, depending on screen size */
    height: auto; /* Enable scroll if needed */
	position: relative;
	border-radius: 15px;
  }
  
  /* The Close Button */
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: red;
    text-decoration: none;
    cursor: pointer;
  }
  .center {
    margin: 0 auto;
    position: relative;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }

.camerabox {
    display: block;
    position:relative;
	top: 0px;
    left: 0px;
    overflow:auto;
    background:black;
    overflow: hidden;
    width:100%;
    height: calc((100% / 16 * 9px) + 26px);
  }
  #received_video{
    position:relative;
	top: 0px;
    left: 0px;
    /*border: 1px solid #888;*/
	/*border-radius:15px;*/
    width: 100%;
    height: calc(100% / 4 * 3px);
  }
  #local_video{
    width: 120px;
    height: 90px;
    position: absolute;
    top: 25px;
    left: 20px;
    border: 1px solid #888;
	border-radius:15px;
  }
  
  /* The "Call" button */
  #call-button {
    display:block;
    width:80px;
    height:24px;
    border-radius: 8px;
    position:relative;
    margin:0 auto;
	z-index: 1;
    background-color: rgba(150, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0px 0px 1px 2px rgba(0, 0, 0, 0.4);
    font-size: 14px;
    font-family: "Lucida Grande", "Arial", sans-serif;
    color: rgba(255, 255, 255, 1.0);
    cursor: pointer;
  }
  #call-button:hover {
    filter: brightness(150%);
    -webkit-filter: brightness(150%);
  }
  
  #call-button:disabled {
    filter: grayscale(50%);
    -webkit-filter: grayscale(50%);
    cursor: default;
  }
    /* width */
    ::-webkit-scrollbar {
        width: 15px;
    }

    /* Track */
    ::-webkit-scrollbar-track {
        box-shadow: inset 0 0 5px lime; 
        border-radius: 10px;
    }
    
    /* Handle */
    ::-webkit-scrollbar-thumb {
        background: red; 
        border-radius: 10px;
    }

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #b30000; 
    }

  /* The "Hang up" button */
  #hangup-button {
    display:block;
    width:80px;
    height:24px;
    border-radius: 8px;
    position:relative;
    margin:0 auto;
	z-index: 1;
    background-color: rgba(150, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0px 0px 1px 2px rgba(0, 0, 0, 0.4);
    font-size: 14px;
    font-family: "Lucida Grande", "Arial", sans-serif;
    color: rgba(255, 255, 255, 1.0);
    cursor: pointer;
  }
  
  #hangup-button:hover {
    filter: brightness(150%);
    -webkit-filter: brightness(150%);
  }
  
  #hangup-button:disabled {
    filter: grayscale(50%);
    -webkit-filter: grayscale(50%);
    cursor: default;
  }
    /* width */
    ::-webkit-scrollbar {
        width: 15px;
    }

    /* Track */
    ::-webkit-scrollbar-track {
        box-shadow: inset 0 0 5px lime; 
        border-radius: 10px;
    }
    
    /* Handle */
    ::-webkit-scrollbar-thumb {
        background: red; 
        border-radius: 10px;
    }

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #b30000; 
    }
  #scrolltext{
    position:absolute;
    top:calc(250 - (0px));
    width:600px;
    left:calc(50% - (600px / 2));
    height: 350px;
    color:red;
    /*background-color: rgba(255,255,255,0.3);*/
    text-align: justify;
    padding: 15px;
    
  }
  #scrolltext, p {
    text-align: justify;
  }
