* {
    box-sizing: border-box;
}

body {
    background: #191919;
}

section {
    position: relative;
    overflow-x: hidden;
}

h1 {
    margin: 0.25em 0;
}

p {
    font-family: 'Playfair', serif;   
    font-size: 30px;
    margin: 0;
    padding: .25rem 0;    
}

.main {
    background: #256D73;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
    width:100%;
}

.content {
    max-width: 900px;
    width: 100%;
}

.title__wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: auto;
    max-width: 700px;
    padding: 8rem;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    transition: all 0.3s ease;
    width: 100%;
}

.image {
    max-height: 100vh;
    width: 100%;
}

.title--small {
    color: #245B61;
    display: block;
    font-family: 'Noto Sans', sans-serif;
    font-size: 48px;
    width: 100%;
}

/*.title__wrapper:hover {
    background-image: repeating-linear-gradient(90deg, #00C0FF 0%, #FFCF00 49%, #FC4F4F 80%, #00C0FF 100%);
    background-size: 600vw 600vw;
    -webkit-text-fill-color: transparent; 
    -webkit-background-clip: text;
    animation:slideColors 5s linear infinite forwards;
}*/

.title {
    color: #D02800;
    font-family: 'Noto Sans', sans-serif;
    font-size: 60px;
    line-height: initial;
    margin: 0;
}

.title--accent {
     font-family: 'Playfair', sans-serif;
}

hr {
    background: #AFDCE1;
    border: none;
    height: 3px;
    width: 60%;
}

@keyframes slideColors {
    0% {
        background-position-x: 0%;
    }
    100% {
        background-position-x: 600vw;
  }
}

/*==========----------==========*/
/*          900PX WIDTH         */
/*==========----------==========*/

@media only screen and (max-width:900px){
    .title {
        font-size: 48px;
    }

    .title--small {
        font-size: 36px;
    }
}

/*==========----------==========*/
/*          600PX WIDTH         */
/*==========----------==========*/

@media only screen and (max-width:600px){
    .title {
        font-size: 36px;
    }

    .title--small {
        font-size: 24px;
    }
}

/*==========----------==========*/
/*          500PX WIDTH         */
/*==========----------==========*/

@media only screen and (max-width:500px){
    .title__wrapper {
        padding: 6em;
    }
}

/*==========----------==========*/
/*          450PX WIDTH         */
/*==========----------==========*/

@media only screen and (max-width:450px){
    .title {
        font-size: 28px;
    }

    .title--small {
        font-size: 20px;
    }
}

/*==========----------==========*/
/*          400PX WIDTH         */
/*==========----------==========*/

@media only screen and (max-width:400px){
    .title__wrapper {
        padding: 4em;
    }

    .title {
        font-size: 24px;
    }

    .title--small {
        font-size: 18px;
    }
}