/**************************************************************************
/*
/* dive and relax
/*
/*************************************************************************/

* {
  box-sizing: border-box;
}

body, html {
  height: 100%;
}

html {
  position: relative;
}

body { 
  margin: 0;
  padding: 0;
}

body:not(.home):not(.error404) {
//  padding-top: 103px;
  padding-top: 60px;
}

@media (min-width: 768px) {
  body:not(.home):not(.error404) {
    padding-top: 103px;
  }
}

body.background-image {
  background: url(../images/assets/background-1024x576.webp);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
}

@media (min-width: 1024px) {
  body.background-image {
    background: url(../images/assets/background-1920x1080.webp);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    background-attachment: fixed;
  }
}

/************************************************************************************/
/*
/* content container
/*
/* https://stackoverflow.com/questions/24665602/scrollintoview-scrolls-just-too-far/56391657#answer-67923821
/*
/************************************************************************************/

.container {
  width: 95%;
  max-width: 980px;
  margin: 10px auto 0 auto;
  scroll-margin-top: 30px;
  min-height: calc(100vh - 103px);
}

.home .container {
  padding-top: 10px;
}

.container.login {
  position: fixed;
  top: 12%;
  z-index: 10;
  width: 100%;
  max-width: 100%;
}

/*********************************************************************************
/*
/* prevent user select 
/*
/********************************************************************************/

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

/*********************************************************************************
/*
/* media break-points 
/*
/********************************************************************************/

.text-center {
  text-align: center;
}

/* size xs */

.hidden-xs {
  visibility: hidden;
  display: none;
}

.hidden-md {
  visibility: hidden;
  display: none;
}

.visible-xs {
  visibility: visible;
  display: block;
}

.visible-md {
  visibility: hidden;
  display: none;
}

/* size md */

@media screen and (min-width: 432px) {

  .visible-md,
  .hidden-xs {
    visibility: visible;
    display: block;
  }

  .hidden-md {
    visibility: hidden;
    display: none;
  }

  .visible-xs {
    visibility: hidden;
    display: none;
  }
}

/* size lg */

@media screen and (min-width: 660px) {

  .hidden-xs,
  .hidden-md {
    visibility: visible;
    display: block;
  }

  .visible-md,
  .visible-xs {
    visibility: hidden;
    display: none;
  }

  .hidden-lg {
    visibility: hidden;
    display: none;
  }
}

/************************************************************************************/
/*
/* page anchor for fixed header
/*
/************************************************************************************/

.anchor {
  display: block;
  position: relative;
  visibility: hidden;
}
