@import url('./styles.css');

body {
  font-family: 'Sen', sans-serif;
}

#header {
  margin: 0;
  width: 100%;
}

h1 {
  font-size: 50px;
}

.bold-font {
  font-weight: bold;
}

a {
  cursor: pointer;
}

/* ///// BUTTONS ///// */

.btn {
  width: 150px;
}

.btn-margin {
  margin-top: 35px;
  margin-bottom: 125px;
}

.btn-margin-more {
  margin-top: 90px;
}

.btn-margin-more:hover {
  color: white;
}

/* ///// COLORS ///// */

.black {
  background-color: var(--black);
}

.dark-grey {
  background-color: var(--dark-grey);
}

.darker-grey {
  background-color: rgb(22,21,26);
}

.blue-color {
  color: var(--blue-primary);
}

.blue-background {
  background-color: var(--blue-primary);
  border: none;
}

/* ///// SHAPES ///// */

.name-bubble {
  margin-top: 35px;
  width: 100%;
  height: 250px;
  position: relative;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
}

.name-bubble::after {
  content: "";
  position: absolute;
  display: block;
}

.learn-more-bubble {
  border-radius: 10px;
}

.arrow {
  width: 20px;
}

.line {
  height: .5px;
  background-color: gray;
}

.rounded-border {
  border-radius: 25px;
}

.blue-shape {
  margin: 0 0 0 -11px;
  border-top-left-radius: 25px;
  z-index: -1;
}

#stars {
  height: 150px;
  padding-right: 0;
}

/* ///// BLOG CARDS ///// */

.card-text-sm {
  font-size: 18px;
}

.rounded-card {
  border-radius: 10px;
}

.date-badge {
  width: 46px;
  height: 63px;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  border-top: 4px solid var(--blue-primary);
  background-color: white;
  color: black;
  left: 6%;
  top: 46%;
}

#date-badge-day {
  margin-top: -8px;
  font-size: 20px;
  font-weight: bold;
}

#date-badge-month {
  margin-top: -3px;
  font-size: 12px;
  font-weight: 200;
}

#blog-one-card {
  height: 38rem;
}

#blog-one-img {
  height: 60%;
  object-fit: cover;
}

#blog-one-card h2 {
  font-size: 35px;
}

#blog-one-card p {
  font-size: 17px;
}

/* ///// SUBSCRIBE SECTION ///// */

.subscribe-now {
  padding-top: 10px;
  padding-bottom: 30px;
  font-size: 48px;
}

.form-control::placeholder {
  color: black;
  opacity: 1;
}

/* ///// MEDIA QUERIES ///// */
/* Small Mobile */
@media (min-width: 320px) {
  .img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: top;
  }
  .name-bubble {
    height: 180px;
    padding: 8%;
  }
  .left-point::after{
    top: -25px;
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 25px solid var(--dark-grey);
  }
  .right-point::after {
    top: -25px;
    right: 45px;
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 25px solid var(--dark-grey);
  }
  .blue-shape {
    width: 80px;
  }
  #subscribe-btn {
    width: 100%;
  }
}

/* Medium and Large Mobile */
@media (min-width: 375px) {
  .img {
    height: 400px;
  }
}

@media only screen and (max-width: 414px) {
  #mobileHamburger {
    margin-left: 15px;
  }
}

/* Tablet */
@media (min-width: 768px) {
  .img {
    height: 420px;
    object-position: 50% 6%;
  }
  .name-bubble {
    padding: 5%;
  }
  .blue-shape {
    width: 140px;
  }
  .subscribe-section {
    margin-top: -45px;
  }
  #subscribe-input {
    background-image: url(../images/bullseye.svg);
    background-repeat: no-repeat;
    background-position: left 40px center;
    text-indent: 80px;
    width: 350px;
  }
  #subscribe-input:focus {
    background-image: none;
    text-indent: 0;
    outline: none !important;
    box-shadow: none !important;
    transition: 0.1s ease;
  }
  #subscribe-btn {
    margin-left: -55px;
    width: 150px;
    height: 61px;
  }
}

/* Medium Desktop */
@media (min-width: 992px) {
  .img {
    height: 200px;
  }
  .name-bubble, .learn-more-bubble {
    height: 250px;
    padding: 15%;
  }
  .right-point::after {
    top: 25px;
    left: -50px;
    width: 0;
    height: 0;
    border-top: 25px solid transparent;
    border-right: 25px solid var(--dark-grey);
    border-bottom: 25px solid transparent;
  }
  .subscribe-section {
    margin-top: -78px;
    padding-left: 80px;
  } 
  .blue-shape {
    width: 170px;
  }
  #stars {
    margin-top: -30px;
  }
}

/* Large Desktop */
@media (min-width: 1024px) {
  .img {
    height: 240px;
  }
  .img-one {
    height: 260px;
  }
  .team h2 {
    font-size: 26px;
  }
  .team h5 {
    font-size: 16px;
  }
  .name-bubble, .learn-more-bubble {
    height: 200px;
  }
  .subscribe-section-container {
    width: 90%;
  }
  .subscribe-now {
    font-size: 50px;
  }
  .blog-container {
    background-image: url(../images/squiggle.svg);
    background-repeat: no-repeat;
    background-position: 0 250px;
  }
}

/* XL Desktop */
@media (min-width: 1440px) {
  .img {
    height: 300px;
  }
  .name-bubble, .learn-more-bubble {
    height: 225px;
    padding: 20%;
  }
  .subscribe-section-container {
    width: 75%;
  }
}