/* @font-face {
    font-family: 'Roboto';
    font-weight: 300;
    src: url('fonts/roboto-light-webfont.woff2') format('woff2');
    font-display: swap
}

@font-face {
    font-family: 'Roboto';
    font-weight: 400;
    src: url('fonts/roboto-regular-webfont.woff2') format('woff2');
    font-display: swap
}

@font-face {
    font-family: 'Roboto';
    font-weight: 500;
    src: url('fonts/roboto-medium-webfont.woff2') format('woff2');
    font-display: swap
}

@font-face {
    font-family: 'Roboto';
    font-weight: 700;
    src: url('fonts/roboto-bold-webfont.woff2') format('woff2');
    font-display: swap
} */

* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    font-size: 62.5%;
}

body {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    font-family: 'Roboto', sans-serif;
    background-color: hsl(0, 0%, 95%);
    color: hsl(0, 0%, 20%);
}

.container0 {
    font-size: 40px;
    text-align: center;
    padding: 5px;
}

.websiteContainer {
    position: relative;
    top: 0px;
    width: 100%;
    height: 850px;
}

.background {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.background>picture>* {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 10% 30%;
}

.background>div {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: hsla(0, 0%, 0%, 0.4);
    z-index: 0;
}


.header {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 80px;
    background-color: hsla(0, 0%, 100%, 0.3);
}

.logo {
    position: relative;
    width: fit-content;
    height: 100px;
    margin: 10px;
    margin-left: 10vw;
}

.navContainer {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    width: 80px;
    height: 80px;


}

.hamburgerCheckBox {
    position: absolute;
    margin: 0px;
    padding: 0px;
    width: 80px;
    height: 80px;
    opacity: 0%;
    z-index: 1;
}

.hamburgerDivs {
    position: relative;
    width: 40px;
    height: 6px;
    margin: 5px;
    background-color: hsl(0, 0%, 80%);
    transition-duration: .3s;
}

input:checked~.hamburgerDivs:nth-child(2) {
    transform: rotate(45deg) translate(11px, 11px);
}

input:checked~.hamburgerDivs:nth-child(3) {
    background-color: transparent;
    transform: rotate(180deg)
}

input:checked~.hamburgerDivs:nth-child(4) {
    transform: rotate(-45deg) translate(11px, -11px);
}

.side-menu {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: hsla(0, 0%, 90%, 0.1);
    right: 0px;
    top: 80px;
    width: 1px;
    height: 370px;
    transition-duration: .1s;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 4;
}

.side-menu>a {
    color: hsl(0, 0%, 90%);
    text-decoration: none;

    font-size: 38px;
    padding: 4px;
}


input:checked~.side-menu {
    width: 100vw;
}

.container1 {
    height: 420px;
    width: 340px;
    margin: 10px;
    margin-left: 10vw;
    text-shadow: 0px 0px 6px hsla(0, 0%, 0%, 0.4);
    color: hsl(0, 0%, 95%);
    display: flex;
    justify-content: left;
    flex-direction: column;

}

.container1>div:nth-child(1) {
    font-size: 56px;
    font-weight: 300;
    line-height: 1.0;
}

.container1>div:nth-child(2) {
    font-size: 44px;
    font-weight: 300;
    line-height: 1.3;
}

.container1>div:nth-child(3) {
    font-size: 22px;
    line-height: 1.4;
    font-weight: 400;
}

.container1>button {
    margin-top: 10px;
    font-size: 24px;
    font-weight: 700;
    color: hsl(0, 0%, 20%);
    background-color: hsl(0, 0%, 95%);
    border: none;
    width: 100%;
    height: 50px;
    border-radius: 25px;

}

.container15 {
    position: relative;
    display: flex;
    width: 100%;
    justify-content: space-around;
    background-color: hsl(0, 0%, 90%);

    padding: 5px;

}

.container15>div {
    text-align: center;
    font-size: 2.4rem;
    line-height: 1;

}


.container2 {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: fit-content;
    background-color: #f2f2f2;
    z-index: 0;
}

.one {
    position: relative;
    width: 50%;
    max-height: 491px;

}

.one>img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 30% 12%;

}



.two {
    position: relative;
    background-color: hsl(0, 0%, 95%);
    width: 50%;
    padding: 10px;
    font-size: 16px;
    line-height: 1.5;
}

.twogrid {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    gap: 10px;

}

.twogrid>div>div {
    font-weight: 700;
    font-size: 1.6rem;

}

li>span {
    padding: 0px;
    margin: 0px;
}




.container3 {
    width: 100%;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    z-index: 0;

}

.container3>img {
    width: 100%;
    height: calc(200px + 5vw);
    object-fit: cover;
}

.container4 {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;

    background-color: hsl(0, 0%, 95%);
    margin: auto;

    width: 100%;
    max-width: 1000px;

}

.container4>div {
    background-color: hsl(0, 0%, 98%);
    border-radius: 10px;
    margin: 10px;
    padding: 10px;
    text-align: center;



}

.container4>div>div:nth-child(2) {
    font-size: 22px;
    font-weight: 500;
    padding: 5px;
    color: hsl(0, 0%, 25%);

}

.container4>div>div:nth-child(3) {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.4;
}

.container4>div>.svg {
    width: 100px;
    height: 100px;
}






.container6 {
    position: relative;
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 600px;

    margin: auto;
    overflow-x: scroll;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
}



.container6>.card {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 0 0 calc(100vw - 20px);
    max-width: 580px;
    background-color: hsl(0, 0%, 98%);

    padding: 8px;
    margin: 6px;
    border-radius: 10px;
    scroll-snap-align: center;
}

.container6>.card>.info1 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-bottom: 1px solid hsl(220 9% 85%);
    margin-bottom: 4px;
    padding-bottom: 4px;
}

.container6>.card>.info1>div>.companyname {
    font-size: 26px;
    font-weight: 400;
    color: hsl(213, 6%, 32%);
}

.container6>.card>.info1>div>.rating {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.container6>.card>.info1>div>.rating>.ratingnumber {
    font-size: 30px;
    line-height: 1;
    color: hsl(210, 4%, 46%);
}

.container6>.card>.info1>div>.rating>.star {
    width: 22px;
    height: 22px;
}

.container6>.card>.info1>div>.rating>.ratingstars {
    font-size: 15px;
    font-weight: 400;
    padding: 4px;
    color: hsl(210, 4%, 46%);
}

.container6>.card>.info2 {
    display: flex;
    height: fit-content;
}

.container6>.card>.info2>div {
    display: flex;
    flex-direction: column;
    margin-left: 5px;
}

.container6>.card>.info2>div>.username {
    color: hsl(0, 0%, 0%);
    font-size: 18px;
    font-weight: 500;
}

.container6>.card>.info2>div>.rating2 {
    position: relative;
    display: flex;
    flex-direction: row;
}

.container6>.card>.info2>div>.rating2>.star {
    width: 20px;
    height: 20px;
}

.container6>.card>.info2>div>.rating2>.time {
    font-size: 14px;
    color: hsl(210, 4%, 46%);
}

.container6>.card>.info3 {
    position: relative;
    display: flex;
    overflow: hidden;
    margin-top: 4px;
}

.container6>.card>.info3>p {
    color: hsl(0, 0%, 30%);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.1;
    margin: 0px;
    padding: 0px;
}

.container7 {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 400px;
    margin: auto;
}


.container7>button {
    font-size: 22px;
    font-weight: 700;
    color: hsl(0, 0%, 20%);
    background-color: hsl(0, 0%, 90%);
    border: none;
    width: 100px;
    height: 50px;
    border-radius: 25px;
}




.container8 {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    text-align: center;
    background-color: hsl(0, 0%, 95%);
    padding-bottom: 14px;
    max-width: 400px;
    margin: auto;

}

.container8>div {
    display: flex;
    flex: 1 1 50px;
    flex-direction: column;
    align-items: center;
}




.container8>.instruction {
    font-size: 16px;
    line-height: 1;
    padding: 4px;

}

.container8>.instruction1 {
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    padding-top: 10px;
    color: hsl(0, 0%, 55%);
    flex: 1 1 600px;

}

.svg {
    width: 90px;
    height: 90px;
    padding-top: 10px;
    padding-bottom: 6px;
}

.link {
    color: hsl(204, 83%, 47%);
    font-weight: 700;
    cursor: pointer;
    font-size: 12px;


}

.link:-webkit-any-link {
    text-decoration: none;
    color: hsl(204, 83%, 47%);
}

.container9 {
    width: 100%;
    position: relative;
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr;
    z-index: 0;
    padding: 10px;
}

.container9>img {
    width: 100%;
    border-radius: 10px;
    height: calc(400px + 20vw);
    object-fit: cover;
}



.footer {
    position: relative;
    text-align: center;
    background-color: hsl(0, 0%, 25%);
    color: hsl(0, 0%, 90%);
    padding: 6px;
    box-sizing: border-box;
}

.footer>div:nth-child(1) {
    font-size: 22px;
    line-height: .8;
    padding: 4px;
}

.footer>div:nth-child(2) {
    font-size: 14px;
    line-height: .8;
    padding: 4px;
}

.footer>div:nth-child(3) {
    font-size: 14px;
    line-height: .8;
    padding: 4px;
}

@media screen and (max-width: 800px) {


    .one {
        width: 100%;
        height: 300px;
    }

    .two {
        width: 100%;
        height: fit-content;
    }



    .container3 {
        position: relative;
        grid-template-columns: 1fr 1fr;
    }

    .container4 {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .container9 {
        position: relative;
        grid-template-columns: 1fr;
    }

    .container15 {
        grid-template-columns: 1fr 1fr;
    }
}

/* Contact Form Styles */
.contact-form-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
}

.contact-form {
    background-color: hsl(0, 0%, 98%);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid hsl(0, 0%, 80%);
    border-radius: 4px;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: hsl(200, 70%, 50%);
}

.contact-form textarea {
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: hsl(200, 70%, 45%);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: hsl(200, 70%, 35%);
}

@media (max-width: 600px) {
    .contact-form-container {
        padding: 10px;
    }
    
    .contact-form {
        padding: 20px;
    }
}
