:root {
    --main-text-color: #6b5176;
}

body {
  margin: 0;
  padding: 0;
  font-family: Calibri, sans-serif;
  color: #4c4c4c;
  width: 100%;
}

p {
  display: inline-block;
  margin-top:0.5em;
  margin-bottom:0.5em;
  text-align: justify;
}

h3 {
  margin-top:0.5em;
  margin-bottom:0.5em;
  font-weight: boldest;
  color: #413945;
  font-size: 17pt;
}


h4 {
    margin-top:0.5em;
    margin-bottom:0.5em;
    font-weight: bolder;
    color: #6b5176;
    font-size: 15pt;
}


.wholebody h1 {
    color: #6b5176;
}


a, a:visited {
  color: var(--main-text-color);
  font-weight: bold;
  text-decoration: none;
}

a:hover {
  color: #91779c;
  text-decoration: none;
}

.maintext {
  height: 25em;
}

.purple {
  color: #6b5176;
}

.leftblock {
  display: inline-block;
  vertical-align: top;
  width: 45%;
  height: 100%;
  max-height: 100%;
  border-radius: 1em;
}

.mainimage {
  background-image: url('/img/pcb-hands.png');
  background-size:     contain;
  background-repeat:   no-repeat;
  background-position: center center;
  transform: scale(1.1);
}

#regis {
  font-size: 0.5em;
  margin-left: 0.2em;
}

.rightblock {
  vertical-align: top;
  width: 54%;
  height: 100%;
  display: inline-block;
  box-sizing: border-box;
  max-height: 100%;
}

.rightcontent {
  display: table;
  height: 100%;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.vertmid {
  display: table-cell;
  vertical-align: middle;
}

.righttitle {
  display: inline-block;
  font-size: 34pt;
  margin-bottom: 0.5em;
}

.rightdesc {
  font-size: 18pt;
  line-height: 1.5em;
  min-height: 4em;
  max-width: 100%;
  margin-bottom: 1em;
}

.maintext p {
  display: block;
}

#main {
  display: block;
  font-size: larger;
  box-sizing: border-box;
}

#homepic {
  max-width: 40%;
}

/* Blocks relates */
.block-no-background {
  text-align: justify;
  padding-top: 9%;
  padding-left: 7%;
  padding-right: 7%;
  padding-bottom: 9%;
}

.block-no-background h1 {
  color: var(--main-text-color);
  font-size: 19pt;
  margin: 0;
}

.block-grey-background h1 {
  font-size: 19pt;
  margin: 0;
}

.block-left {
  display: inline-block;
  width: 36%;
}

.block-middle {
  display: inline-block;
  width: 33%;
}

.block-right {
  display: inline-block;
  width: 30%;
}

#copyright {
  width: 100%;
  padding: 0.3em;
  text-align: center;
  font-size: 10pt;
  box-sizing: border-box;
}

.bull1pic {
  max-width: 40%;
}

.text {
  display: inline-block;
  padding-left:3em;
}
.youtube{
  width: 10%;
}

.body {
  background-color: rgb(255, 255, 255);
  margin-left: 7em;
  margin-right:7em;
  display:block;
  margin-top: 1em;
  min-height: 100vh;
}


.wholebody{
  background-color: rgb(255, 255, 255);
  margin-left: 3.5em;
  margin-right:3.5em;
  display:block;
  padding-left: 2em;
  padding-right:2em;
}

a:link{
  color: #6b5176;
}

h2 {
  margin-top: 0;
  padding-top:1em;
  font-size: 25pt;
  color: #6b5176;
}

/*home css*/
.homeimg img{
  width: 40%;
 margin-top: 5em;
 margin-bottom: 5em;
}
.underline{
  border-bottom: 1px solid #ad97b8;
  margin-top: 1em;
  margin-bottom: 1em;
}

.p4{
  display:inline-block;
}

.text4{
  display: inline-block;
  width: 50%;
  margin-left: 2em;

}

.getstarted {
  position: relative;
  background: #6b5176;
  height:4em;
  text-align: center;
}

.buybutton {
    font-weight: bolder;
    font-size: 1.3em;
    margin: 0 !important;
}

.buybutton-div {
  display: inline-block;
}

.whitebutton {
  color: #6b5176;
  background-color: white;
  text-decoration: none;
  padding: 0.5em;
  border-radius: 0.5em;
  font-weight: bold;
}

.whitebutton:hover {
  color: #ffffff;
}

.circlebutton {
  box-sizing: border-box;
  border: 0.1em solid #6b5176;
  margin-left: 2em !important;
}

.circlebutton:hover {
  background: #403d41;
  color: #ffffff;
  background-color: #a68faf;
}

.rightbut {
  display: inline-block;
  position: absolute;
  right: 16%;
  top: 50%;
  transform: translateY(-50%);
}
.rightbut:hover{
  background-color: #a68faf;
}

.block-bottom {
  padding: 4% 10% 4% 10%;
  padding-right: 10%;
}

.block {
  position: relative;
  padding-top: 3em;
  padding-bottom: 3em;
  transition-duration: 0.2s;
}

.block:hover{
  box-shadow: 0px 0px 5px 2px #d8d7d7;
  transform: scale(1.025);
  transition-duration: 0.5s;
  border-radius:10px;
}

.block img {
    max-width: 40%;
    vertical-align: middle;
    max-height: 20em !important;
}

.block-title {
  font-size: 20pt;
  font-weight: bold;
  padding-bottom: 1em;;
}

.block-content {
  position: relative;
  display: inline-block;
  width: 59%;
  padding-left: 5%;
  padding-right: 5%;
  box-sizing: border-box;
  text-align: justify;
  font-size: 16pt;
  vertical-align: middle;
}


a.purplebutton {
  color: white;
}

a.purplebutton:visited {
  color: white;
}

.purplebutton {
  display: block;
  background-color: #6b5176;
  color: white;
  text-decoration: none;
  padding: 0.5em;
  border-radius: 15px;
  font-weight: bold;
  width: max-content;
  margin-top: 1em;
}

.purplebutton:hover {
  background-color: #403d41;
}

#footersocialplatforms {
  list-style: none;
  display: inline-block;
  padding:0em;
  vertical-align: middle;
  font-variant: small-caps;
}

#footersocialplatforms li{
  display: inline-block;
  margin-right: 0.75em;
  padding:0em;
}

footer {
  padding-top: 1em;
  padding-bottom: 1em;
  width: 100%;
  box-sizing: border-box;
  background-color: #efefef;
  text-align: center;
  border-top: 1px solid #E4E5E7;
  margin-top:2em;
}

#footersocialplatforms img {
  vertical-align: middle;
  width: 48px;
  margin-right: 0.25em;
  margin-left: 0.5em;
}

#emailaddr {
  height: 1em;
  vertical-align: top;
}

code {
  background-color:#e5e5e5;
 font-family: monospace;
 padding:0.35em 0.2em 0.2em 0.2em;
 border-radius: 5px;
}


pre.multicode {
    box-sizing: border-box;
    background-color:#e5e5e5;
    font-family: monospace;
    padding: 1em 1em 1em 1em;
    display: block;
    width: 50%;
    border-radius: 5px;
    white-space: pre-wrap;
}

.mobilemenu{
  display: none;
}


.mobilebutton {
  display: none;
}

.aboutmepic {
  width: 19em;
  float:left;
  margin: 0 1em 0 0;
  border-radius: 10px;;
}

.aboutpar {
  display: inline;
}

#aboutbody {
  text-align: justify;
}

.wholebody a{
    color: #5d2c74;;
    text-decoration: none;
  }

.wholebody a:hover {
  color: #95819c;
  text-decoration: none;
}

.info::before {
  content: 'i';
  display: inline-block;
  background: #07cfe9;
  font-size: 18pt;
  color: white;
  width: 1em;
  height: 1em;
  line-height: 1.1em;
  text-align: center;
  border-radius: 1em;
  margin-right: 0.5em;
}

.info {
  box-sizing: border-box;
  border-radius: 0.5em;
  display: block;
  width: 100%;
  background: #e6fafd;
  padding: 1em;
  line-height: 1.3em;
}

.warning::before {
  content: '!';
  display: inline-block;
  background: #ffc232;
  font-size: 18pt;
  color: white;
  width: 1em;
  height: 1em;
  line-height: 1.1em;
  text-align: center;
  border-radius: 1em;
  margin-right: 0.5em;
}

.warning {
  box-sizing: border-box;
  border-radius: 0.5em;
  display: block;
  width: 100%;
  background: #fff9e9;
  padding: 1em;
  line-height: 1.3em;
}

.error::before {
  content: '×';
  display: inline-block;
  background: #ff4834;
  font-size: 18pt;
  color: white;
  width: 1em;
  height: 1em;
  line-height: 1.1em;
  text-align: center;
  border-radius: 1em;
  margin-right: 0.5em;
}

.error {
  box-sizing: border-box;
  border-radius: 0.5em;
  display: block;
  width: 100%;
  background: #fecbc5;
  padding: 1em;
  line-height: 1.3em;
}


nav {
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    line-height: 3.5em;
    height: 3.5em;
    background-color: white;
    font-weight: bold;
    box-shadow: 0px 1px 5px 5px rgb(185 185 185 / 25%);
    font-size:16pt;

}

.navlogo {
    top: 0.5em;
    width:2.5em;
    margin-left:1em;
    vertical-align: middle;
    position: absolute;
    left: 0;
}

.navlogo h1 {
    margin: 0;
}

.navlogo a{
    position:relative;
    width: 48px;
    height: 48px;
    background: url("/img/logo.png");
    background-size: 48px 48px;
    font-size: 0;
    display: block;
    padding: 0 !important;
}

nav ul {
    display: inline-block;
    list-style-type: none;
    margin: 0 auto;
    width: 80%;
}

nav li {
    position: relative;
    display: inline-block;
}

nav a {
    position: relative;
    display: inline-block; /* important: so the pseudo-element aligns correctly */
    color: #ffffff;
    text-decoration: none;
    border-bottom: 0.2em solid transparent; /* invisible border to avoid layout shift */
    transition: color 0.25s ease; /* color transition */
    margin: 0 0.5em 0 0.5em;
    padding: 0 1em 0 1em;
}


@media screen and (min-width: 800px) {
    /* Fake bottom border for the nav elements */
    nav a::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        height: 0.2em;
        width: 0%;
        background-color: #91779c;
        transition: width 0.25s ease;
    }


    .nav-has-submenu .nav-submenu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 20em;
        background: white;
        padding: 1em;
        display: flex;
        opacity: 0;
        visibility: hidden;
        gap: 2em;
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        transform: translateY(10px);
        transition: opacity 0.25s ease, transform 0.25s ease;
        z-index: 10;
        border-radius: 10px;
    }

    nav a:hover, .has-submenu:hover > a {
        color: #91779c;
    }

    nav a:hover::after, .has-submenu:hover > a::after {
        width: 100%;
    }

    .nav-has-submenu:hover .nav-submenu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-submenu-column {
        display: flex;
        flex-direction: column;
    }

    .nav-submenu-column h4 {
        margin: 0 0 0em 0;
        font-size: 14pt;
        font-weight: bold;
        color: #000;
        border-bottom: 1px solid #ccc;
        line-height: 2em;
        font-variant: small-caps;
    }

    .nav-submenu-column a {
        color: #555;
        text-decoration: none;
        margin: 0.5em 0;
        padding-left: 0.5em;
        font-size: 13pt;
        line-height: 2em;
        text-align: left;
    }

    .nav-submenu-column a:hover {
        color: #000;
    }
}