#back {
    background-color: rgba(193, 229, 245, 255);
}

/* header and top nav styling */

header {
    background-image: url(_images/shape.jpg);
    background-repeat: no-repeat;
    background-position: center;
    height: 220px;
    background-size: cover;
}

.logo img {
    width: 150px;
    position: absolute;
    top: 30px;
    left: 65px;
    border: 2px solid black;
}

#topnav {
    text-align: right;
    position: absolute;
    right: 18px;
    top: 20px;
    box-shadow: 0 8px 12px rgb(29, 17, 41);
    font-family: "Rajdhani", sans-serif;
    font-weight: 600;
    font-size: 20px;
    background-color: darkgray;
}

#topnav ul {
    list-style-type: none;
    width: 300px;
    padding: 0px;
    margin: 0px;
}

#topnav a {
    color: white;
    text-decoration: none;
    padding: 5px;
    display: block;
    text-align: center;
}

#topnav li {
    margin-bottom: 3px;
}

#topnav .current {
    color: white;
    text-decoration: none;
    padding: 5px;
    display: block;
    text-align: right;
    background-color: rgb(112, 84, 122);
    box-shadow: 0 4px 6px rgb(62, 52, 72);
}

#topnav a:hover {
    background-color: rgb(195, 100, 100);
}

#topnav a:link {
    background-color: rgb(109, 138, 109);
    margin-left: 210px;
    box-shadow: 0 4px 6px rgb(62, 52, 72);
}


.elements {
    display: inline-block;
}

header h1 {
    position: absolute;
    top: 180px;
    color: rgb(90, 90, 199);
    text-align: center;
    font-family: "Patua One", serif;
    background-color: beige;
    -webkit-text-stroke-width: 0.5px;
    -webkit-text-stroke-color: rgb(27, 11, 43);
    box-shadow: 0 8px 12px rgb(29, 17, 41);
}

main h1 {
    color: rgb(153, 117, 165);
    -webkit-text-stroke-width: 0.3px;
    -webkit-text-stroke-color: rgb(27, 11, 43);
    text-align: center;
    font-family: "Cookie", cursive;
    font-size: 50px;
    font-weight: 700;
    background-color: rgb(177, 199, 213);
    box-shadow: 0 8px 12px rgb(29, 17, 41);
}

#home,
#about,
#services,
#gallery,
#contact {
    text-align: center;
    margin-left: 30px;
    margin-right: 30px;
}

/* homepage styling */

#home img {
    border-radius: 50%;
    border-style: solid;
    border-color: rgb(71, 71, 141);
    margin-left: auto;
    margin-right: auto;
    width: 190px;
    height: auto;
    box-shadow: 0 8px 12px rgb(29, 17, 41);
}

#home q {
    font-size: 18px;
}

#home .decor img {
    border-radius: 0%;
    padding: 10px;
    background-color: cornflowerblue;
    width: 250px;
}

#home hr {
    color: blue;
    border-style: dashed;
    box-shadow: 0 8px 12px rgb(29, 17, 41);
}

.news {
    display: flex;
    justify-content: center;
    background-color: rgba(193, 229, 245, 255);
    margin-left: 170px;
    width: 80%;
    box-shadow: 0 6px 10px rgb(29, 17, 41);
    text-align: center;
    align-items: center;
}

/* all elements using tag selector */

p {
    font-family: "Rajdhani", sans-serif;
    font-weight: 600;
    font-size: 20px;
}

h2 {
    font-family: "IBM Plex Serif", serif;
    text-decoration: underline;
}

h3 {
    font-family: "Patua One", serif;
}

/* about styling */

.owl img {
    border-radius: 50%;
    border-style: solid;
    border-color: rgb(71, 71, 141);
    margin-left: auto;
    margin-right: auto;
    width: 120px;
    height: auto;
    box-shadow: 0 8px 12px rgb(29, 17, 41);
}

.shape {
    text-align: center;
}

.shape h2 {
    font-family: "IBM Plex Serif", serif;
    color: rgb(40, 33, 33);
    text-decoration: none;
}

.shape p {
    font-family: "Rajdhani", sans-serif;
    font-weight: 600;
    font-size: 20px;
}

.box {
    display: inline-block;
    background-color: rgb(33, 151, 112);
    border-radius: 12%;
    margin: 30px;
    width: 450px;
    box-shadow: 0 8px 12px rgb(29, 17, 41);
}

.box img {
    width: 50%;
}

#about hr {
    color: rgb(25, 89, 5);
    border-style: dashed;
    box-shadow: 0 8px 12px rgb(29, 17, 41);
}

#about video {
    border-style: solid;
    border: 2px;
    border-color: rgb(25, 89, 5);
    background-color: rgb(33, 151, 112);
    box-shadow: 0 8px 12px rgb(29, 17, 41);
}

/* services styling */

#services img {
    border-radius: 10%;
    padding-left: 10px;
    width: 350px;
}

#services h2 {
    text-decoration: none;
}

#services h3 {
    background-color: rgb(169, 82, 82);
}

#services hr {
    color: rgb(151, 40, 17);
    border-style: dashed;
    box-shadow: 0 8px 12px rgb(29, 17, 41);
}

/* gallery styling */

#gallery img {
    padding-left: 15px;
}

#gallery h2 {
    font-family: "Patua One", serif;
    text-align: center;
    font-size: 30px;
    color: rgb(93, 88, 79);
    -webkit-text-stroke-width: 0.3px;
    -webkit-text-stroke-color: rgb(59, 16, 8);
    text-decoration: underline;
}

#gallery h3 {
    font-family: "IBM Plex Serif", serif;
    background-color: white;
    text-align: center;
    font-size: 25px;
    color: rgb(81, 75, 65);
    box-shadow: 0 8px 12px rgb(29, 17, 41);
}

/* contact styling */

#contact .boxplace {
    text-align: center;
}

#contact .box {
    display: inline-block;
    border: 1px solid rgb(236, 241, 228);
    color: rgb(230, 218, 200);
    background-color: rgb(25, 77, 99);
    margin: 20px;
    width: 400px;
    height: 430px;
    align-items: center;
}

#contact .box .name {
    padding: 10px;
    text-align: center;
}

#contact img {
    border: 5px solid rgb(224, 226, 219);
}

.form {
    overflow: auto;
    width: 80%;
    background-color: rgb(46, 114, 143);
    margin-left: 150px;
    box-shadow: 0 8px 12px rgb(29, 17, 41);
}

.form table {
    height: 100%;
    width: 100%;
    border: 8px solid rgb(46, 114, 143);
    border-spacing: 0px;
    box-shadow: 0 8px 12px rgb(29, 17, 41);
}

.form thead {
    background-color: #abb0cf;
    border-bottom: 1px solid rgb(53, 14, 53);
}

.form th {
    font-family: "Rajdhani", sans-serif;
    font-size: 24px;
    border-top: 2px solid rgb(53, 14, 53);
    border-bottom: 2px solid rgb(53, 14, 53);
    border-right: 2px dotted rgb(53, 14, 53);
    border-left: 2px dotted rgb(53, 14, 53);
}

.form td {
    padding: 18px;
    background-color: rgb(183, 183, 183);
    color: #0a0909;
    font-family: "IBM Plex Serif", serif;
    font-size: 18px;
    border-bottom: 0.2px solid #0a0909;
}

.clear input {
    background-color: rgb(190, 72, 72);
}

.submit input {
    background-color: rgb(79, 128, 79);
}

.form label {
    font-size: 16px;
    background-color: #abb0cf;
    border-bottom: 2px solid rgb(53, 14, 53);
}

.form input {
    font-size: 16px;
}

/* footer and bottom nav styling */

footer {
    background-color: darkgray;
}

footer p {
    text-align: center;
    font-family: "Rajdhani", sans-serif;
    font-weight: 500;
    font-size: 18px;
}

.insta a {
    font-family: "Cookie", cursive;
    font-weight: 400;
    font-size: 28px;
    text-decoration: none;
    padding: 5px;
    color: rgb(91, 21, 21);
}

#bottomnav ul {
    color: white;
    text-decoration: none;
    list-style-type: none;
    padding: 0px;
    margin: 0px;
    display: flex;
    text-align: center;
    justify-content: center;
    background-color: rgb(88, 56, 99);
    box-shadow: 0 8px 12px rgb(29, 17, 41);
    font-family: "Rajdhani", sans-serif;
    font-weight: 600;
    font-size: 20px;
}

#bottomnav a {
    color: white;
    text-decoration: none;
    padding: 10px;
    text-align: center;
}

#bottomnav li {
    margin: 0px 10px;
}

#bottomnav .current {
    color: white;
    text-decoration: none;
    list-style-type: none;
    padding: 10px;
    margin: 0px;
    display: flex;
    text-align: center;
    justify-content: center;

}

#bottomnav a:link {
    box-shadow: 0 8px 12px rgb(29, 17, 41);
    background-color: rgb(79, 128, 79);
    text-decoration: none;
}

#bottomnav a:visited {
    text-decoration: none;
}

#bottomnav a:hover {
    background-color: rgb(190, 72, 72);
    text-decoration: none;
}

footer iframe {
    display: block;
    width: 100%;
}

/* responsive design */

@media only screen and (max-width: 960px) {
    #back {
        width: 360px;
    }

    .box {
        width: 250px;
    }

    video {
        width: 250px;
    }

    #services img {
        width: 60%;
    }

    #contact .box {
        width: 250px;
    }

    .logo img {
        width: 12%;
        top: 15px;
        left: 20px;
    }

    header h1 {
        width: 180px;
        top: 100px;
    }

    #topnav {
        width: 250px;
        left: 30px;
    }

    .elements {
        display: block;
    }

    #bottomnav {
        width: 280px;
        margin-left: 2px;
    }

    #bottomnav ul {
        font-size: 14px;
        padding: 1px;
        margin-left: 38px;
        width: 280px;
        display: block;
    }

    #bottomnav li {
        margin-bottom: 28px;
    }

    header h1 {
        width: 30%;
    }

    #home img {
        width: 60%;
    }

    #home .decor img {
        width: 60%;
    }

    iframe {
        width: 250px;
    }

    .news {
        display: flex;
        justify-content: center;
        margin-left: 20px;
        width: 90%;
    }

    .form {
        overflow: auto;
        width: 100%;
        margin-left: 2px;
    }

    #gallery img {
        width: 60%;
    }
}