/* 
stylesheet for Kroeger Web Design v3 2023

dark blue #244A82
turquoise #45B6BA
*/

/****** GENERAL ******/
body {
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}

/****** FONTS ******/
@import url('https://fonts.googleapis.com/css2?family=PT+Serif&family=Roboto:wght@300;700&display=swap');

body, p {
    font-family: 'Roboto', sans-serif;
    color: #244A82;
    font-size: 1em;
}
.imageSource {
    color: #45B6BA;
    text-decoration: none;
    font-size: 0.7em;
    clear: both;
}
#navigation a{
    text-decoration: none;
    color: #45B6BA;
}
.validateError {
    font-weight: bold;
    color: red;
}

/****** FOR MOBILE SCREEN ******/
/****** FOR MOBILE SCREEN ******/
/****** FOR MOBILE SCREEN ******/

/****** LAYOUT ******/
/****** header ******/
#headerLogo, #headerLogoThankYou {
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding: 5px;
    max-width: 30%;
    min-width: 250px; 
}
#headerLogo a {
    color: white;
    text-decoration: none;
}
/****** remove browser default ******/
#topnav {
    display: flex;
    justify-content: center;
}
ul {
  list-style-type: none;
  margin: 0;
  padding: 5px;
}
#navigation li {
    display: inline;
    float: left;
    text-align: center;
}
#navigation a {
    display: block;
    width: 100px;
}
/****** services ******/
.services img{
    max-width: 100%;
    padding-top: 30px;
    display: block;
}
.services p {
    padding: 10px 15px;
    margin: 0;
}
/****** about ******/
#aboutCornerTL {
    display: block;
    padding-top: 40px;
    margin-left: 5%;
    width: 100px;
}
#aboutCornerBR {
    display: block;
    padding-bottom: 0;
    margin-right: 5%;
    margin-left: auto;
    width: 100px;
}
#about p {
    border: thin solid #45B6BA;
    padding: 10%;
    margin: 5px 5%;
    
}
#aboutImage {
    display: none;
}
#aboutImageMobile {
    width: 100%;
    padding-top: 0;
}

/****** contact ******/
#contactForm img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
    max-width: 300px;
    margin-top: 40px;
}
form {
    border: thin solid #45B6BA;
    margin: 5px 5%;
    padding: 30px 15%;
}
label {
    color: #45B6BA;
    font-size: 1.2em;
}
input[type=text], input[type=number], input[type=email] {
    width: 100%;
    padding: 12px 20px;
    margin-top: 5px;
    margin-bottom: 20px;
    border-left: thin solid #45B6BA;
    border-bottom: thin solid #45B6BA;
    border-top: none;
    border-right: none;
}
#popia {
    text-align: center;
    font-size: 0.9em;
}
input[type=image] {
    display: block;
    width: 50%;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;

}
#formMessage {
    height: 120px;
}
.validateError {
    margin-top: -15px;
    margin-bottom: 30px;
}

/****** thank you ******/
#thankYou p {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 80px;
    font-size: 2em;
}
#easterImage {
    margin-bottom: 50px;
}
#headerLogoThankYou img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 30%;
}
/****** ticket table ******/
#deleteTicketButton {
    border: none ;
}
table {
    clear: both;
    margin-left: 5%;
    
}
table, th, td {
    border: thin solid #45B6BA;
    border-collapse: collapse;
}
td {
    padding: 5px;
}
/****** footer ******/
.footerWeb {
    display: none;
}
.footerMobile {
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding-top: 15px;
    height: 35px;
}
footer {
    margin: 30px;
}   

/****** FOR WEB SCREEN ******/
/****** FOR WEB SCREEN ******/
/****** FOR WEB SCREEN ******/

/* Style rule for screens bigger than 900px */
@media screen and (min-width: 900px) {
    /****** header ******/
    #headerLogo {
        float: left;
        padding: 20px;
        min-width: 150px;
    }
    #topnav {
        float: right;
        padding-top: 40px;
    }
    #navigation a:hover {
        color: #244A82;
    }
    
    /****** services ******/
    #design {
        float: left;
    }
    #develop {
        float: left;
    }
    #database {
        float: left;
    }
    .services {
        width: 26%;
    }
    .services img {
        max-width: 100%;
    }
    #services {
        clear: both;
    }
    #design {
        margin-left: 5%;
    }
    #develop {
        margin-left: 5%;
        margin-right: 5%;
    }
    #database {
        margin-right: 5%;
    }
    
    /****** about ******/
    #about {
        clear: both;
    }
    #aboutImageMobile {
        display: none;
    }
    #aboutImage {
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-top: 0;
        width: 90%;
    }
    #about p {
        padding: 5%;
    }
    #about a {
        padding-left: 5%;
    }
    
    /****** contact ******/
    #contactForm img {
        width: 30%;
    }
    
    /****** thank you ******/
    #thankYou {
        clear: both;
    }
    #thankYou p {
        text-align: center;
        margin-top: 50px;
        margin-bottom: 80px;
        font-size: 2em;
    }
    
    /****** footer ******/
    .footerMobile {
        display: none;
    }
    .footerWeb{
        display: block;
        margin-left: auto;
        margin-right: auto;
        padding-top: 15px;
        height: 35px;
    }
}