* {
    padding: 0;
    margin: 0;
}

body {
    background: rgb(142, 52, 96);
    font-family: Arial, Helvetica, sans-serif;
    
}

html, body {
  height: 100%;
  margin: 0;
}

header a{
    text-decoration: none;
}

.html {
    color: rgb(245, 157, 7);
}

.css {
    color: rgb(32, 32, 203);
}

.js {
    color: rgb(208, 214, 22);
}

.ang {
    color: rgb(215, 54, 62);
}

.sb {
    color: rgb(56, 201, 37);
}


.tec {
    font-weight: bold;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}


h1 {
    font-size: 2.5rem;
    text-align: center;
    color: white;
    margin-top: 6.6rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    color: white;
    margin-top: 1rem;
}

.second-title {
    margin-top: 1.8rem;
}

.box-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 30px 9% 20px;
    max-width: 1050px;
    margin: auto;
}


.box-container .box {
    border-radius: 10px;
    background: #f1f1f1;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    padding: 15px;
    cursor: pointer;
    text-align: center;
    flex: 0 1 calc((100% - 40px) / 3);
    min-width: 250px;
}

.box-system{
    max-width: 300px;
    margin: auto;
}


.main {
    max-width: 60%;
    border-radius: 10px;
    background: rgb(228, 228, 228);
    box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    padding: 1.563rem;
    margin: auto;
    margin-bottom: 30px;
    text-align: left;
    padding-bottom: 30px;
    align-items: center;
}

.main .link:hover {
    color: rgb(203, 73, 225);
    transition: all .2s linear;
}

.main h2 {
    margin-top: 15px;
    font-size: 1.3rem;
    text-align: center;
}

.title-description {
    color: black;
}

.main .p {
    margin-top: 10px;
}

.main .p a {
    text-decoration: none;
    color: rgb(142, 52, 96);
    font-weight: bold;
}

.main .p a:hover {  
    text-decoration: underline;
}

.main .container {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center


}

.main .container .img img {
    padding: 20px;
    max-width: 40rem;
    object-fit: cover;
}

.box-container {
    margin-bottom: 30px;
}

.box-container .box a {
    text-decoration: none;
}

.box-container .box .img {
    overflow: hidden;
    border-radius: 8px;
}

.box-container .box .img a img {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    object-fit: cover;
    transition: all .1s linear;

}

.box-container .box .img a img:hover {
    transform: scale(1.1);
}

.box-container .box .title {
    display: block;
    margin: .8rem 0;
    font-weight: bold;
    color: black;
}

.box-container .box .title:hover {
    text-decoration: underline;
}

.inicio {
    display: flex;
    margin-bottom: 30px;
    font-size: 1.2rem;

}

.inicio a {
    margin: auto;
    text-decoration: none;
    color: rgb(142, 52, 96);
    background-color: #fff;
    padding: 8px 12px;
    border-radius: 10px;
}

.inicio a:visited {
    color: rgb(142, 52, 96);
    ;
}

.inicio a:hover {
    color: #fff;
    background-color: rgb(0, 0, 0);
    transition: all .2s linear;
}

.line {
    width: 89%;
    height: 1px;
    background: rgb(145, 145, 145);
    margin: 0 auto;
}


.contact {
    margin-top: 30px;

}

.contact a {
    text-decoration: none;
}

.contact a:hover {
    text-decoration: underline;
}

.contact h2 {
    text-align: center;
    color: white;
    margin: 10px 0 50px;
    font-size: 2.5rem;
}

.contact h3 {
    margin-bottom: 20px;
    font-size: 1.7rem;
}

.contact .info-item {
    margin-bottom: 15px;
}

.contact .info-item .detail {
    display: flex;
    align-items: center;
}

.contact .info-item .detail .icon {
    margin-right: 10px;
}

.contact h4 {
    margin-bottom: 8px;
}


.contact .contact-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    color: white;
}

.contact .contact-box img {
    width: 25rem;
    height: 25rem;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 5rem;
}

.email {
    color: white;
}

footer .social {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    align-items: center;
    padding: 1em 0;
}

footer .social .fab {
    background-color: var(--black);
    border-radius: 50%;
    color: var(--white);
    font-size: 2rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 0 2.5rem;
    list-style: none;
    text-decoration: none;
}

footer .social .fab:hover {
    color: rgb(142, 52, 96);
    transition: all .2s ease;

}

.fas,
.fab {
    border-radius: 50%;
    color: var(--purple);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 1.5rem;
}



footer {
    background: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: .6rem;
    color: white;
}

footer .social-media {
    display: flex;
    justify-content: space-between;
    margin-bottom: .6rem;

}

footer .line {
    width: 90%;
    height: 1px;
    background: rgb(145, 145, 145);
}

footer .social-media i {
    font-size: 2rem;
    transition: all .2s linear;
}

footer .social-media i:hover {
    color: rgb(142, 52, 96);
}

footer .social-media i {
    font-size: 2rem;
}


footer .social-media a:link,
a:visited {
    color: #fff;
}


footer .name {
    margin-bottom: .85rem;
    font-size: .85rem;
}

footer .name strong {
    color: rgb(155, 81, 224);
}


/* Zoom icon */
.img-zoom {
    position: relative;
    cursor: pointer;
}

.zoom-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.img-zoom:hover .zoom-icon {
    opacity: 1;
}

/* Lightbox */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
}

.lightbox-close:hover {
    color: rgb(203, 73, 225);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
    padding: 10px 20px;
    user-select: none;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
}

.lightbox-nav:hover {
    color: rgb(203, 73, 225);
    background: rgba(0, 0, 0, 0.6);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 14px;
    border-radius: 6px;
}

@media (max-width: 842px) {

    .main{
        max-width: 100%;
    }
}

@media (max-width: 770px) {
    .contact .contact-info {
        margin-top: 20px;
    }

    .contact .contact-box img {
        margin-right: 0;

    }
}

 @media (max-width: 550px) {

       .main .container .img img {

        max-width: 30rem;
    }

 }


@media (max-width: 672px) {
    html {
        font-size: 85%;
    }

    .header {
        height: 60px;

    }


    .header .logo-container {
        margin-left: 1rem;
    }

}

@media (max-width: 475px) {


    .main .container .img img {

        max-width: 22rem;


    }
}