:root {
    --primary-color: rgb(27, 27, 27);
    --main-bg-color: rgb(230, 230, 230);
}

.text-info-prim {
    color: var(--primary-color);
}

.main-bg {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background: rgba(0, 0, 0, 0.5) url("../images/Pizza2048.png");
    background-blend-mode: darken;
}

.main-about-site {
    background-color: var(--main-bg-color);
}

.bd-footer {
    background-color: gray;
}

.underdog-regular {
    font-family: "Underdog", system-ui;
    font-weight: 400;
    font-style: normal;
}

.oswald-regul {
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.poppins-regular {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}


.dancing-script-regular {
    font-family: "Dancing Script", cursive;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.dancing-script-bold {
    font-family: "Dancing Script", cursive;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
}

.bg-header-prim {
    background-color: rgb(255, 73, 18);
}

.text-orange {
    color: rgb(255, 255, 255);
    -webkit-text-stroke: 1px rgb(255, 73, 18);
    font-size: 3rem;
    font-weight: bold;
}

.site {
    min-height: 100dvh;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.box-1 {
    display: flex;
    justify-content: space-between;
    width: 900px;
    height: 500px;
    margin-bottom: 200px;
}

.box-image {
    width: 400px;
    border-radius: 25px;
}

.box-section {
    margin-top: 50px;;
}

.box-title {
    font-size: 2rem;
    font-weight: semibold;
}

.box-paragraph {
    font-size: 1.2rem;
    font-weight: normal;
    color: rgb(37, 37, 37);
}

.sect-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-rows: 1fr;
    justify-items: center;
    margin: auto;
    width: 1200px;
}

.magico {
    transition: all 0.3s ease-in-out;
}

.magico:hover {
    animation: 2s ease-in-out infinite magicoanimado;
}

@keyframes magicoanimado {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@media screen and (max-width: 1200px) {

    .sect-card {
        width: 100%;
    }
    
}

@media screen and (max-width: 912px) {
    .box-1 {
        width: 600px;
        height: 400px;
    }

    .box-image {
        width: 133px;
    }

    .box-title {
        font-size: 1rem;
        font-weight: 700;
    }

    .box-paragraph {
        font-size: 0.8rem;
        font-weight: 550;
    }

    .sect-card {
        width: 100%;
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 600px) {
    .box-1 {
        width: 400px;
        height: 200px;
    }

    .box-image {
        width: 133px;
    }

    .box-title {
        font-size: 0.9rem;
    }

    .box-paragraph {
        font-size: 0.7rem;
    }

    .figure-caption {
        font-size: 0.6rem !important;
    }

    .sect-card {
        width: 100%;
        grid-template-columns: 1fr 1fr;
    }

    .card {
        width: 10rem !important;
    }

    .card-title {
        font-size: 0.8rem !important;
    }

    .card-text {
        font-size: 0.6rem !important;
    }
}

@media screen and (max-width: 480px) {
    .box-1 {
        width: 350px;
        height: 175px;
    }

    .box-image {
        width: 100px;
    }

    .box-title {
        font-size: 0.8rem;
    }

    .box-paragraph {
        font-size: 0.6rem;
    }
}

@media screen and (max-width: 350px) {
    .box-1 {
        width: 300px;
        height: 150px;
    }

    .box-image {
        width: 100px;
    }

    .box-title {
        font-size: 0.7rem;
    }

    .box-paragraph {
        font-size: 0.5rem;
    }

    .sect-card {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .card {
        width: 12rem !important;
    }

    .card-title {
        font-size: 0.8rem !important;
    }

    .card-text {
        font-size: 0.6rem !important;
    }
}