﻿.hero-image {
  position: relative;
  margin:unset;
 }

.hero-text {
  position: absolute;
  color: white;
  background-color: rgba(0, 0, 0, 0.3);
  max-width: 50em;
  padding: 15px 25px;
}

.hero-text a {
  border: none;
  outline: 0;
  display: inline-block;
  padding: 10px 25px;
  background-color: #ddd;
  text-align: center;
  cursor: pointer;
}

.hero-text a:hover {
  background-color: #555;
  color: white;
}
.herocaption{
    display:none;    
  }

@media only screen and (min-width: 1024px){
  .title__size {
    font-size:25px;
  }
  .hero-text {
    max-width: 30em;
    padding: 5px 10px;
    top: 25%;
  }
}

@media only screen and (max-width: 768px){
  .title__size {
    font-size:20px;
  }
  .hero-text {
    max-width: 25em;
    padding: 3px;
    top: 15%;
  }
}

@media only screen and (max-width: 425px){
  .title__size {
    display:none;
  }
  .herocaption{
    display:unset;    
  }
  .hero-text {
    display:none;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background-color: unset;
  }
}

@media only screen and (max-width: 375px){
  .title__size {
    display:none;
  }
  .herocaption{
    display:unset;    
  }
  .hero-text {
    display:none;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 0;
    background-color: unset;
  }
}

@media only screen and (max-width: 320px){
  .title__size {
    display:none;
  }
  .herocaption{
    display:unset;    
  }
  .hero-text {
    display:none;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 0;
    background-color: unset;
  }
}