@import "base.css";
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap');

:root {
  --rem: 16px;
  --bg-color: white;
  --color-primary: #DD367B;
  --color-lightGrey: #F1F1F1;
  --color-grey: #747681;
  --color-darkGrey: #3f4144;
  --grid-maxWidth: 75rem;
  --grid-gutter: 2rem;
  --font-size: 16px;
  --font-color: #171717;
}

html {
  font-size: --font-size;
  min-width: 300px
}

body {
  background-color: var(--bg-color);
  line-height: 1.75rem;
  font-size: var(--font-size);
  color: var(--font-color);
  font-family: 'Source Code Pro', Menlo-Regular, monaco, "Consolas", "Lucida Console", monospace;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  cursor: pointer;
}

a:hover:not(.btn) {
  opacity: 0.8;
}

button,
.btn {
  background: var(--color-primary);
  height: 3.5rem;
  max-width: 17rem;
  display: inline-block;
  margin: 1rem auto;
  color: white;
  font-weight: 700;
  border-radius: 4px;
  padding: 0 1.5rem;
  position: relative;
  cursor: pointer;
}

button.block,
.btn.block {
  width: calc(100% - 6rem);
  display: inline-block;
}

button:hover,
.btn:hover {
  --opacity: 0.95;
  box-shadow: 0 0.5rem 2rem -0.8rem var(--color-primary);
  box-shadow: 0 0.5rem 1.5rem -0.9rem var(--color-primary)
}

#overlays {
  background: var(--color-primary);
  position: fixed;
  margin: auto;
  width: calc(100% - 2.4rem);
  max-height: 50rem;
  max-width: 62rem;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  color: white;
  z-index: 1;
  box-shadow: 0 0.5rem 3rem -.3rem var(--color-grey);
  border-radius: .5rem;
  padding: 1.2rem;
}

#overlays a {
  color: White
}

#close {
  margin-left: -0.75em;
}

.closeIcn {
  font-weight: 400;
  font-size: 2.5rem;
  transform: rotate(45deg);
  position: absolute;
  top: 0.6rem;
  left: 0.8rem;

}

#contactDetails {
  line-height: 2.5rem
}

#photo {
  background: url("assets/LABQ.svg");
  background-size: contain;
  background-position: -50vw center;
}

#photo img {
  max-width: 200px;
  width: 112%;
  position: relative;
}


@media screen and (max-width: 599px) {
  #photo {  background-size: cover;}
  .phonehidden{display: none}
  body {
    overflow: hidden;
    position: fixed;
  }

  .bottomFixed {
    position: fixed;
    width: 100%;
    bottom: 0;
  }
}

@media screen and (min-width: 900px) {
  #overlays {
    top: -10%;
  }

  main {
    margin: auto;
    width: 100%;
    padding: 0;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80%;
    position: absolute;
  }
}