html {
    /* background: linear-gradient(135deg, rgba(251,255,254,1) 1%, rgba(255,198,0,1) 100%);  */
    font-family: 'Lato', sans-serif;   
    min-height: 100vh;
}

header {
    padding: 0rem;
    height: fit-content;
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 2;
}

body {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: min-content auto min-content;
    margin: 0rem;
    min-height: 100vh;
    background-image: url(./img/backgroud_img.png);
    background-attachment: fixed;
    background-size: auto;
    background-position: center;
    /* background: rgb(251,255,254);
    background: -moz-linear-gradient(180deg, rgba(251,255,254,1) 1%, rgba(255,198,0,1) 100%);
    background: -webkit-linear-gradient(180deg, rgba(251,255,254,1) 1%, rgba(255,198,0,1) 100%);
    background: linear-gradient(180deg, rgba(251,255,254,1) 1%, rgba(255,198,0,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#fbfffe",endColorstr="#ffc600",GradientType=1); */ 
}

.logo {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 2;
}

.header ul {
    margin: 0;
    padding: 2rem 1rem;
    list-style: none;
    display: flex;
    justify-content: flex-end;
}

.header ul li {
    font-size: large;
}

.header a {
    text-decoration: none;
    padding: 1rem;
    border-radius: 0.5rem;
}

.header a:link {
    color: white;
}
.header a:visited {
    color: white;
}
.header a:active {
    color: white;
}

.header a:hover {
    background-color: #5552;
}

.contactform {
    width: 100%;
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 2;
    grid-row-end: 3;
    display: grid;
}

.contactform form {
    display: grid;
    grid-column-start: 2;
    grid-column-end: 3;
    justify-self: end;
    background-color: #FFFFF7;
    grid-template-columns: auto;
    grid-template-rows: auto;
    border-style: solid;
    border-radius: 1rem;
    border-color: rgba(0,0,0, 0.1);
    border-width: 1px;
    box-shadow: 1px 2px 1px 2px rgba(0,0,0, 0.1);
    padding: 1rem;
    align-self: center;
    margin-right: 2rem;
}

.information {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 2;
    grid-row-end: 3;
    justify-self: start;
    margin-bottom: 0.5rem;
}

.information ul {
    padding: 0rem;
    margin: 0rem;
    display: flex;
    list-style-type: none;
    align-items: baseline;
}

.information li {
    padding: 0rem 0.3rem;
}

.information img {
    width: 30px;
}
.information p {
    margin: 0rem;
}

.contactform form section {
    display: flex;
    flex-direction: column;
    height: fit-content;
    width: fit-content;
}

.contactform label {
    height: fit-content;
    padding: 0.5rem;
    padding-top: 0;
    padding-bottom: 0;
    margin: 0.4rem;
    margin-bottom: 0;
}

.submitbutton{
    grid-row-start: 6;
    grid-row-end: 7;   
    justify-self: start;
    padding: 0.4rem 1rem;
    margin-top: 0.5rem;
    margin-left: 0.5rem;
    border-color: rgba(0,0,0, 0.1); 
    border-radius: 0.3rem;
    font-size: medium;
}

.formtitle {
    margin-bottom: 2rem;
    place-self: center;
    font-size: x-large;
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 2;
}

.inputs {
    width: 12rem;
    height: fit-content;
    border-radius: 0.3rem;
    padding: 0.5rem;
    margin: 0.4rem;
    border: solid;
    border-width: 1px;
    border-color: rgba(0,0,0, 0.1); 
}

.contactform textarea {
    resize: none;
    width: 26rem;
}

.name {
    grid-column-start: 1;
    grid-column-end: 2;
}

.lastname {
    grid-column-start: 2;
    grid-column-end: 3;
}

.email {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 4;
    grid-row-end: 5;
}

.textarea {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 5;
    grid-row-end: 6;
    overflow: hidden;
}

.popup {
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0, 0.4);
    display: none;
}

.popup-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888888;
    width: fit-content;
    font-weight: bolder;
    border-radius: 1rem;
}

.popup-content h1 {
    text-align: center;
}

.popup-content button {
    display: block;
    margin: 0 auto;
    font-size: medium;
    padding: 0.5rem;
    padding: 0.4rem 1rem;
    border-color: rgba(0,0,0, 0.1); 
    border-radius: 0.3rem;
}

.show {
    display: block;
}

.titleparagraph {
    font-size: x-large;
}

.content {
    display: grid;
    width: 100%;
}
.ourbrand{
    grid-row-start: 1;
    grid-row-end: 2;
    place-self: center;
    display: flex;
}

.ourbrand ul{
    list-style: none;
    display: flex;
    flex-direction: column;
    color: white
}

.ourbrand ul li {
    text-align: center;
    width: 10rem;
}

.ourbrand span {
    font-size: 60px;
}

.text {
    font-size: 18px;
}

.ourbrandtitle{
    margin-bottom: 1rem;
    font-size: x-large;
    color: white;
}

.brands {
    display: grid;
    grid-template-rows: min-content;
}

.brands p {
    margin: 1rem 0;
    padding-left: 2.5rem;
    font-size: x-large;
    color: white;
    text-align: center;
}

.brands ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    list-style: none;
    margin: 0rem;
    justify-items: center;
    column-gap: 1rem;
    row-gap: 2rem;
}

.brands img {
    height: 90px;
}

footer {
    background-color: #000036;
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 3;
    grid-row-end: 4;
    color: white;
    height: fit-content;
    align-self: flex-end;
    font-size: small;
    margin-top: 1rem;
}

.footer ul{
    list-style: none;
    display: flex;
    justify-content: space-between;
    margin: 0rem 1rem;
    padding: 0rem;
}

.footer ul li {
    padding: 1rem;
}

@media screen and (min-width:320px) and (max-width:640px) {

    body {
        grid-template-columns: 100%;
    }
    header {
        padding: 0rem;
        height: fit-content;
        grid-column-start: 1;
        grid-column-end: 2;
        grid-row-start: 2;
        grid-row-end: 3;
    }
    .header ul {
        padding: 2rem 0rem;
        padding-top: 1rem;
    }
    .header a {
        font-size: medium;
    }

    .logo {
        grid-row-start: 1;
        grid-row-end: 2;
        width: fit-content;
        margin: 0rem auto;
    }
    .logo img {
        width: 300px;
    }

    .content {
        grid-row-start: 3;
        grid-row-end: 4;
    }
    .ourbrand{
        flex-direction: column;
    }
    .ourbrand ul{
        padding: 0;
    }
    .text {
        font-size: medium;
    }

    .ourbrandtitle {
        font-size: large;
    }

    .contactform {
        grid-row-start: 5;
        grid-row-end: 6;
    }

    .brands {
        margin: auto 2rem;
    }

    .brands p {
        font-size: large;
        padding: 0;
    }
    .brands ul {
        padding: 0rem;
    }
    .brands img{
        height: 35px;
    }
    .information ul{
        display: flex;
        flex-direction: column;
    }
    .contactform {
        grid-column-start: 1;
        grid-column-end: 2;
        grid-row-start: 4;
        grid-row-end: 5;
        
    }
    .contactform form {
        display: flex;
        flex-direction: column;
        margin: 0rem 1rem;
        width: 90%;
    }
    .contactform form section {
        width: 100%;
    }
    .contactform textarea {
        resize: none;
        width: 90%;
    }
    .contactform input {
        width: 90%;
    }

    footer {
        grid-row-start: 6;
        grid-row-end: 7;
    }

} 