html{
  scroll-behavior: smooth;
}
body{
  font-family: 'Lato', sans-serif;
}

h1, h2, h3, h4, h5, h6{
    text-align: center;

}
h4{
  font-size: 1.2rem;
}
p{
    text-align: center;
    font-size: 17px;

}

.arrow{
  color: lightgray; 
  background-color:rgba(0, 0, 0, 0.3);
  padding: 1%;
  margin-right: 2%;
  border-radius: 50%;
  top: 86.5%;
  right: 0;
  position: absolute;
  scroll-behavior: smooth;
  
}
.arrow:hover{
  font-size:larger;
  color:white;
  transition: 0.3s;
  padding: 1.5%;
  
}



.box{
  
  width: 92%;
 
  
  margin-right: 4%;
  margin-left: 4%;
  background-color: rgba(0, 0, 0, 0.1);
  
  
  float: right;

}
.box-2{
  
  width: 70%;
 
  
  margin-right: 15%;
  margin-left: 15%;
  background-color: rgba(0, 0, 0, 0.1);
  
  
  float: right;

}
.box-image-left{
  width: 35%;
  height: 230px;
  
  
  float: left;
}
.box-image-right{
  width: 35%;
  height: 230px;
  float: right;

  
}
.box-image-left-2{
  width: 80%;
  margin:10%;

  
  
  float: none;
}
.box-image-2{
  width: 100%;
  margin-bottom: 3%;
 

  
  
  float: none;

}
@media screen and (max-width: 700px) {
  .box-image-right{
    width: 100%;
    float:none;

  }
  .box-image-left{
   width: 100%;
   float:none;
  }
  .arrow{
    top: 60%;
    
  
  }
  }

.carousel-box{
  width: 92%;
  height: 45%;
  
  margin-right: 4%;
  margin-left: 4%;
  background-color: rgba(0, 0, 0, 0.1);

  
  
  float: right;
}
  
.bg-image{

  background-size:cover;
  background-repeat: no-repeat;
  background-image: url('img/HOME.jpg');
  
  height: 100vh;
  
  
}
.speaking{
  background-image:url('img/SPEAKING.JPG') ;
}
.roles{
  background-image: url('img/ROLES2.jpg');
}
.about{
  background-image: url('img/ABOUT.jpg');
}
.publications{
  background-image: url('img/BOOK.png');
}
@media screen and (max-width: 700px) {
  .bg-image{
    
    height: 70vh;
    margin: 0 auto;
    
  }
  .home{
    background-image: url('img/HOME-MOBILE.jpg');
  }
  .speaking{
    background-image: url('img/SPEAKING-MOBILE.JPG');
  }
  .roles{
    background-image: url('img/ROLES2.jpg');
  }
  .about{
    background-image: url('img/ABOUT.jpg');
  }
  .publications{
    background-image: url('img/BOOK-MOBILE.png');
  }
  
  }
.row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

/* Create four equal columns that sits next to each other */
.column {
  flex: 25%;
  max-width: 25%;
  padding: 0 4px;
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
  
  
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
  .column {
    flex: 50%;
    max-width: 50%;
  }
    
  
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column {
    flex: 100%;
    max-width: 100%;
  }

}

.img-fluid{
  margin: 1%;
}

.carousel-caption{
  color:white;
  background-color: rgba(0, 0, 0, 0.5);
}

div.gallery {
    border: 1px solid #ccc;
  }
  
  div.gallery:hover {
    border: 1px solid #777;
  }
  
  div.gallery img {
    width: 100%;
    height: auto;
  }
  
  div.desc {
    padding: 15px;
    text-align: center;
  }
  
  * {
    box-sizing: border-box;
  }
  
  .responsive {
    padding: 0 6px;
    float: left;
    width: 24.99999%;
  }
  
  @media only screen and (max-width: 700px) {
    .responsive {
      width: 49.99999%;
      margin: 6px 0;
    }
  }
  
  @media only screen and (max-width: 500px) {
    .responsive {
      width: 100%;
    }
  }
  
  .clearfix:after {
    content: "";
    display: table;
    clear: both;
  }
.row > .column {
    padding: 0 8px;
  }
  
  .row:after {
    content: "";
    display: table;
    clear: both;
  }
  
  /* Create four equal columns that floats next to eachother */
  .column {
    float: left;
    width: 25%;
  }
  
  /* The Modal (background) */
  .modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: black;
  }
  
  /* Modal Content */
  .modal .modal-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 90%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: .3rem;
    outline: 0;
    margin:0 auto;
  }
  
  /* The Close Button */
  .close {
    color: white;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
  }
  
  /* Hide the slides by default */
  .mySlides {
    display: none;
  }
  
  /* Next & previous buttons */
  .prev,
  .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: red;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
  }
  
  /* Position the "next button" to the right */
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  
  /* On hover, add a black background color with a little bit see-through */
  .prev:hover,
  .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }
  
  /* Number text (1/3 etc) */
  .numbertext {
    color: black;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }
  
  /* Caption text */
  .caption-container {
    text-align: center;
    background-color: black;
    padding: 2px 16px;
    color: white;
  }
  
  img.demo {
    opacity: 0.6;
  }
  
  .active,
  .demo:hover {
    opacity: 1;
  }
  
  img.hover-shadow {
    transition: 0.3s;
  }
  
  .hover-shadow:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  }
.div-clear{
    clear:both;
  }

.navbar{
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  position: fixed;
  width: 100%;
  z-index: 1;
}
.navbar:hover{
  background-color: rgba(0, 0, 0, 0.8);
  color: black;
  transition: 0.5s;
}
.navbar .nav-item{
    
            
    padding: 0.5em;
    font-size: 0.8em;
    text-align: center;
}
.navbar .nav-item:hover{
    background-color: darkgray;
    color:white;
    font-size: 0.8em;
    transition: 0.4s;
}
.navbar .navbar-brand{
    font-size: 200%;
}
.nav .nav-link{
    color:white;
}
.nav .nav-link:hover {
     
    background-color:rgba(0,0,0,0.2);
}
.h-70{
    height: 17rem;
    
 
}
div.gallery{
    border: none;
    margin-left: 15%;
    margin-right: 15%;
}

.padding0{
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    padding-top: 0;
    margin-left: 0;
    margin-right: 0;
}
.carousel .carousel-caption{
    color: white;
    
    
    
}
.carousel .carousel-inner{
  width: 70%;
  margin: 0 auto;
}
.carousel .carousel-control-next-icon, .carousel-control-prev-icon{
  color: yellow;
  background-color: black;
  
  padding: 3%;
}
.interim{
    background-color: white;
    height: 10rem;
    color: gray;
    font-size: 1rem;
    padding: 4%;
    text-align: center;
    z-index: -1;
}
.study{
    background-image: url('Social.jpg');
  
    padding: 4%;
    text-align: center;
    z-index: -1;
}
.study p{
    background-color: rgba(0,0,0,0.5);
    color: white;
}
s
  .w-50{
      width: 90%;
      height: 200px;
      margin:0 auto;
     
  }

  .card{
      text-align: center;
      border: none;
      
  }
  .card-footer:last-child{
      background-color: #ffe6d0;
      border-radius: 5px;
  }

.btn:hover{
    padding: 7px;
    transition: 0.3s;
}
.footer{
    background-color: rgba(0,0,0,0.7);
    text-align: center;
    color: white;
    font-size: 10px;
}
.footer a{
    color: white;
}
.footer a:hover{
    color: white;
    text-decoration: underline;
}
@media screen and (min-width: 508px){
.chalk{
    margin-left: 15%;
    margin-right: 15%;
}
.chalk2{
    margin-left: 15%;
    margin-right: 15%;
}
.notice{
    margin-left: 15%;
    margin-right: 15%;
}
}
@media screen and (min-width: 768px){
.h-70{
        height: 35rem;
    }


.w-50{
    width: 40%;
}
.chalk{
    margin-left: 28%;
    margin-right: 28%;
}
.chalk2{
    margin-left: 28%;
    margin-right: 28%;
}
.notice{
    margin-left: 20%;
    margin-right: 20%;
}
}








