*{
    box-sizing: border-box;
    font-family: 'Anuphan', sans-serif;
}

a{
    color:white;
    text-decoration: none;
}

a:visited{
    color: white;
}


.dive-container{
    width: 100%;
    position: relative;
}

.dive-container img{
  height: 60vh !important;
  max-width: 100% !important;
  object-fit: cover;
}

.dive-caption{
  position: absolute;
  background: linear-gradient( rgba(0,0,0,0.7), rgba(0, 0, 0, 0));
  color: white;
  height: 100%;
  width: 100%;
  top: 0;
  padding: 1rem;
  font-size: 1.3rem;
  line-height: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-shadow: 0px 0px 3px black;
}

.dive-caption p:last-of-type{
    font-size: 1.7rem;
    font-weight: bold;
    text-align: right;
}

@media screen and (min-width: 600px){


    .dive-container{
        margin: 0 auto;
        margin-bottom: 1rem;
        box-shadow: 0px 0px 5px black;
        width: 90%;
    }

}


@media screen and (min-width: 760px){
  
  .dive-caption{
    padding: 2rem;
  }
  
  .dive-caption p{
    font-size: 1.5rem;
  }
  
  .dive-caption p:last-of-type{
    font-size: 2rem;
  }
}

@media screen and (min-width: 850px){
    *{
        font-size: 1.6rem;
    }
}

@media screen and (min-width: 1000px){


    .dive-container{
        width: 100vw;
        overflow: contain
        border: 4px solid green;
    }
  
  .div-container img{
      max-height: 100%;
  }

    .desktop-container{
        display: block;
    }

    .more-from-tero{
        width: 75vw;
        margin: 10vh auto;
        display: flex;
    }


    .dive-container p{
        font-size: 1rem;
    }

    .dive-caption p:last-of-type{
        font-size: 1.4rem;
    }
    
    .dive-caption{
        padding-right: 10%;
        padding-left: 10%;
    }


 .more-from-tero{
        justify-content: space-between;
    }
    
    .dev-outter{
        width: 32%;
    }

    .dev-inner{
        height: 60vh;
    }

    .dev-inner img, .dev-caption{
        height: 50%;
    }
    
    .dev-caption{
        padding: 1rem;
    }

    .dev-caption *{
        font-size: 0.7rem;
        font-weight: 400;
    }

    .more-header{
        height: 60vh;
        display: flex;
        justify-content: center;
    }

}

@media screen and (min-width: 1200px){

    .dive-container-caption{
        padding: 4rem;
    }
     
    .dive-container p{
        font-size: 1.5rem;
    }

    .dive-caption p:last-of-type{
        font-size: 2rem;
    }

    .dev-caption *{
        font-size: 0.9rem;
        font-weight: 400;
    }

    .dev-caption a{
        font-weight: bold;
    }


    .more-header p{
        font-size: 2.5rem;
    }

}

@media screen and (min-width: 1400px){
     

    .dive-container p{
        font-size: 1.5rem;
    }

    .dive-caption p:last-of-type{
        font-size: 2rem;
    }
    

    .dev-caption{
        padding: 2rem 1rem;
    }

    .dev-caption *{
        font-size: 1rem;
        font-weight: 400;
    }

    .dev-caption a{
        font-weight: bold;
    }




}

@media screen and (min-width: 1600px){

    .more-header p{
        font-size: 3rem;
    }
  
    
}

