@font-face {
    font-family: "Roboto";
    src: url("/fonts/roboto_condensed_regular.ttf");
}

@font-face {
    font-family: "Roboto Bold";
    src: url("/fonts/roboto_condensed_bold.ttf");
}

@font-face {
    font-family: "Garamond Pro Bold";
    src: url("/fonts/garamond_pro_bold.200ac86b.otf");
}

@font-face {
    font-family: "D-DIN Condensed Bold";
    src: url("/fonts/d-dincondensed-bold.woff2");
}

@font-face {
    font-family: "D-DIN Condensed";
    src: url("/fonts/d-dincondensed.woff2");
}

body {
    margin: 0;
    background-color:#efefef;
    -webkit-font-smoothing: antialiased;
}

.sub-page-content {
    margin: 1em;
    margin-bottom: 3em;
    text-align:center;
}

/* Top section of the page*/

.content {
    background-image: url("/images/aao_announce_header.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    padding-top:20%;
}
.center-content {
    width:100%;
    text-align: center;
}

.aao-logo {
    text-align: center;
    min-height: 10%;
    margin-top: -15%;
    padding-bottom: 7%;
}
.aao-logo .center-content img {
    width:75%;
    overflow: hidden;
}
.aao-logo .center-content {
    width: 48%;
    margin: auto;
}

.tablet img {
    width: 30vmax;
}

.aao-buttons {
    margin-top: 1em;
    text-align: center;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    min-height: 82px;
}

.aao-buttons div {
    color: #912727;
    font-family: "D-DIN Condensed Bold", sans-serif;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 1.5em;
    margin-bottom: 1em;
}

.aao-buttons .community-text {
    color: #912727;
    font-size: 1.5em;
    margin-top: auto;
    margin-bottom: auto;
}

.center-button {
    text-align: center;
    vertical-align: center;
    text-transform: uppercase;
    color: #efefef;
}

.bottom-buttons {
    display: flex;
    flex-wrap: wrap;
    padding-top: 7em;
    padding-bottom: 8em;
    justify-content: center;
    background-image: url("/images/axisandallies_1942_header.jpg");
    background-size: 100%;
}

.bottom-buttons a {
    padding-left: 5em;
    padding-right: 5em;
    margin: 1em 2em;
}

.description {
    display: flex;
    flex-wrap: wrap;
    padding: 1.25em 3em;
    font-family: "D-DIN Condensed", sans-serif;
    font-size: 1.2em;
    align-content: center;
    color: #912727;
    font-weight: normal;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.description.feature-text div {
    max-width: 33%;
    margin: 2em;
}

.description h1 {
    text-transform: uppercase;
}

.description .main {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
}

.summary .button-get-img {
    width: 8rem;
    image-rendering:-webkit-optimize-contrast;
    image-rendering:optimize-contrast;
}

.summary .platform-container {
    display: flex;
    width: 100%;
    justify-content: space-evenly;
}

.summary .platform {
    padding: 0 0.5rem;
}

.summary .platform:first-child {
    margin-left: 0;
}

.summary .platform .store-button {
    display: flex;
    background-color: #d80c0c;
    width: 8rem;
    text-align: center;
    font-family: Arial,"Helvetica Neue",Helvetica,sans-serif;
    cursor: pointer;
    font-size: 15px;
    border: 0;
    height: 44px;
    padding: auto 0;
    color: #ffffff;
    line-height: normal;
    text-decoration: none;
}

.summary .platform .store-button:hover {
    filter: brightness(1.2);
}

.summary .platform .store-button div {
    margin: auto;
}

.description .summary {
    max-width: 35%;
    margin: 1em;
    margin-top: 0;
    margin-bottom: 0.5em;
}

.description .summary h1 {
    display: inline-block;
    margin-top: 0.05em;
    margin-bottom: 0;
}

.description .summary p {
    font-family: "D-DIN Condensed", sans-serif;
    font-weight: normal;
    max-width: 50vw;
}

.video {
    position: relative;
    overflow: hidden;
    margin: 2em auto;
    padding-left: 2vmin;
    padding-right: 2vmin;
    width: 90vmin;
    height: 50.625vmin;
}
.video iframe {
    width: 100%;
    height: 100%;
}

.feature-text {
    padding: 0;
    color: white;
    background: #912727;
}
.feature-text li {
    text-align: start;
}
.feature-text li:not(:last-child) {
    margin-bottom: 0.5em;
}
.feature-text h2 {
    margin-top:1em;
}
.feature-text ul {
    padding-bottom: 0.5em;
}

/* Top section of the page screen size adjustments*/

@media only screen and (max-width: 1024px) {
    .description {
        padding: 1.5em;
    }
    .description div {
        padding: 0em;
        max-width: 100%;
    }
    .feature-text {
        padding: 0;
        margin-bottom: 3em;
        color: white;
        background: #912727;
        text-align: center;
    }
    .bottom-buttons {
        background-size: auto 100%;
        background-position-x: 50%;
    }
}

@media only screen and (max-width: 768px) {
    .aao-logo .aao-buttons {
        flex-flow: column;
    }
}

/* Generic Button Styles */
.button, #sg-submit-btn {
    appearance: button;
    border-style: solid;
    border-color: white;
    border-width: 2px;
    border-radius: 1.2em;
    box-shadow: 10px 50px black;
    background: #912727;
    padding: 8px;
    padding-left: 15px;
    padding-right: 15px;
    text-decoration: none;
    color: white;
    font-family: "D-DIN Condensed Bold", sans-serif;
    font-weight: 400;
    font-size: 1em;
    margin:1em;
    vertical-align: center;
}
.button:hover, #sg-submit-btn:hover {
    background-color: #e03e37;
    cursor: pointer;
}
.button:active {
    background-color: #e2524d;
}

/* Middle section of the page. */

.signup-bar {
    display: inline-block;
    background-color: #912727;
    width:100%;
    padding-bottom: 50px;
    text-align: center;
}
.signup-bar p {
    color: #efefef;
    font-family: "D-DIN Condensed Bold", sans-serif;
    letter-spacing: 0.03em;
    font-size: 2em;
    margin: 1em;
    margin-bottom: 0.5em;
}
#signup-email, #sg_email {
    width:400px;
    padding: 15px;
    font-family: "D-DIN Condensed Bold", sans-serif;
    font-weight: 400;
    font-size: 1.3em;
    background-color: white;
    border-style: solid;
    border-width: 0.1em;
    border-radius: 1em;
    border-color: #912727;
    margin-left: .75em;
    color: #333333;
    box-shadow: inset 2px 2px 15px rgba(0,0,0,0.6);;
}
::placeholder {
    color: #333333;
}
::-ms-input-placeholder {
    color: #333333;
}

.signup-bar .button, #sg-submit-btn {
    padding: 8px;
    padding-left: 25px;
    padding-right: 25px;
    color: #912727;
    background-color: white;
}
#sg-submit-btn:hover {
    background-color: #E0E0E0
}

.sendgrid-subscription-widget {
    display: inline-block;
}
.sg-consent-text {
    text-align: left;
    font-family: "D-DIN Condensed Bold", sans-serif;
    color:#E0E0E0;
    font-size: 1.1em;
}

#sg-response {
    text-align: left;
    margin-left: 1em;
    font-family: "D-DIN Condensed Bold", sans-serif;
}
#sg-response.sg-response.error, #sg-response.sg-response.success {
    color:black;
}

.sg-consent-text {
    margin-left: 0.75em;
}
.privacy-notice-url {
    color:#E0E0E0;
    font-weight: bold;
}

/* Bottom section of the page. */

.footer {
    background-color: #222;
}

.footer-content {
    margin: auto;
    width:75%;
    color:#707070;
    padding-top: 1.3em;
}
.footer-content hr {
    border-style: solid;
    border-width: 0;
    margin-top: 1em;
    border-top-width: 1px;
}
.logo-container {
    display:flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logos.right {
    display: flex;
    margin-right: 0;
}
.logos.right img {
    max-height: 32px;
    width: 50px;
    vertical-align: middle;
}
.logos.right .aao-icon {
    padding-right: 10px;
}
.logos.right .store-icon {
    width: 2rem;
    margin: 0 0.55rem;
    fill: #707070;
}
.logos.right .store-icon.gog {
    color: #707070;
    width: 2.5rem;
    margin-top: -0.25rem;
}

.logos.middle img {
    max-height: 64px;
    margin-left: 5px;
    margin-right: 5px;
}

.logos.left {
    margin-left: 0;
}
.logos.left img {
    max-height: 40px;
    width: 220px;
    vertical-align: middle;
}

/* Make logos fold nicely with smaller screens. */
@media only screen and (max-width: 1136px) {
    .logos.right {
        margin:auto;
        margin-top: 0.5em;
    }
    .logos.left {
        margin-left: 0;
        margin-right: auto;
        margin-bottom: 1em;
    }
    .logos.middle {
        text-align: center;
        margin-right: 0;
        margin-left: auto;
        margin-bottom: 1em;
    }
}

@media only screen and (max-width: 810px) {
    .logos.left, .logos.middle, .logos.right {
        margin:auto;
        margin-bottom: 1em;
    }
    .logo-container {
        margin-left: -2.25em;
        margin-right: -2.25em;
    }
    
    .description.feature-text h3 {
        text-align: left;
    }
    .description.feature-text div {
        max-width: 100%;
        margin: 2em;
    }
    .description.feature-text div:first-of-type {
        margin-bottom: 0;
    }
    .description.feature-text div:last-of-type {
        margin-top: 0;
    }
}

.footer-copyright {
    display: inline-block;
}
.footer-copyright p {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    color: #707070;
    line-height: 1.3em;
}

/* Carousel Styling */

#carousel {
    padding: 4em;
    padding-top: 1em;
    margin-left: auto;
    margin-right: auto;
    max-width: 75%;
    margin-bottom: 10em;
}

#carousel .tablet {
    margin: 0px 12%;
}

.slick-prev, .slick-next {
    height: 25%;
}

.slick-prev:before, .slick-next:before {
    color: lightgray;
}

.gallery-content {
    cursor: grab;
}

.gallery-content:active {
    cursor: grabbing;
}

.gallery-thumb {
    max-width: 14rem;
}

.gallery-thumb img, .slider-for img {
    width: 100%;
}

.dynamic-title {
    text-align: center;
    
    font-family: "D-DIN Condensed", sans-serif;
    align-content: center;
    color: #912727;
}

.dynamic-title h2 {
    margin-top: 0.25em;
}

.slick-dots {
    top: 100%;
    display: inline-block;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    min-height: 10rem;
    padding-top: 1em;
    list-style-type: none;
}
.slick-dots li, .slick-dots li button {
    width: unset;
    height: unset;
}

#carousel li.tablet, .slick-dots li {
    margin: 0 1rem;
}
#carousel li img {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    -khtml-user-select: none;
    -webkit-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    -khtml-user-drag: none;
}
#carousel li.tablet .gallery-thumb {
    max-width: 10.5rem;
}

.slick-active .gallery-thumb {
    border-style: solid;
    border-width: 4px;
    border-color: #912727;
    border-radius: 3px;
}

.slick-active .arrow {
    width: 0; 
    height: 0; 
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    position: absolute;
    top:-7px;
    left:48%;
    border-bottom: 14px solid #912727;
}

/* Carousel Video Slide*/

.gallery-content.youtube iframe {
    width: 100%;
    height: 42vw;
}

.play-btn {
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    fill: white;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    opacity: .5;
    z-index: 1;
}

li.slick-active .play-btn {
    top: 50%;
}

.play-btn svg {
    width: 100%;
    height: 100%;
}

.slick-dots li {
    vertical-align: top;
}

li button::before {
    display:none;
}

.youtube-player img {
    width: 100%;
    height: auto;
}

/* Carousel adjustment */

@media only screen and (max-width: 1024px) {
    #carousel {
        padding: 0em;
        padding-bottom: 2em;
        max-width: 90%;
    }
    .gallery-content.youtube iframe {
        width: 100%;
        height: 50vw;
    }
}

@media only screen and (max-width: 719px) {

    #carousel {
        padding-bottom: 0;
    }

    .gallery-thumb, .slick-dots li {
        max-width: 8rem;
    }
    #carousel li.tablet .gallery-thumb {
        max-width: 5.25rem;
    }
    .slick-prev, .slick-next {
        height: 25%;
        width: 19px;
    }
    .slick-next {
        right: -18px;
    }
    .slick-prev {
        left: -18px;
    }
    
    .slick-dots {
        min-height: 6rem;
    }

    .slick-dots li, #carousel li.tablet {
        margin: 0 0.5rem;
    }

    li .gallery-thumb.youtube img {
        width: 8rem;
    }

    .play-btn {
        position: absolute;
        display: block;
        top: 50%;
        left: 55%;
        width: 25px;
        height: 25px;
        fill: white;
        -webkit-transform: translateX(-50%) translateY(-50%);
        transform: translateX(-50%) translateY(-50%);
        opacity: .5;
        z-index: 1;
    }
    .slick-active .arrow {
        left:44%;
    }
}

@media only screen and (max-width:955px) {
    .description .main {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .description .summary {
        max-width: 100%;
    }
    .description .summary p {
        margin: 1em auto;
    }
    .summary .platform-container {
        flex-wrap: wrap;
    }
    .summary .platform {
        margin-top: 1rem;
    }
}

@media only screen and (max-width: 568px) {
    .platform-container {
        flex-wrap: wrap;
    }

    .summary .platform:first-child {
        margin-left: 0.5rem;
    }

    .summary .platform {
        margin: 0.5rem;
    }
}