 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* HEADER CSS */
.Navbar {
    width: 100%;
    height: 68.1px;
    background-color: #F5F5F5;
    display: flex;
    justify-content: center;
}

.navbar-container {
    width: 960px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.KDlogo {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 68.1px;
    width: 100%;
    gap: 10px;
}

.KDlogo h3 {
    font-family: 'Open Sans';
    font-weight: 300;
    color: #008000;
}

.KDlogo svg {
    height: 55px;
}

.NavbarLink ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
}

.NavbarLink ul li {
  text-align: center;
  padding: 12px 24px;
}

.NavbarLink a {
  text-decoration: none;
  color: #999;
  font-size: 14px;
  font-family: 'Open Sans';
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.NavbarLink svg {
  fill: #999;
}

.NavbarLink li:hover {
  background-color: #ffd700;
}

/* title Navbar */
.Top-titleNav {
    background-color: #6B8E23;
    width: 100%;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.titleContainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 960px;
}

.titleContainer p {
    color: white;
    font-size: 25px;
    font-family: 'Open Sans';
}

#recipe-item {
    font-weight: 300;
    letter-spacing: 2px;
    display: inline-flex;
}

#recipe-item svg {
    height: 40px;
    width: 30px;
}

#recipes {
    font-weight: 600;
    letter-spacing: 3px;
}

/* MAIN CONTENT CSS */
main {
    display: flex;
    justify-content: center;
}

.main-container {
    width: 960px;
    height: 150%;
}

/* --FIRST CONTENTS CONTAINERS-- */
.info-container {
    display: flex;
    align-items: center;
    width: 2560px;
    background-color: #F5F5F5;
    padding: 15px;
    font-family: 'Open Sans';
    flex-direction: column;
}

.info-container h3 {
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 1px;
}

.info-container #author-name {
    font-size: 15px;
}

.info-container span {
    font-size: 14px;
    color: #333;
    font-weight: 100;
}

.author-container {
    display: flex;
    height: 70px;
    margin: 10px;
}

.author-container img {
    border-radius: 50%;
    height: auto;
}

#author-name {
    margin-bottom: 25px;
    font-weight: 500;
}

.preptime {
    width: 100%;
    font-size: 14px;
    margin-bottom: 10px;
}

.preptime ul li {
    list-style: none;
}

.preptime li {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.preptime span {
    display: flex;
    width: 100%;
    font-weight: 100;
}

#ptitle {
    color: #333;
    font-weight: 500;
}

.recipe-container {
    display: flex;
}

.recipe-container img {
    width: 100%;
    object-fit: contain;
}

.foodImage {
    display: flex;
}

/* --SECOND CONTENT CONTAINER-- */
.desc-container {
    border: dotted 2px #DDD;
    width: 100%;
    height: 360px;
    display: flex;
    justify-content: space-between;
    padding: 55px 35px 35px 25px;
    font-family: 'Open Sans';
}

.desc-form1 {
    width: 50%;
    font-size: 14px;
}

.desc-form1 h2 {
    font-weight: 500;
    margin-bottom: 10px;
}

.desc-form1 li {
    list-style: none;
    margin-bottom: 5px;
    color: #333;
    font-weight: 100;
}

.desc-form1 span {
    font-weight: 600;
}

.desc-form2 {
    width: 100%;
    font-size: 14px;
}

.desc-form2 h2 {
    font-weight: 500;
    margin-bottom: 10px;
}

.desc-form2 ol {
    padding-left: 20px;
}

.desc-form2 li {
    margin-bottom: 10px;
    font-weight: 100;
    color: #333;
}

/* --THIRD CONTENT CONTAINER-- */
.rate-container {
    width: 100%;
    height: 73px;
    background-color: #B22222;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 0px 0px 20px;
}

.location-container {
    display: flex;
    justify-content: center;
    align-items: center;
    fill: white;
    color: white;
    font-size: 14px;
    font-family: 'Open Sans';
}

.location-container svg {
    margin: 0px 5px;
}

.var-container {
    fill: white;
    color: white;
    font-family: 'Open Sans';
    font-size: 14px;
}

.var-container li {
    margin: 2px;
}

.var-container a { 
    text-decoration: none;
    color: white;
}

.var-container ul {
    list-style: none;
    display: flex;
}

.star-container {
    fill: white;
}

.vote-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0px 7px 0px 7px;
    height: 100%;
    color: white;
    background-color: #FF4500;
    font-family: 'Open Sans';
}

.vote-container span {
    font-size: 14px;
}

/* --FOURTH CONTENT CONTAINER-- */
.reco-container {
    width: 100%;
    background-color: #F5F5F5;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-top: 100px;
    font-family: 'Open Sans';
    color: #333;
}

.recom-title {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-bottom: 50px;
}

.recom-title #recom-id {
    letter-spacing: 20px;
    font-size: xx-large;
}

.reco-form-container {
    width: 100%;
    padding: 0px 15px 10px 15px;
    display: flex;
    justify-content: space-evenly;
    gap: 15px;
    margin-bottom: 75px;
}

.form1-foodreco, .form2-foodreco, .form3-foodreco {
    width: 290px;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 25px;
}

.form1-foodreco img, .form2-foodreco img {
    margin-bottom: 20px;
    width: 100%;
    height: 170px;
    object-fit: fill;
}

.form3-foodreco img {
    margin-bottom: 20px;
    width: 100%;
    height: 170px;
    object-fit: cover;
    object-position: 100% 57%;
}

.form1-foodreco #form-title, .form2-foodreco #form-title, .form3-foodreco #form-title {
    font-weight: 600;
    letter-spacing: 1px;
    color: #333;
}

.star1-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.star1-container svg {
    width: 15px;
    fill: #333;
}

.form1-foodreco #content-recom, .form2-foodreco #content-recom, .form3-foodreco #content-recom {
    font-size: 14px;
    font-weight: 300;
    display: flex;
    justify-content: center;
    padding: 12px 20px 20px 20px;
}

.user-container1 {
    height: 55px;
    width: 55px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 5px;
}

.user-container1 img {
    height: 140%;
    object-fit: cover;
    object-position: 36% -3px;
}

.user-container2 {
    height: 55px;
    width: 55px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 5px;
}

.user-container2 img {
    height: 100%;
    object-fit: cover;
    object-position: 36% 0px;
}

.user-container3 {
    height: 55px;
    width: 55px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 5px;
}

.user-container3 img {
    height: 130%;
    object-fit: cover;
    object-position: 60% 0px;
}

.user-rating {
    width: 100%;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    padding: 0px 15px 0px 15px;
}

.rating {
    background-color: #6B8E23;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-left: auto;
    border-radius: 5%;
    padding: 5px;
    color: white;
    
}

.rating span {
    font-size: 12px;
    font-weight: 100;
}

/* FOOTER CSS */
.footer-nav {
    width: 100%;
    height: 200px;
    background-color: #555;
    display: flex;
    justify-content: center;
}

.footer-container {
    width: 960px;
    display: inline-flex;
    align-items: center;
}

.footer-container ul {
    flex-direction: column;
}

.footer-container li {
    display: flex;
    list-style: none;
    color: #DDD;
    font-family: 'Open Sans';
    font-size: 14px;
    margin-bottom: 5px;
}

.footer-container svg {
    margin-right: 5px;
    fill: white;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footerLogo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 50px;
}

.footerLogo-container #Capa_1 {
    width: 130px;
    height: 130px;
    padding: 0px;
    margin: 0px;
    fill: none;
}

.footerLogo-container span {
    margin-top: 10px;
    font-family: 'Open Sans';
    font-weight: 500;
    font-size: large;
    color: white;
}

.social-media {
    width: 200px;
    display: flex;
    justify-content: flex-end;
    margin-left: auto;
    gap: 15px;
    margin-top: 110px;
}

.social-media svg {
    fill: #AAA;
    width: auto;
    height: 40px;
}

.last-footer {
    background-color: #333;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 30px;
}

.subfooter-container {
    width: 960px;
    font-family: 'Open Sans';
    font-size: 14px;
    color: #999;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
}

.subfooter-container svg {
    fill: #999;
    width: 15px;
    height: 15px;
    margin-right: 2px;
}

@media (max-width: 360px) {
    .Navbar {
        width: 100%;
        height: 200px;
        background-color: white;
    }

    .navbar-container {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .KDlogo {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 100%;
        width: 100%;
        gap: 0px;
    }

    .KDlogo h3 {
        font-family: 'Open Sans';
        font-weight: 300;
        color: #008000;
        font-size: 30px;
    }

    .KDlogo svg {
        height: 70px;
        margin-top: 10px;
    }

    .NavbarLink {
        width: 100%;
        border: solid #DDD 1px;
    }

    .NavbarLink ul li {
    text-align: center;
    padding: 10px 5px 5px 5px;
    }

    /* title Navbar */
    .Top-titleNav {
        background-color: #6B8E23;
        width: 100%;
        height: 100%;
        padding: 15px 0px 15px 0px;
    }

    .titleContainer {
        justify-content: center;
        width: 100%;
        padding-left: 20px;
    }

    .titleContainer p {
        font-size: 20px;
    }


    #recipe-item {
        align-items: center;
        padding-right: 10px;
    }

    #recipes {
        display: flex;
        align-items: center;
        font-weight: 600;
        letter-spacing: 3px;
    }

    #recipe-item svg {
        height: 50px;
        width: 40px;
    }

    /* MAIN RESPONSIVENESS */
    .main-container {
        width: 100%;
        height: 150%;
    }

    .content-container {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .recipe-container {
        flex-direction: column-reverse;
    }

    .info-container { 
        display: flex;
        align-items: center;
        width: 100%;
        background-color: #F5F5F5;
        padding: 15px;
        font-family: 'Open Sans';
        flex-direction: none;
        padding-bottom: 35px;
    }

    .info-container h3 {
        margin-bottom: 20px;
    }

    .desc-container {
        height: 100%;
        display: flex;
        flex-direction: column;
        padding: 30px 35px 35px 25px;
    }

    .desc-form1 {
        margin-bottom: 15px;
    }

    .rate-container {
        flex-direction: column;
        height: 100%;
        gap: 15px;
        padding-top: 15px;
        padding-left: 0px;
    }

    .vote-container {
        width: 100%;
        padding: 10px;
    }

    .reco-container {
        width: 100%;
        padding-top: 25px;
    }

    .recom-title #recom-id {
        letter-spacing: 0px;
        font-size: 8vw;
    }

    .recom-title span {
        font-size: 4.5vw;
    }

    .reco-form-container {
        flex-direction: column;
        justify-content: none;
        align-items: center;
        margin-bottom: 15px;
    }

    .form1-foodreco, .form2-foodreco {
        margin-bottom: 35px;
    }

    /* Footers */
    footer { 
        display: flex;
        flex-direction: column;
    }

    .footerLogo-container {
        margin: 0px 0px 20px 0px;
    }

    .footer-nav {
        height: 100%;
        padding: 25px;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-container svg {
        width: 20x;
        height: 20px;
    }

    .footer-container li {
        width: 100%;
    }

    .footer-container ul {
        width: 235px;
    }

    .FL-content {
        display: inline-flex;
        width: 100%;
    }

    .social-media {
        justify-content: center;
        margin: 20px 0px 30px 0px;
    }

    .social-media svg {
        gap: 0px;
        height: 40px;
    }

    .last-footer {
        height: 100%;
        padding: 10px;
    }

    .subfooter-container {
        flex-direction: column;
    }
    
}