/* import fonts from google */
@import url('https://fonts.googleapis.com/css2?family=Baskervville&family=Didact+Gothic&family=Lato:wght@300&family=Oswald:wght@300&display=swap');


/* bootstrapping local font */
@font-face {
    font-family: abbadon;
    src: url(/assets/fonts/Abaddon/abaddon_400.ttf);
}


/* settings for all pages bodies */
* {
    font-family: 'Didact Gothic', sans-serif;
    margin: 0;
    padding: 0;

}
body { /*settings for background */
    background: linear-gradient(to bottom, white, #880808);

}
    

/* CSS style for Header for all pages*/
header {
    text-align: center;
    height: 120px;
    background-image: url("../images/blood1.gif");
}
header  a {
    text-decoration: none;
    width: 100%;
    font-size: xxx-large;
    color: rgba(136, 8, 8, 1);
    font-family: abbadon;
    margin-top: -50px;

} 


/* CSS style for Navigation for all pages */
nav ul {
    text-align: center;
    height: 50px;
    padding-bottom: 10px;
}
nav li {
    list-style-type: none;
    font-size: large;
    text-decoration: none;
    display: inline-block;
    width: 32%;
    margin: 0;
}
nav a {
    text-decoration: none;
    color: black;
}
nav a:hover {
    color: rgba(136, 8, 8, 1);
}


/* CSS - index page */
.index_img_text_hidden{
    visibility: hidden;
    height: 0;
}
#index_main_img {
    background-image: url("../images/bran_castle.jpg");
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    aspect-ratio: 1920 / 1283;
    width: 98%;
    border-radius: 10px;
    display: block;
    margin:auto ;
}
#index_main_img_text_shape {
    width: 35%;
    height: 35%;
    background-color: rgba(255, 255, 255, 0.2);
    color: rgba(136, 8, 8, 1);
    display: flex;
    border-radius: 150%;
    text-align: center;
    position: relative;
    margin-top: 3%;
    margin-left: 62%;
    font-size: 125%;
}
.index_main_img_text {
    margin: auto;
    font-size:2vw ;
}
#index_main_intro_text {
    width: 90%;
    text-align: center;
    margin-left: 5%;
    padding-top: 25px;
}


/* CSS for brief_history page */
.brief  {/* Justify all text*/
    text-align: justify;
    width: 94%;
    margin: 3%;
}
/* CSS for artices in brief history page */
article {
    overflow: hidden;
    padding: 20px;
}
article > img{
    border-radius: 10px;
    width: 49%;
}
article h1 {
    font-size:36px;
}
article p {
    font-size:22px;
}
article:nth-child(odd) > img { /*aligning all articles images that are odd to be floating to right*/

    float: right;
    margin-left: 20px;
}
article:nth-child(even) > img { /*aligning all articles images that are even to be floating to left*/

    float: left;
    margin-right: 20px;
}


/* CSS for footer */
.footer {
    background-color: black;
    color: whitesmoke;
    position: relative;
    bottom: 0px;
    height: 40px;
    display: flex;
    border-radius: 10px;
    width: 100%;
    margin-top: auto;
}
.footer ul {
    margin: auto;
    width: 100%;
    text-align: center;
}
.footer li {
    list-style-type: none;
    display: inline-block;
    margin: 0;
    width: 32%;
}
.footer a {
    text-decoration: none;
    color: whitesmoke;
}
.footer a:hover { /*footer settings when mouse hover over */
    text-decoration: none;
    color: rgba(136, 8, 8, 1);
}
.footer i {
    color: rgba(136, 8, 8, 1);
    font-size: 26px;
}
.footer i:hover {
    color: whitesmoke;
}


/* CSS settings for screen width */
/* for small to medium screen sizes up to 850px wide and down*/
@media screen and (max-width: 600px) {
    article {
        overflow: hidden;
        padding: 20px 0 20px 0;
    } 
    article img{
        border-radius: 10px;
        width: 100%;
    }
    nav li {
        list-style-type: none;
        font-size:medium;
        text-decoration: none;
        display: inline-block;
        width: 32%;
        margin: 0;
    }
    #index_main_img_text_shape {
        visibility: hidden;
    }
    #index_main_img {
        background-image: url("../images/bran_castle.jpg");
        background-attachment: scroll;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        overflow: hidden;
        aspect-ratio: 1920 / 1283;
        width: 98%;
        border-radius: 10px;
        display: block;
        margin:auto ;
        margin-top: 30px;
    }
    .index_main_img_text {
        visibility: hidden;
    }
    .index_img_text_hidden{
        color: rgb(136, 8, 8);
        width: 90%;
        text-align: center;
        visibility: visible;
        height: auto;
    }
    .footer a {
        text-decoration: none;
        color: whitesmoke;
        font-size: small;
    }
}


/*CSS for contact page*/
.button_send {
    background-color: rgb(136, 8, 8);
    border: solid 1px black;
    color: whitesmoke;
    padding: 15px 15px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    height: 55px;
    margin-left: 30px;
}
.button_send:hover{border: 3px double black; color: black;}
.contact_us{
    overflow: hidden;
    background-size: cover;
}
fieldset {
    width: 80%;
    margin: 1% auto;
    border-radius: 5px;
    background-color: whitesmoke;
    box-shadow: 0 0 10px 10px rgb(136, 8, 8);
    padding: 20px;
    border: 2px solid whitesmoke;
}
textarea {
    width: 90%;
    border: 2px solid rgb(136, 8, 8);
    border-radius: 10px;
    box-shadow: 0 0 15px 10px rgba(136, 8, 8, 0.4);
    box-sizing: border-box;
    margin-top: 50px;
    text-align: center;
    font-size: 1.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
}

fieldset h2 {
    font-size: 1.5rem;
    width: 100%;
    text-align: center;
    padding-bottom: 30px;
}
fieldset input {
    border: none;
    background: transparent;
    width: 70%;
    border-bottom: 3px solid black;
    font-size: 1.5rem;
    margin-left: 30px;
    border-radius: 10px;
    color: rgb(136, 8, 8);
    display:flex;
    margin-left: 30px;
    margin-top: 10px;
    padding-left: 10px;
}
fieldset input:hover {
        border-radius: 10px;
        background-color: rgba(136, 8, 8, .1);
}
fieldset label {
    font-size: 1.5rem;
    margin-left: 30px;
}