@import url('https://fonts.googleapis.com/css?family=Montserrat:200,400,500|Noto+Sans+TC:100,300,400,500,700');


:root {
    --primary: #753300;
    --secondary: #2C4A85;
    --dark-blue: #081F4E;
    --green: #0E615B;
    --light-green: #207A73;
    --light-brown: #893900;
}

body {
    overflow-x: hidden;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
}

@media (min-width: 992px) {
    body{
        font-size: 18px;
    }
}

.bgc-secondary{
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: #fff;
}

.bgc-primary{
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

button.bgc-primary:hover,
input.bgc-primary:hover{
    background-color: var(--light-brown);
    border-color: var(--light-brown);
}

.form-control:focus,
button:focus{
    border-color: rgba(44,74,133,.6);
    -webkit-box-shadow: 0 0 0 0.2rem rgba(44,74,133,.15);
    box-shadow: 0 0 0 0.2rem rgba(44,74,133,.15);
}

a{
    color: var(--primary);
}

a,
button{
    transition: .3s;
}

a:hover{
    color: var(--primary);
    text-decoration: none;
    opacity: .6;
}

.puppugenerator{

}

p.lause {
    margin-top: 20px;
}


/*===================
    HEADER
====================*/
.header{
    background-color: var(--light-green);
    border-bottom: 30px solid var(--secondary);
    color: #fff;
    padding: 20px 0;
}

.header__title{
    position: relative;
    display: inline-block;
    font-size: 20px;
    font-weight: 500;
}

img#badge {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 130px;
}

/*.header__title:after{
    position: absolute;
    left: 0;
    top: 20px;
    content: '';
    background-image: url(images/puppubadge.png);
    width: 120px;
    height: 120px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 50%;
    transition: .3s;
}*/

@media (min-width: 420px) {
    .header__title:after{
        left: auto;
        right: -120px;
        top: -35px;
        width: 120px;
        height: 120px;
    }
}


@media (min-width: 640px) {
    .header{
        padding: 40px 0;
    }

    .header__title{
        font-size: 30px;
    }
}
@media (min-width: 992px) {
    .header__title{
        font-size: 35px;
    }
}



/*===================
    MAIN
====================*/
.main{
    padding: 20px 0;
}

.main__formswrap{
    padding: 30px 0 10px;
    margin-top: 30px;
    border: 1px solid #eee;
    border-radius: 5px;
    box-shadow: 2px 3px 20px -2px #d7d7d7;
}

.main__formswrap label{
    width: 110px;
    font-size: 13px;
}

.main__formswrap input,
.main__formswrap select{
    width: 250px!important;
}

.main__formswrap button{
    align-self: flex-end;
    width: 100px;
}

@media (min-width: 992px) {
    .main__formswrap button{
        width: auto;
    }
}

.main__resultwrap{
    padding: 40px 15px;
    border: 1px solid #eee;
    border-radius: 5px;
    box-shadow: 2px 3px 20px -2px #d7d7d7;
}

.main__genwrap{
    width: 100%;
}

.main__result{
    text-align: center;
    font-size: 22px;
    font-weight: 600;
}

.main__subresult{
    width: 100%;
}

.main__socials{
    width: 100%;
}

.main__socials .addthis_toolbox{
    display: flex;
    justify-content: center;
    width: 100%;
}

.main__socials .addthis_toolbox a{
    display: block;
    padding: 5px 20px;
}

.main__text{
    text-align: center;
    padding: 15px;
    font-size: 14px;
}

/*===================
    FOOTER
====================*/
.footer {
    padding: 40px 0;
    background-color: var(--secondary);
    color: #fff;
    font-size: 14px;
    text-align: center;
}

.footer a {
    color: #fff;
    text-decoration: underline;
}

