/*
Theme Name: TNTD
Author: OTAKODES
Author URI: http://otakod.es/
Description: A simple theme by OTAKODES
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tntd
*/

/*
*  html5 doctor css reset | http://html5doctor.com/html-5-reset-stylesheet
*/
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}
body{line-height:1}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}
nav ul{list-style:none}
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:none}
a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent}
ins{background-color:#ff9;color:#000;text-decoration:none}
mark{background-color:#ff9;color:#000;font-style:italic;font-weight:bold}
del{text-decoration:line-through}
abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}
table{border-collapse:collapse;border-spacing:0}
hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}
input,select{vertical-align:middle}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

.is-sr {
    position: absolute;
    top: -9999px;
    left: -9999px;
}

img {
    max-width: 100%;
    height: auto;
}

h1 a,
h2 a,
h3 a,
h4 a,
p a {
    color: #ff6456;
    text-decoration: underline;
}

h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
p a:hover {
    color: #fff;
}

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 28px;
    color: #fff;
    background: #fff;
    word-wrap: break-word;
    word-break: break-word;
}

h1, h2, h3, h4 {
    font-weight: inherit;
}

.select {
    display: inline-block;
    position: relative;
}

.select:after {
    content: ' ';
    position: absolute;
    right: 10px;
    top: 50%;
    margin-top: -4px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 6px 0 6px;
    border-color: #ffffff transparent transparent transparent;
    pointer-events: none;
}

.modal {
    display: none;
    overflow: auto;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation-duration: 0.4s;
    animation-fill-mode: both;
}

.modal.open {
    animation-name: fadeIn;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal a {
    text-decoration: none;
}

.modal a:hover {
    color: #000;
    text-decoration: underline;
}

.modal .modal-button {
    display: block;
    width: 147px;
    height: 44px;
    line-height: 44px;
    margin: auto;
    font-size: 18px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    border-radius: 20px;
    background: #ff6456;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.6;
}

.modal-content {
    position: fixed;
    z-index: 10;
    top: 50%;
    left: 50%;
    max-width: 706px;
    padding: 46px 100px;
    color: #000;
    border-radius: 8px;
    background: #fff;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.modal-content h2 {
    margin-bottom: 20px;
    font-size: 30px;
    color: #ff6456;
}

.modal-content p {
    line-height: 1.3;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 400;
}

.modal-close {
    position: absolute;
    right: 0;
    top: 0;
    font-family: "comic sans ms", arial, helvetica, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #000;
    border: 0;
    background: none;
    cursor: pointer;
}

.modal .makers {
    margin-top: 30px;
    font-size: 14px;
}

.site-header {
    overflow: hidden;
    width: 100%;
    height: 60px;
    line-height: 60px;
    padding: 0 50px;
    font-size: 18px;
    font-weight: 700;
}

.site-header a {
    text-decoration: none;
    color: #000;
}

body.page:not(.home) .site-header a {
    color: #fff;
}

body.page:not(.home) .site-title {
    border-color: #fff;
}

.site-header a:hover {
    text-decoration: underline;
    color: #ff6456;
}

.site-title {
    float: left;
    height: 40px;
    margin-top: 10px;
    line-height: 28px;
    padding: 4px;
    border: 2px solid #000;
}

.site-navigation {
    float: right;
}

.site-navigation a {
    padding-left: 20px;
}

.country-bg,
.country {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.country {
    font-size: 30px;
    text-align: center;
    color: #fff;
}

body.page:not(.home) .country {
    position: relative;
    width: 100%;
    height: 300px;
    margin: 20px auto;
    background: #000;
}

.country-bg {
    background-size: cover;
    opacity: 0.6;
}

body.page:not(.home) .country-bg {
    opacity: 0.4;
}

.country-content {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    -o-transform: translate(0, -50%);
    transform: translate(0, -50%);
}

.country select {
    padding: 0 30px 0 10px;
    font-size: inherit;
    font-weight: inherit;
    text-decoration: underline;
    color: #ff6456;
    border: 0;
    background:transparent;
    -moz-appearance: none;
    -webkit-appearance: none;
}

.country-button {
    display: block;
    width: 114px;
    height: 35px;
    line-height: 35px;
    margin: 40px auto 0;
    font-size: 20px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    border-radius: 20px;
    background: #ff6456;
}

body.home main {
    position: fixed;
    top: 50%;
    left: 100px;
    right: 100px;
    height: 478px;
    margin-top: -239px;
    background: #000;
}

.page-bg {
    position: fixed;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-background-size: cover;
    background-size: cover;
}

.page-bg:after {
    content: ' ';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.55;
}

body.page:not(.home) h1 {
    margin: 40px;
    font-size: 26px;
    text-align: center;
}

strong {
    color: #ff6456;
}

.things {
    overflow: hidden;
    width: 100%;
    max-width: 960px;
    margin: 20px auto;
    text-align: justify;
}

.thing {
    float: left;
    width: 300px;
    margin: 20px 10px;
    padding: 20px;
    color: #000;
    border-radius: 10px;
    background: #fff;
    -webkit-box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, 0.5);
    box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, 0.5);
}

.thing h2 {
    margin-bottom: 20px;
    font-size: 18px;
    text-align: left;
}

.thing h3 {
    font-size: 16px;
    color: #ff6456;
}

.thing p {
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 400;
}

.thing p:last-child {
    margin-bottom: 0;
}

.more-countries {
    max-width: 75%;
    padding: 20px;
    margin: auto;
    text-align: center;
}

@media screen and (max-width: 959px) {
    .things {
        max-width: 640px;
    }
}

@media screen and (max-width: 639px) {
    .things {
        max-width: none;
        width: 90%;
    }

    .thing {
        width: 100%;
        margin: 20px 0 0;
    }
}

@media screen and (max-width: 768px) {
    .modal-content {
        position: absolute;
        width: 90%;
        padding: 20px 10px;
    }

    .modal-content h2 {
        font-size: 24px;
    }

    .site-header {
        height: auto;
        line-height: initial;
        text-align: center;
    }

    .site-title,
    .site-navigation {
        float: none;
        margin-bottom: 20px;
    }

    .site-title {
        height: auto;
        line-height: initial;
    }

    body.home main {
        position: static;
        height: 320px;
        margin-top: 0;
    }

    .country {
        position: relative;
        font-size: 24px;
    }

    .country-bg {
        opacity: 0.4;
    }

    .country-content {
        padding: 0 20px;
    }

    .country .select {
        margin-top: 20px;
    }

    .more-countries {
        max-width: 100%;
    }
}
