 *{
   margin: 0;
   padding: 0;
 }
/* MY CODE*/

* {
  text-decoration: none;
}

a:link {
  color: #595959;
}

a:hover {
  color: #262626;
}

body {
  background-color: #f5f5f5;
}

/*HEADER*/

.header-desktop {
  display: flex;
  max-width: 60%;
  margin: auto;
}

.header-mobile {
  display: none;
}

.header-logo {
  flex-basis: 27%;
  margin: auto;
  padding-left: 30px;
}

.header-logo img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0px 0px 3px #999999;
}

.header-info {
  flex-basis: 73%;
  text-align: center;
}

.header-info-mobile {
  display: none;
}

.header-info h1 {
  font-family: helvetica;
  font-size: 2.3vw;
  font-weight: 500;
  margin-top: 60px;
  color: #333333;
}

.header-info h2 {
  font-family: helvetica;
  font-size: 1.3vw;
  font-weight: 500;
  max-width: 80%;
  margin: auto;
  margin-top: 10px;
  color: #333333;
}

.contact-container {
  max-width: 100%;
}

.contact {
  margin: auto;
  width: 20%;
  font-family: helvetica;
  font-size: 1.3vw;
  margin-top: 25px;
  border-radius: 2px;
  padding-top: 1.5px;
  padding-bottom: 1.5px;
  box-shadow: 0px 0px 2px;
  background-color: white;
  color: #333333;
}

.contact:hover {
  cursor: pointer;
  transition: 0.3s;
  background: #f4f4f4;
}

.contact:active {
  transform: scale(0.95);
  transition: 0.2s;
  box-shadow: 0px 0px 0.5px;
}


.social-container {
  display: flex;
  max-width: 100%;
  margin-top: 10px;
  justify-content: center;
}

.social {
  width: 5%;
  margin: 5px;
}

.social img {
  max-width: 100%;
}

.social img:hover {
  transform: scale(1.1);
  transition: 0.3s;
  opacity: 0.8;
  cursor: pointer;
}

.social img:active {
  transform: scale(1.1);
}

.modal {
display: none;
position: fixed;
top: 0;
z-index: 1;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.6);
}

.modal-content {
position: fixed;
bottom: 45%;
left: 35%;
width: 30%;
height: 15%;
box-shadow: 0px 0px 4px;
border-radius: 3px;
background-color: white;
}

.modal-content p {
font-family: helvetica;
font-size: 1.2vw;
margin-top: 20px;
text-align: center;
}

/*POST*/

.post-wrapper {
  position: relative;
  display: block;
  max-width: 60%;
  margin: 50px auto;
  box-shadow: 0px 0px 2px #999999;
  background-color: white;
  overflow: hidden;
}

.post-wrapper img {
  width: 100%;
  margin-top: 10px;
}

.post-wrapper h3 {
  font-family: helvetica;
  font-size: 0.8vw;
  padding-top: 10px;
  margin-left: 10px;
  font-weight: 500;
  color: #1a1a1a
}

.post-date {
  display: block;
  float: left;
  width: 90%;
}

.post-wrapper h4 {
  font-family: helvetica;
  font-size: 0.9vw;
  margin-top: 10px;
  margin-left: 10px;
  margin-right: 10px;
  font-weight: 500;
  color: #1a1a1a;
}

.post-wrapper h5 {
  font-family: helvetica;
  font-size: 0.7vw;
  margin-top: 20px;
  padding-bottom: 10px;
  margin-left: 10px;
  font-weight: 500;
  color: #404040
}

.post-youtube {
  float: right;
  position: absolute;
  bottom: 5px;
  right: 15px;
  width: 6%;
}

.post-youtube:hover {
  transform: scale(1.1);
  transition: 0.3s;
  opacity: 0.8;
}

/*UP ARROW*/

.up-arrow-wrapper {
  position: fixed;
  display: none;
  width: 30px;
  height: 30px;
  border-radius: 3px;
  bottom: 50px;
  right: 50px;
  box-shadow: 0px 0px 3px #595959;
  background-color:white;
  z-index: 1;
  cursor: pointer;
}

.arrow-border {
  margin: auto;
  margin-top: 4.5px;
  width: 20px;
  height: 20px;
}

.arrow-border p {
  text-align: center;
  font-size: 25px;
  padding-top: 3.5px;
  color: #595959;
}

.up-arrow-wrapper p:hover {
  color: #1a1a1a;
}










/*RESPONSIVE IPAD*/

@media only screen and (max-width:1000px) {
  .header {
    display: flex;
    max-width: 100%;
  }

  .header-logo {
    flex-basis: 27%;
    padding-left: 50px;
  }

  .header-logo img {
    border-radius: 10px;
  }

  .header-info {
    flex-basis: 73%;
  }

  .header-info h1 {
    font-size: 3.5vw;
    margin-top: 80px;
  }

  .header-info h2 {
    font-size: 2.1vw;
    font-weight: 500;
    margin-top: 8px;
  }

  .contact {
    width: 28%;
    font-size: 2.2vw;
    margin-top: 15px;
    border-radius: 2px;
    box-shadow: 0px 0px 2px;
  }

  .contact:hover {
    transform: none;
    opacity: 0.8;
  }


  .social-container {
    margin-top: 15px;
  }

  .social {
    width: 6.5%;
    margin: 6px;
  }

  .social img:hover {
    transform: none;
    opacity: 0.8;
  }

  .modal-content {
    position: fixed;
    bottom: 45%;
    left: 27.5%;
    width: 45%;
    height: 15%;
    box-shadow: 0px 0px 4px;
    border-radius: 3px;
    background-color: white;
  }

  .modal-content p {
    font-family: helvetica;
    font-size: 2vw;
    margin-top: 20px;
    text-align: center;
  }

 .post-wrapper {
    max-width: 100%;
    margin: 30px auto;
    margin-bottom: 50px;
  }

 .post-wrapper img {
    width: 100%;
    margin-top: 7px;
  }

 .post-wrapper h3 {
    font-size: 1.8vw;
    padding-top: 7px;
    margin-left: 7px;
    font-weight: 500;
  }

 .post-wrapper h4 {
    font-size: 2vw;
    margin-top: 7px;
    margin-left: 7px;
    font-weight: 500;
  }

 .post-wrapper h5 {
    font-size: 1.7vw;
    margin-top: 15px;
    padding-bottom: 7px;
    margin-left: 7px;
    font-weight: 500;
  }

 .post-youtube {
    width: 9%;
  }

 .post-youtube:hover {
    transform: none;
    transition: 0.3s;
    opacity: 0.8;
  }

 .up-arrow-wrapper {
    width: 55px;
    height: 35px;
    bottom: 80px;
    right: 0px;
    box-shadow: 0px 0px 2px #595959;
    border-top-left-radius: 5px;
    border-top-right-radius: 0;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 0;
  }

 .arrow-border {
    margin: auto;
    margin-top: 6px;
    width: 22px;
    height: 22px;
    border: 1px solid  #595959;
    border-radius: 50%;
  }

 .arrow-border p {
    padding-top: 3px;
    font-size: 20px;
    color: black;
  }

 .up-arrow-wrapper p:hover {
    color: none;
  }

 .bottom {
    width: 100%;
    height: 50px;
  }
}










/*RESPONSIVE MOBILE PHONE*/

@media only screen and (max-width:767px) {
  .header-desktop {
    display: none;
  }

  .header-mobile {
    display: flex;
    max-width: 100%;
  }

  .header-logo-mobile {
    flex-basis: 22%;
    margin: 30px 0 0 20px;
  }

  .header-logo-mobile img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0px 0px 3px #999999;
  }

  .header-general-info-mobile h1 {
    font-family: helvetica;
    font-weight: 500;
    margin: 50px 0 0 15px;
    color: #333333;
    flex-basis: 78%;
    font-size: 5.5vw;
  }

  .header-info-mobile {
    display: block;
  }


  .header-info-mobile h2 {
    font-family: helvetica;
    text-align: center;
    color: #333333;
    font-size: 3.5vw;
    font-weight: 400;
    padding: 20px 13px 0;
  }

  .contact-mobile {
    width: 35%;
    margin: auto;
    margin-top: 20px;
    padding-top: 1.5px;
    padding-bottom: 1.5px;
    text-align: center;
    font-family: helvetica;
    font-size: 3.9vw;
    background-color: white;
    color: #333333;
    border-radius: 2px;
    box-shadow: 0px 0px 2.5px;
  }

  .contact-mobile:hover {
    transform: none;
    opacity: 0.8;
    cursor: pointer;
  }

  .social-container-mobile {
    display: flex;
    width: 100%;
    justify-content: center;
    padding-top: 20px;
  }

  .social-mobile {
    width: 9%;
    margin: 0 6px 0;
  }
  
  .social-mobile img {
    max-width: 100%;
  }

  .social-mobile img:hover {
    transform: none;
    opacity: 0.8;
  }

  .modal-content {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 35%;
  box-shadow: 0px 0px 4px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  background-color: white;
  }

.modal-content p {
  font-family: helvetica;
  font-size: 4.5vw;
  text-align: center;
  margin-top: 40px;
 }

 .post-wrapper {
   max-width: 100%;
   margin: 30px auto;
 }

 .post-wrapper img {
   width: 100%;
   margin-top: 7px;
 }

 .post-wrapper h3 {
   font-size: 2.4vw;
   padding-top: 7px;
   margin-left: 7px;
   font-weight: 500;
 }

 .post-wrapper h4 {
   font-size: 3vw;
   margin-top: 7px;
   margin-left: 7px;
   font-weight: 500;
 }

 .post-wrapper h5 {
   font-size: 2.3vw;
   margin-top: 15px;
   padding-bottom: 7px;
   margin-left: 7px;
   font-weight: 500;
 }
}
