* {
    box-sizing: border-box;
    max-width: 1400px;
    margin: 0 auto;
}

body {
    font-family: 'Crimson Text', serif;
}

li {
    list-style-type: none;
}

a {
    text-decoration: none;
    text-align: center;
}

button {
    background-color: #4AAB00;
    padding: 8px 12px;
    border-radius: 3px;
    border: none;
    font-size: 17px;
    font-weight: 200;
}

input[type=checkbox] {
    display: none;
}

.page1 {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.70), rgba(5, 17, 71, 0.80)),
    url('img/pasta-bolognese\ .jpeg'); 
    background-size: 2000px;
    background-repeat: no-repeat;
    margin: 0 auto;
    height: 100vh;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, rgba(19,19,20,1) 0%, rgba(5,17,71,1) 34%, rgba(11,14,14,1) 85%);
    color: white;
    padding: 5px 30px; 
}

.logo {
    font-size: 40px;
    color: white;
}

.navlinks a {
    color: white;
}

.navmenu {
    display: flex;
    gap: 1em;
    font-size: 20px;
    padding-top: 20px;
}

.navmenu li:hover{
    opacity: 0.5;
    background-color: #0066CC;
    transition: 0.2s ;
    padding: 10px 20px 10px 20px;
    border-radius: 10%;
}

.hamburger {
    position: relative;
}

.dropdown {
    color: white;
    background-color: #06172d;
    position:absolute;
    display: none;
    align-content: center;
    padding: 15px;
}

.dropdown li:hover{
    background-color: #0066CC;
    transition: 0.2s;
}   

.hamburger:hover .dropdown{
    display: block;
}

.hamburger-menu{
    display: none;
}


.page-content {
    color: white;
    margin-top: 200px; 
    margin-left: 180px;
    padding-bottom: 350px;
    font-weight: 100;
    font-size: 23px;
}

.title {
    font-size: 70px;
    margin-bottom: 5px;
    font-weight: 500;
}

.text{
    padding: 0px 360px 0px 0px;
    margin-top: 4px;
    font-weight: 200;
}

.details-button {
    color: white;
    font-size: 18px;
    border: 30px; 
    text-align: none;
    display: block;
    align-items: center;
}

.page-content2 {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 120px 200px;
    gap: 90px;   
    color: #4E4E4E;
}

.column.left {
    width: 500px;
    height: 600px;
}

.page-content2 p{
    font-size: 21px;
    margin-top: 10px;
}

.title1 {
    color: #4AAB00;
    font-size: 65px;
    margin-bottom: 10px;
    font-weight: bold;
}

.column.right {
    width: 500px;
    height:410px; 
}

.image {
    width: 500px;
    height: 410px;
    border-radius: 5px;
}

.details-button2 {
    color: white;
    font-size: 18px;
    border: 30px; 
    margin-left: none;
}

.page3{
    background-image: url("img/pasta-bolognese .jpeg");
    height: 100vh;
    background-size: 2700px;
    background-repeat: none;
}

.title2{
    color: #4AAB00;
    font-size: 50px;
    text-align: center;
    padding-top: 90px;
    margin-bottom: 0;

}

.text2{
    font-size: 25px;
    text-align: center;
    color: white;
    margin-top: 3px;
    margin-left: 180px;
    margin-right: 180px;
}

.grid1 {
    display: grid;
    grid-template-rows: 300px 300px 300px 300px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    height: 300px;
    margin: 80px 100px 30px 100px;
    gap: 20px;
}

.food-one{
    background-image: url("img/pasta-bolognese .jpeg");
    background-size: 300px;
    color: #4E4E4E;
    padding: 220px 15px 17px;
    border: white solid 3px;
    background-repeat: no-repeat;
    background-color: white;
    height: fit-content;
    text-align: center;
    font-size: 20px;    
}

.food-two{
    background-image: url("img/pasta-bolognese .jpeg");
    background-size: 300px;
    color: #4E4E4E;
    padding: 220px 15px 17px;
    border: white solid 3px;
    background-repeat: no-repeat;
    background-color: white;
    height: fit-content;
    text-align: center;
    font-size: 20px;
}

.food-three{
    background-image: url("img/pasta-bolognese .jpeg");
    background-size: 300px;
    color: #4E4E4E;
    padding: 220px 15px 17px;
    border: white solid 3px;
    background-repeat: no-repeat;
    background-color: white;
    height: fit-content;
    text-align: center;
    font-size: 20px;
}

.food-four{
    background-image: url("img/pasta-bolognese .jpeg");
    background-size: 300px;
    color: #4E4E4E;
    padding: 220px 15px 17px;
    border: white solid 3px;
    background-repeat: no-repeat;
    background-color: white;
    height: fit-content;
    text-align: center;
    font-size: 20px;
}

.page4 {
    background-image:
    linear-gradient(to bottom, rgba(245, 246, 252, 0.90), rgba(245, 246, 252, 0.90)),
    url('img/pasta-bolognese\ .jpeg');
    width: 100%;    
    height: 1500px;
    background-size: cover;
    background-repeat: no-repeat;
    color: #4E4E4E;
    padding-top: 80px;
    background-color: white;
}

.content4 {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 100px 200px;
    gap: 90px;   
}


.menu-title {
    color: #4AAB00;
    font-size: 50px;
    text-align: center;
    margin-top: 80px;
    margin-bottom: 0;
}

.text3 {
    font-size: 25px;
    text-align: center;
    margin-top: 2px;
    margin-bottom: 0px;
    color: #4E4E4E;
}

.title3{
    color: #4AAB00;
    text-decoration: underline;
    margin: 1px;
    font-size: 28px;
}

.pizza-name{
    color: #4AAB00;
    font-weight: 100;
    margin-top: 6px;
    font-size: 23px;
    margin-bottom: 0;
}

.flavor{
    font-size: 17px;
    margin-top: 1px;
}
.fish-name{
    color: #4AAB00;
    font-weight: 100;
    margin: 1px;
    font-size: 23px;
    margin-top: 6px;
    margin-bottom: 0;
}


.title4{
    color: #4AAB00;
    text-decoration: underline;
    margin: 1px;
    font-size: 28px;
}

.lemo-name{
    color: #4AAB00;
    font-weight: 100;
    margin: 1px;
    font-size: 23px;
    margin-top: 6px;
    margin-top: 0;
}

.megis-name{
    color: #4AAB00;
    font-weight: 100;
    margin: 1px;
    font-size: 23px;
    margin-top: 6px;
    margin-bottom: 0;

}
 
.price{
    color: #4AAB00;
    font-size: 25px;
    font-weight: bold;
}

.bottom{
    display: flex;
    justify-content: center;
    padding-bottom: 90px;
    align-items: center;
    padding-top: 90px;
    background-image: none;
    background-color: white;
}

.details-button2{
    padding-left: 10px;
    padding-right: 10px;
}

.page5{
    background-image: linear-gradient(to right, hwb(229 1% 82% / 0.711), rgba(0, 0, 0, 0.70)),
    url('img/pasta-bolognese\ .jpeg'); 
    background-size: 2700px;
    background-repeat: none;
  
}

.title5{
    color:#4AAB00;
    text-align: center;
    padding-top: 120px;
    font-size: 65px;
}

.text5{
    color: white;
    text-align: center;
    font-size: 23px;
    margin-bottom: 80px;
}

.book-a-table{
    display: grid;
    grid-template-columns: repeat(3, 200px);
    gap: 20px;
    row-gap: 50px;
    color:#4AAB00;
    font-weight: 200;
    font-size: 23px;
    justify-content:center;
    justify-items: center;
    padding-top: 50px;
}

input{
font-size: 23px;
color: #4E4E4E;
}

.book-now{
    color: white;
    font-size: 24px;
    padding: 30px;
}

.labels{
    font-size: 25px;
}

.footer2 {
    display: grid;
    grid-template-columns: repeat(3, 200px);
    justify-content: space-around;
    align-items: flex-end;
    color: beige;
    margin-top: 10%;
    background: linear-gradient(90deg, rgba(19,19,20,1) 0%, rgba(5,17,71,1) 34%, rgba(11,14,14,1) 85%);;
    margin-bottom: 0;
}

.socialmedia{
    display: flex;
    gap: 1em;
}

.facebook{
    width: 33px ;
    height: 32px; 
}

.twitter {
    width: 33px ;
    height: 32px;
}

.google{
    width: 33px ;
    height: 32px;
}

.youtube{
    width: 33px ;
    height: 32px;
}

.foody-logo h1{
    font-size: 34px;
}

.foody-logo p{
    font-size: 14px;
    color: #4AAB00;
}

.design-logo h1{
    font-size: 14px;
    text-align: center;
}

.design-logo p{
    font-size: 25px;
    color: #4AAB00;
}

.sm-logos h1{
    font-size: 30px;
    color: #4AAB00;
    text-align: center;
}

@media screen and (max-width: 425px) { 

    html{
        font-size: 2vh;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;

    }

    .page-content{
        margin: 10px auto;
    
    }
    
    .page-content p{
        display: contents;
        text-align: center;
        font-size: 15px;
    }

    .page-content2 {
        display: grid;
        text-align: center;
        margin-left: 300px;
    }

    .column.left h1{
        font-size: 32px;
    }
    .column.left p{
        font-size: 25px;   
    }

    .page3 p{
        display: none; 
    }

    .grid1{
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        padding-right: 40px;
        padding-left: 50px;
    }

    .grid1 .food-three, .food-four {
        display: none;
    }

    .grid1 .food-one, .food-two{
        width: 150px;
        height: 200px;
        margin: 0;
        padding-left: 0;
        padding-bottom: 60px;
        text-align: center;
    }

    .book-a-table {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        padding-right: 40px;
        padding-left: 50px;
    }

    .footer2 .foody-logo, .design-logo{
        display: none;
        padding-left: 50px;
        margin-left: 50px;
    }
}

@media screen and (max-width: 768px) {    
.navmenu {
    display: none;
    position: absolute;
    right: 0;
    left: 0;
    text-align: center;
    padding: 16px 0;
}

.navmenu li:hover {
    display: inline-block;
    background-color: #4AAB00;
    transition: 0.3s;
}

input[type=checkbox]:checked ~ .navmenu{
    display: block;
}

.hamburger-menu{
    display: block;
}

.dropdown{
    left: 50%;
    top: 30px;
    transform: translateX(35%);
}

.page-content{
    margin: 10px auto;
    padding-left: 40px;

}
.page-content h3 {
    font-size: 2rem;
    color: #4AAB00;
}

.page-content p{
    font-size: 1.5rem;
}

.page3 h1 {
    font-size: 1vw;

}

.column.right {
    display: none;
}

.page3 h1 {
    font-size: 22px;
}

.page3 p{
    font-size: 16px;
}

.page4{
    margin-top: 0;
    padding-top: 5px;
}

.page4 h1{
    font-size: 2rem;
}

.page4 p{
    font-size: 1rem;
}

.pizza h1{
    font-size: 1rem;
}

.fish h1{
    font-size: 1rem;
}

.lemo h1{
    font-size: 1rem;
}

.megis h1{
    font-size: 1rem;
}

.menu1 h2{
    font-size: small;
}

.menu1 p{
    font-size: x-small;
}

.menu2 h2{
    font-size: small;
}

.menu2 p{
    font-size: x-small;
}

.price{
    font-size: 20px;
}

}

@media screen and (min-width: 1024px) {
    .page-content2 {
        margin: 100px 50px; 
        gap: 50px;   
    }

    .column.left {
        padding-top: 50px;
    }

    .content4 {
        margin-top: 40px;
    }

    .page4 h1 {
        margin-top: 5px;
    }

    .bottom{
        padding-top: 0;
    }
    
    .pizza h1{
        font-size: 23px;
    }
    
    .fish h1{
        font-size: 23px ;
    }
    
    .lemo h1{
        font-size:23px;
    }
    
    .megis h1{
        font-size:23px;
    }

    .menu1 h2{
        font-size: 18px;
    }
    
    .menu1 p{
        font-size: 17px;
    }
    
    .menu2 h2{
        font-size: 18px;
    }
    
    .menu2 p{
        font-size: 17px;
    }
}

