/* =========================================================
   BASE
   ========================================================= */

body {
    background: #FFFFFF;
}

h1 {
    font-family: "BigShouldersDisplay-Bold", sans-serif;
    font-size: 2.8rem;
    line-height: 2.8rem;
}

h3 {
    font-family: "BigShouldersDisplay-Bold", sans-serif;
    font-size: 1.6rem;
    color: #003C80;
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 3rem;
}


/* =========================================================
   HERO HEADER
   ========================================================= */

.hero_header {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
}


/* =========================================================
   SHIPYARDS
   ========================================================= */

.shipyards {
    margin: 15px;
    margin-bottom: 3rem !important;
}

.shipyard_col {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.shipyard_container {
    position: relative;
    margin: 2px;
    border-radius: 5px;
    overflow: hidden;
}

.shipyard_container:before {
    content: "";
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
}

/* Shipyard data overlay */
.shipyard_data {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    color: #FFFFFF;
    font-size: 24px;
    padding-bottom: 15px;
    z-index: 9;
}

.shipyard_data .shipyard_info {
    width: 80%;
    text-align: left;
}

.shipyard_data .shipyard_info .shipyard_name {
    font-family: "BigShouldersDisplay-Bold", sans-serif;
    text-transform: uppercase;
    margin: 0;
}

.shipyard_data .shipyard_info .shipyard_address {
    font-size: 1rem;
    margin: 0 0 10px 0;
}

/* Models panel */
.shipyard_data .models_c {
    width: 80%;
    padding: 10px;
    font-size: 1rem;
    background-color: #003C80;
}

.shipyard_data .models_c .models_c_heading {
    float: left;
    width: 100%;
}

.shipyard_data .models_c .models_c_heading .models_title {
    float: left;
    width: calc(100% - 40px);
    margin-left: 20px;
    text-align: center;
}

.shipyard_data .models_c .models_c_heading .close {
    float: right;
    font-size: 1rem;
    font-weight: bold;
    color: #FFF;
    cursor: pointer;
}

.shipyard_data .models_c .model_btn {
    float: left;
    width: 100%;
    color: #003C80;
    background-color: #FFF;
    border: 1px solid #FFF;
    border-radius: 3px;
    margin-bottom: 4px;
    cursor: pointer;
}

.shipyard_data .models_c .model_btn:hover {
    background-color: #CCC;
    border-color: #CCC;
}

/* Detail button */
.shipyard_data .show_detail_btn {
    font-family: "BigShouldersDisplay-Bold", sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    color: #FFF;
    border: 1px solid #FFF;
    width: 80%;
    padding-top: 3px;
    padding-bottom: 3px;
    text-decoration: none;
    cursor: pointer;
    margin: 0;
}

.shipyard_data .show_detail_btn:hover {
    color: #003C80;
    background-color: #FFF;
}


/* =========================================================
   PORTRAIT
   ========================================================= */

@media screen and (orientation: portrait) {
    .hero_header {
        height: 95vh;
    }

    h1 {
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
    }
}