/*
  Theme colors
    All selectors with colors that would need
    to be changed for theme changes
*/

/*
  COLORS

  Sky
    rgb(52, 152, 219)

  Dark Blue
    rgb(44, 62, 80)

  Grey
    rgb(127, 140, 141)

  Cloud
    rgb(236, 240, 241)
*/

.background--skyBlue {
  background-color: #39D3FA
}

.background--purple {
  background-color: rgb(117, 59, 225)
}

.background--miamiGreen {
  background-color: #4DD4DB
}

.color--miamiGreen {
  color: #4DD4DB
}

.color--skyBlue {
  color: #39D3FA
}

.color--purple {
  color: rgb(117, 59, 225)
}

.color--goldenrod {
  color: #FAC339
}

.color--apricot {
  color: #FA9639
}

.background--goldenrod {
  background-color: #FAC339
}

.background--apricot {
  background-color: #FA9639
}

.color--cloud {
  color: rgb(247, 247, 247);
}

.color--gray {
  color: rgb(180, 180, 180);
}

.color--darkgray {
  color: #59747A
}

.background--darkgray {
  background-color: #59747A
}

.color--brown {
  color: #A57F5D
}

.background--brown {
    background-color: #A57F5D
  }

.section__example {
  background-color: rgb(44, 62, 80);
}

/*
  General Styles
    These are styles to be inherited
    through parent containers
*/

html {
  font-size: 62.5%;
}

body {
  font-family: 'Sarabun', sans-serif;
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  letter-spacing: .1rem;
}

ul {
  list-style-type: disc;
  list-style-position: inside;
  text-align: left;
  line-height: 2; 
  color: rgb(63, 17, 148);
  display: inline-block;
}

footer {
  padding: 1px;
  text-align: center;
  position: static;
  bottom: 0;
  width: 100%;
}

/*
  Helpers
*/

.margin--none {
  margin: 0;
}

.overflow--auto {
  overflow: auto;
}


.container{
  text-align: center;
}

/*
  Sections
*/

.section {
  font-size: 4.2rem;
  min-height: 25vh;
  position: relative;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section--myname {
  font-size: 4.2rem;
  height: 10vh;
  position: relative;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

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

.section--description {
  font-size: 2.8rem;
  padding-left: 3.5rem;
  padding-right: 3.5rem;
}

.section__description {
  margin: 0 auto;
  margin-bottom: 2rem;
  width: 50%;
}

.section__text--centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.section__exampleWrapper,
.section__example {
  display: inline-block;
  height: 35rem;
  width: 35rem;
}

.section__exampleWrapper {
  margin-right: 4rem;
}

.section__example {
  border-radius: 100%;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.section__example:active {
  transition: 0.05s all;
  width: 34rem;
  height: 34rem;
}

.section__exampleTitle{
  font-size: 3.4rem;
  text-align: center;
  text-transform: uppercase;
  width: 90%;
}

.section__exampleImage {
  opacity: 0.25;
  width: 250%;
  margin-left: -50%;
  margin-top: -50%;
}

/*
  Header
*/

.section__heading--largest {
  float: left;
  font-size: 5rem;
  margin-left: 2rem;
}

.section--social {
  float: right;
  line-height: 10rem;
  margin-right: 2rem;
}

.social {
  margin-right: 0.75rem;
}

.socialWrapper:last-child .social {
  margin-right: 0;
}

.socialWrapper {
  display: inline-block;
  font-size: 3rem;
}


/*
  Modal
*/

.modal--closed {
  display: none;
}

.modal--open {
  display: block;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
}

.modal__closeButton {
  position: absolute;
  right: 2rem;
  top: 5rem;
  font-size: 4rem;
  z-index: 1;
  cursor: pointer;
}

.modal__text {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 2.4rem;
  padding: 2rem;
  width: 66%;
}

.modal__link {
  background-color: white;
  border-radius: 4px;
  padding: 0.4rem 1rem;
  text-transform: uppercase;
  text-decoration: none;
}

.modal__image {
  opacity: 0.2;
}
