
html {
  scroll-behavior: smooth;
}

.mainCover {
    position: absolute;
    width: 100vw;
    max-width: 100%;
    height: 100%; 
    background-color: var(--background-color);
    color: var(--text-color);
    transition: background-color 0.5s, color 0.5s;
    -webkit-transition: background-color 0.5s, color 0.5s;
    left: 0;
    top: 0;
    display: table;
}


.mainCover .centerElement {
    text-align: center;
    display: table-cell;
    vertical-align: middle;
}

.mainCover .row {
  display: table-row;
}

.mainCover .bottomElement {
    display: table-cell;
    text-align: center;
    vertical-align: bottom;
}

.mainCover p {
    margin-top: -2vw; /* Shift it up a bit */
    font-size: 20pt;
    margin-bottom: 5px; /* Icons closer vertically */
}

/* Clickable icons */
.mainCover a {
  text-decoration: none;
    padding: 10px;
}
.mainCover .figure{
    display:inline-block;
    width:35px;
    height: 35px;
    border-radius: 20px;
    font-size: 25px;
    text-align: center;
    background-color: #474747;
    line-height: 1.7em;
    text-decoration: none;
}
.mainCover .figure:hover {
    opacity: 0.7;
}
.mainCover .figure img{
    position: relative;
   width: 18px;
    height: auto;
    top: -3px;
}

/*
* Temporary slider code
*/
  /* The switch - the box around the slider */
  .switch {
    position: relative;
    display: inline-block;
    width: 17px;
    height: 17px;
    -webkit-transition: .4s;
    transition: .4s;
  }

  .switch:hover {
    width: 30px;
  }
  
  /* Hide default HTML checkbox */
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  /* The slider */
  #outer {
    position: absolute;
    cursor: pointer;
    top: -6px;
    left: -2px;
    right: 2px;
    bottom: 6px;
    background-color: #82828275;
    -webkit-transition: .4s;
    transition: .4s;
    
    border-radius: 17px;
  }

  #inner {
    position: absolute;
    cursor: pointer;
    content: "";
    width: 13px;
    height: 13px;
    left: 0px;
    bottom: 8px;
    background-color: #000000;
    -webkit-transition: .4s;
    transition: .4s;
    
    border-radius: 50%;
  }

  .switch input:checked ~ #inner {
    height: 10px;
    width: 10px;
    left: 4px;
    bottom: 10px;
  }

  #outer:before {
    position: absolute;
    content: "";
    height: 13px;
    width: 13px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    
    border-radius: 50%;
  }

  .switch:hover input:checked ~ #inner {
    -webkit-transform: translateX(13px);
    -ms-transform: translateX(13px);
    transform: translate(13px);
  }


  .switch:hover input:checked + #outer:before {
    -webkit-transform: translateX(13px);
    -ms-transform: translateX(13px);
    transform: translateX(13px);
  }