:root {
  --bg:     #f0fff6;    /* website background   */
  --bg-c:   #ffffff66;  /* card background      */
  --p:      #0c6633;    /* primary green        */
  --p2:     #0c663366;
  --p3:     #0c663322;
  --s:      #b1d5f1;    /* secondary light-blue */
  --a:      #2075b6;    /* link colour          */
  --a2:     #2075b677;
}



/* GENERAL */

* {
  font-family: 'Bricolage Grotesque', sans-serif; 
  box-sizing: border-box;
}

body {
  background-color: var(--bg);
}

::selection {
  color: white;
  background: var(--p);
}

#scrollTop {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  font-size: 18px;
  outline: none;
  background-color: var(--p);
  color: white;
  cursor: pointer;
  padding: 2px 0px 0px 0px;
  border-radius: 10px;
  min-width: 40px;
  min-height: 39px;
  transition: 0.2s;
  border: 2px solid var(--bg);
}

#scrollTop:hover {
  background-color: var(--a);
  border-radius: 20px;
}



/* HEADER */

.header {
  overflow: hidden;
  background-color: var(--p);
  padding: 15px;
  border-radius: 10px;
  user-select: none;
}

.header a {
  float: left;
  color: white;
  text-align: center;
  padding: 12px;
  text-decoration: none;
  font-size: 18px; 
  line-height: 25px;
  transition: 0.1s;
}

.header a.logo {
  font-size: 25px;
  max-width: 201px;
  text-align: left;
  border-radius: 20px;
  background-color: white;
  color: var(--p);
  font-weight: bold;
}

.header a:hover:not(.logo) {
  background-color: #ffffffee;
  border-radius: 40px;
  color: var(--p);
  transition: 0.3s;
}

.header-right {
  float: right;
  position: relative;
  top: 25px;
}

.header-right > a {
  margin: 0px 3px;
}

@media screen and (max-width: 610px) {
  .header {text-align: center;}

  .header a {
    float: none;
    display: block;
    text-align: center;
  }
  
  .header a.logo {
    max-width: 500px;
    text-align: center;
  }
  
  .header-right {
    float: none;
    top: 10px;
  }
}



/* BODY */

.normlink {
  color: var(--p);
}

.normlink:hover {
  color: var(--a);
}

#vid {
  width: 100%;
  height: auto;
  border-radius: 10px;
  overflow: hidden;  
}

.card {
  background: var(--bg-c)
}

.card {
  padding: 4px 20px;
  border-radius: 8px;
  border: 2px solid var(--p3);
}

.pidl:hover {
  color: var(--p);
}

h1 {
  text-align: center;
}

.uline {
  width: 80px;
  height: 1px;
  border-width: 0;
  background-color: var(--p);
}

.pline {
  width: 100%;
  height: 1px;
  border-width: 0;
  background-color: var(--p);
  opacity: 0.2;
}

#greeting {
  opacity: 1;
  transition: opacity 0.5s;
}

.hide {
  opacity: 0 !important;
}

#reviews {
  min-height: 340px;
}

#cover {
  position: relative;
  z-index: 9999999;
  top: -32px;
}

#contact {
  width: 100%;
  text-align: center;
}
  
#contact a, #welcome-text a {
  color: var(--a);
  text-decoration: none;
  transition: 0.4s;
}

#contact .grey {
  color: var(--a2) !important;
}

#contact a:hover, #welcome-text a:hover  {
  color: var(--p);
  text-decoration: underline;
}

.row img {
  width: 100%;
  border-radius: 5px;
}

.row {
  display: flex;
  padding: 20px 0px;
}

.image {
  flex: 70%;
}

.preview {
  height: 300px;
  object-fit: cover;
}

.text {
  flex: 30%;
}

.text {
  padding: 5px 0px 0px 10px;
  min-width: 300px;
  min-height: 200px;
  line-height: 22px;
}

#pnum {
  color: orangered;
}

#websiteContent {
  margin: 10px 6%;
}

@media screen and (max-width: 750px) {
  .image, .text {
    flex: 50%;
	  line-height: 18px;
  }
  
  .preview {height: 200px;}

  #websiteContent {margin: 10px 2%;}
}

@media screen and (max-width: 660px) {
  .row {
	  display: block;
  }
  
  .text {
    padding: 10px 0px 0px 0px;
  }

  .preview {height: 260px;}

  #websiteContent {margin: 10px 0px;}
}

.fs, .so, .oh, .or {
  background-color: yellow;
  color: black;
  text-align: center;  
  padding: 5px;
  border-radius: 5px;
  font-weight: bold;
  user-select: none;
}

.fs {
  background-color: yellow;
  color: black;
}

.so {
  background-color: var(--p);
  color: white;
}

.oh {
  background-color: gray;
  color: white;
}

.or {
  background-color: orange;
  color: white;
}

.btn {
  background-color: var(--a);
  color: white;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 10px;
  transition: 0.3s;
}

.btm-btn {
  background-color: var(--p);
  color: white;
  text-decoration: none;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 18px;
  transition: 0.2s;
  cursor: pointer;
  user-select: none;
}

.btn:hover, .btm-btn:hover {
  background-color: var(--s);
  color: var(--a);
}

.cntr {
  text-align: center
}



/* FOOTER */
#bottom {
  user-select: none;
}

#c {
  color: white;
  font-size: 16px;
  display: block;
  font-align: center;
}

.footline {
  width: 160px;
  height: 1px;
  border-width: 0;
  background-color: #ffffff88;
}

.column {
  float: left;
  width: 25%;
}

.column a {
  width: 100%;
  text-align: center;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

@media screen and (max-width: 580px) {
  .column  {
    width: 50%;
  }
}

@media screen and (max-width: 250px) {
  .column  {
    width: 100%;
  }
}

#dev {
  font-size: 16px;
  color: var(--a);
  text-decoration: underline;
  transition: 0.3s;
  text-align: center;
  display: block;
}

#dev:hover {
  padding: 8px 20px;
  border-radius: 12px;
  background-color: var(--p);
  color: white;
  text-decoration: none;
}
