/* -Import Font Style- */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Oswald:wght@500&family=Roboto&display=swap');
/* 
SAMPLE 
    font-family: 'Oswald', sans-serif;
    font-family: 'Roboto', sans-serif;
    font-family: 'Bebas Neue', cursive;
*/

/* -All Settings- */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* -Scroll- */
::-webkit-scrollbar {
    background: transparent;
    width: 7px;
}
::-webkit-scrollbar-thumb {
    background: #8f8f8f;
    border-radius: 100px;
}
::-webkit-scrollbar-track{
    background-color: #333333;
}

/* -Smooth Scroll- */
html{
	scroll-behavior: smooth;
}

/* -Main Font- */
body{
    font-family: 'Roboto', sans-serif;
}

/* -Toggle- */
.toggle {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #000 url(images/menu.png);
    background-size: 30px;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 100px;
    cursor: pointer;
    z-index: 1000;
}
.toggle.active {
    background: #000 url(images/close.png);
    background-size: 30px;
    background-position: center;
    background-repeat: no-repeat;
}

/* -Sidebar- */
.sidebar {
    position: fixed;
    background: #000;
    display: flex;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
    padding: 40px;
    z-index: 100;
    right: -100%;
}
.sidebar.active {
    right: 0;
}
.sidebar ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.sidebar ul li {
    list-style: none;
}
.sidebar ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 40px;
    margin: 10px 0;
    font-weight: 300;
    letter-spacing: 2px;
    word-spacing: 10px;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
}
.sidebar ul li a:hover {
    color: #00bcd4;
}

/* -Section- */
section{
    position: relative;
}
#home {
    background-color: #FFF;
    width: 100%;
    float: left;
    height: 100vh;
}
#services {
    background-color: #202020;
    height: 720px;
    width: 100%;
    float: left;
}
#gallery {
    background-color: #FAF8F1;
    height: 720px;
    width: 100%;
    float: left;
}
#contact {
    background-color: #202020;
    height: 750px;
    width: 100%;
    float: left;
}
#footermain {
    background-color: #292c2f;
    height: 110px;
    width: 100%;
    float: left;
}

/* -Home- */
.banner {
    position: relative;
    width: 100%;
    min-height: 100vh;
}
.banner .clinic {
    position: fixed;
    top: 0;
    left: 0;
    width: 75vh;
    height: 100%;
}
.banner .clinic img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.banner .content {
    width: calc(100% - 500px);
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    margin-left: 500px;
    display: inline;
    justify-content: center;
    align-items: center;
    padding: 100px;
}
.banner .logo {
    position: absolute;
    top: 40px;
    left: 100px;
    cursor: pointer;
}
.logo img {
    width: 185px;
    height: 45px;
}
.banner .content h1 {
    margin-top: 14vh;
    font-size: 40px;
    font-weight: 50;
    color: #333333;
}
.banner .content h3 {
    margin-top: 1vh;
    font-size: 1.8vw;
    font-weight: 30;
    color: #333333;
}
.banner .content p {
    margin: 20px auto;
    font-weight: 100;
    line-height: 25px;
}
/* -Button- */
.button {
    position: relative;
    margin-top: 75vh;
    margin-left: 690px;
}
button {
    position: absolute;
    transform: translate(-50%, -50%);
    background: none;
    border: 2px solid #009688;
    padding: 12px 20px;
    min-width: 200px;
    margin: 10px;
    cursor: pointer;
    transition: color 0.4s linear;
}
button a {
    text-decoration: none;
    color: #333333;
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    font-weight: 500;
}
button:hover {
    color: #fff;
}
button::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #009688;
    z-index: -1;
    transition: transform 0.5s;
    transform-origin: 0 0;
    transition-timing-function: cubic-bezier(0.5,1.6,0.4,0.7);
    transform: scaleX(0);
}
button:hover::before {
    transform: scaleX(1);
}
@media only screen and (min-height: 790px) {
    .banner .clinic {
        position: absolute;
        top: 0;
        left: 0;
        width: 30em;
        height: 100%;
    }
    .banner .content {
        width: calc(100% - 500px);
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        margin-left: 500px;
        display: inline;
        justify-content: center;
        align-items: center;
        padding: 100px;
    }
}
@media only screen and (max-width: 924px) {
    section#home {
        background-color: #fff;
        max-height: 720px;
        float: left;
        flex-wrap: wrap;
    }
    .banner .clinic {
        height: 0;
        width: 0;
    }
    .banner .content h3 {
        margin-top: 1vh;
        font-size: 17px;
        font-weight: 30;
        color: #333333;
    }
    .banner .content {
        width: 100%;
        height: 720px;
        margin-left: 0px;
        padding: 20px;
    }
    .button {
        position: relative;
        margin-top: 85vh;
        margin-left: 100px;
    }
}
/* -Services- */
.sectiontitle-services{
    font-family: 'Bebas Neue', cursive;
    text-align: center;
    color: white;
    letter-spacing: 3px;
    text-decoration: italic;
    font-size: 65px;
    margin-top: 20px;
}
/* -Image Card- */
.services {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
}
.card {
    background: white;;
    width: 300px;
    height: 450px;
    margin: 10px;
}
.card-image {
    height: 150px;
    margin-bottom: 15px;
    background-size: cover;
}
.card-btn {
    position: relative;
    margin-top: 150px;
}
.card-1 {
    background-image: url(images/prosthodontics.jpg);
}
.card-2 {
    background-image: url(images/xray.jpg);
}
.card-3 {
    background-image: url(images/orthodontics.jpg);
}
.card-4 {
    background-image: url(images/prosthodontics.jpg);
}
.card-5 {
    background-image: url(images/others.jpg);
}
.card h2 p a {
    margin-top: 50px;
}
.card h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 30px;
    letter-spacing: 1px;
    padding: 10px;
    padding-top: 165px;
}
.card p {
    padding: 8px;
}
.card a {
    background-color: black;
    color: white;
    padding: 15px 20px;
    display: block;
    text-align: center;
    margin: 20px 50px;
    text-decoration: none;
}
.card:hover {
    background-color: rgb(62, 62, 62);
    color: white;
    cursor: pointer;
    transform: scale(1.03);
    transition: all 0.3s ease;
}
@media only screen and (max-width: 1300px) {
    section#services {
        height: 1650px;
    }
    .services {
        flex-wrap: wrap;
    }
}
@media only screen and (max-width: 700px) {
    section#services {
        height: 2500px;
    }
    .services {
        flex-wrap: wrap;
    }
}

/* -Gallery- */
.sectiontitle-gallery{
    font-family: 'Bebas Neue', cursive;
    text-align: center;
    color: #333;
    letter-spacing: 3px;
    text-decoration: italic;
    font-size: 65px;
    margin-top: 20px;
    margin-right: auto;
    margin-left: auto;
}
/* -Image Slider- */
.carousel-wrapper {
    height: 400px;
    position: relative;
    width: 800px;
    display: block;
    margin: 50px auto ;
    border: 2px solid #333;
    margin-top: 20px;
}
.carousel-item {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px 50px;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}
.arrow{
    border: solid rgb(197, 197, 197);
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 12px;
}
.arrow-prev {
    left: 30px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(135deg);
}
.arrow-next {
    right: 30px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}
[id^= "item"] {
    display: none;
}
.item-1 {
    z-index: 2;
    opacity: 1;
    background: url('images/checkup.jpg');
    background-size: cover;
}
.item-2 {
    background: url('images/clinicback.jpg');
    background-size: cover;
}
.item-3 {
    background: url('images/dentalinfo.png');
    background-size: cover;
}
*:target ~ .item-1{
    opacity: 0;
}
#item-1:target ~ .item-1 {
    opacity: 1;
  
}
#item-2:target ~ .item-2, #item-3:target ~ .item-3 {
    z-index: 3;
    opacity: 1;
}
@media only screen and (max-width: 768px) {
    .carousel-wrapper {
        height: 400px;
        width: 600px;
    }
}
@media only screen and (max-width: 600px) {
    #gallery {
        height: 475px;
    }
    .carousel-wrapper {
        height: 250px;
        width: 350px;
    }
}

/* -Contact- */
.sectiontitle-contact{
    margin-top: 10px;
    font-family: 'Bebas Neue', cursive;
    text-align: center;
    letter-spacing: 3px;
    text-decoration: italic;
    font-size: 65px;
    color: #fff;
}
/* -Maps and Forms- */
.contact-in {
    width: 80%;
    height: auto;
    margin-top: 3vh;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0px 0px 10px 0px #666;
}
.contact-map {
    width: 100%;
    height: auto;
    flex: 50%;
}
.contact-map iframe {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}
.contact-form {
    width: 100%;
    height: auto;
    flex: 50%;
    padding: 30px;
    text-align: center;
}
.contact-form h1 {
    margin-bottom: 30px;
    color: #333;
    font-size: 40px;
    font-family: 'Oswald', sans-serif;
}
.contact-form-txt {
    width: 100%;
    height: 40px;
    color: #000;
    border: 1px solid #bcbcbc;
    border-radius: 50px;
    outline: none;
    margin-bottom: 20px;
    padding: 15px;
    font-family: 'Roboto', sans-serif;
}
.contact-form-txt::placeholder {
    color: #aaa;
}
.contact-form-textarea {
    width: 100%;
    height: 130px;
    color: #000;
    border: 1px solid #bcbcbc;
    border-radius: 20px;
    outline: none;
    margin-bottom: 20px;
    padding: 15px;
    font-family: 'Roboto', sans-serif;
}
.contact-form-textarea::placeholder {
    color: #aaa;
}
.contact-form-btn {
    width: 100%;
    border: none;
    outline: none;
    border-radius: 50px;
    background: #009688;
    color: #fff;
    text-transform: uppercase;
    padding: 10px 0;
    cursor: pointer;
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    letter-spacing: 2px;
}
@media only screen and (max-width: 1080px) {
    section#contact {
        height: 800px;
    }
}
@media only screen and (max-width: 768px) {
    section#contact {
        height: 940px;
    }
}

/* -About- */
.about {
    background-color: rgb(32, 32, 32);
    background-attachment: fixed;
    background-position: center;
    height: 100vh;
    width: 100%;
    font-family: 'Roboto', sans-serif;
}
.about h1{
    text-align: center;
    font-size: 40px;
    letter-spacing: 1px;
    color: white;
    font-family: 'Oswald', sans-serif;
}
.about h2 {
    text-align: center;
    font-size: 30px;
    letter-spacing: 1px;
    color: white;
    font-family: 'Oswald', sans-serif;
}
.about h3 {
    text-align: center;
    font-size: 20px;
    letter-spacing: 1px;
    color: #aaa;
    font-family: 'Oswald', sans-serif;
}
.about p {
    text-align: center;
    font-size: 20px;
    letter-spacing: 1px;
    color: rgb(184, 184, 184);
}
.about a {
    color: white;
}
.about a:link {
    text-decoration: none;
}

/* -Footer- */
.footer-distributed {
    background-color: #292c2f;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
    width: 100%;
    max-height: 15%;
    text-align: left;
    font: normal 16px sans-serif;
    padding: 0px 20px;
}
.footer-distributed .footer-left p {
    font-family: 'Oswald', sans-serif;
    color: #aaa;
    font-size: 15px;
    letter-spacing: 1px;
}
.footer-distributed .footer-left a {
    font-family: 'Oswald', sans-serif;
    color: #aaa;
    font-size: 15px;
    text-decoration: none;
    letter-spacing: 1px;
}
.footer-distributed .footer-right {
    float: right;
    margin-top: 35px;
    margin-right: 20px;
    max-width: 180px;
}
.footer-distributed .footer-right a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background-color: #33383b;
    border-radius: 2px;
    font-size: 20px;
    color: #ffffff;
    text-align: center;
    line-height: 35px;
    margin-left: 3px;
    transition: all .25s;
} 
.footer-distributed .footer-right a:hover {
    transform:scale(1.1); 
    -webkit-transform:scale(1.1);
}
.footer-distributed p.footer-links a:hover {
    text-decoration: underline;
}
.logo-link img{
    height: 40px;
    width: 150px;
    margin-top: 25px;
}
@media only screen and (max-height: 900px) {
    #about {
        height: 115vh;
    }
}

/* -END OF CSS- */