/*
Theme Name: Médical Dermocare
Author: SA Publicidad
Author URI: https://www.sapublicidad.cl/
Description: Este diseño ha sido creado por SA Publicidad de manera exclusiva para usted.
Version: 1.0
License: Privada
Tags: minimalista, responsive, modern, full width

Este tema tiene una licencia privada y el uso de esta es exclusiva de SA Publicidad.
*/

*{
    font-family: "Red Hat Display", sans-serif;
    padding: 0;
    margin:0;
}


body {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease, pointer-events 0s 0.5s;
}


.wrap{
    width: 90%;
    max-width: 1200px;
    margin:auto;
}

::selection{
    background-color: #25629d;
    color: #ffffff;
}

/* header */
header{
    position: fixed;
    top:0;
    left: 0;
    width: 100%;
    z-index: 99;
    background-color: transparent;
    transition: all .3s ease;
}

header.stick{
    position: fixed;
    transform: translateY(-100%);
    background-color: #ffffff;
}

header.show{
    transform: translateY(0);
    box-shadow: 0 5px 30px rgba(0,0,0,.1);
}

header .wrap{
    display: flex;
    padding: 10px 0;
    justify-content: space-between;
    align-items: center;
}

header .wrap .logo{
    width: 100px;
    transition: all .3s ease;
}

header.stick .logo{
    width: 80px;
}

header .wrap .logo img{
    width: 100%;
    margin:0 0 -5px 0;
}

@media(max-width:800px){
    header,
    header.stick{
        position: relative;
        transform: none;
    }
    header .wrap{
        display: block;
    }

    header .wrap .logo{
        max-width: 80px;
    }
}


#btn-nav{
    display: none;
}

@media(max-width:800px){
    header label{
        position: absolute;
        width: 45px;
        height: 45px;
        top:25px;
        right: 20px;
        cursor: pointer;
    }

    header label span{
        width: 50%;
        left: 25%;
        height: 2px;
        position: absolute;    
        transition: all .3s ease;
        background-color: #3680D4;
    }

    header label span:nth-child(1){
        top:15px;
    }

    header label span:nth-child(2){
        top:30px;
        transition-delay: .3s;
    }

    #btn-nav:checked ~ label span:nth-child(1){
        transform: rotate(45deg);
        top:20px;
    }

    #btn-nav:checked ~ label span:nth-child(2){
        transform: rotate(-45deg);
        top:20px;
    }


}


header nav{
    width: 80%;
}

header nav ul{
    display: flex;
    justify-content: right;
    gap:3%;
    list-style-type: none;
}

header nav ul li a{
    display: block;
    text-decoration: none;
    color: #ffffff;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 500;
    line-height: 45px;
    position: relative;
}

header.stick nav ul li a{
    color: #313131;
}

header nav ul li a:after{
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #25629d;
    left: 0;
    bottom: -2px;
    transform: rotateY(90deg);
    transition: all .3s ease;
    opacity: 0;
}

header nav ul li:hover a:after{
    transform: rotateY(0);
    opacity: 1;
}

header nav ul li:last-child a{
    background-color: #25629d;
    padding: 0 20px;
    text-align: center;
    border-radius: 50px;
    color: #ffffff;
    transition: all .3s ease;
}

header nav ul li:last-child a:hover{
    background-color: transparent;
    color: #25629d;
    box-shadow: 0 0 0 3px #25629d;
}

header nav ul li:last-child a:after{
    display: none !important;
}


@media(max-width:800px){
    header nav{
        width: 60%;
        position: absolute;
        top:0;
        left: 0;
        background-color: #25629d;
        transform: translateX(-100%);
        transition: all .3s ease;
        z-index: 99;
    }

    #btn-nav:checked ~ nav{
        transform:translateX(0);
    }

    header nav ul{
        display: block;
    }

    header nav ul li a{
        display: block;
        padding: 0 20px;
    }

    header nav ul li:last-child a{
        border-radius: 0;
        text-align: left;
    }

    header nav ul li a:after{
        display: none;
    }

    header nav ul li a:hover,
    header nav ul li:last-child:hover a{
        background-color: #3680D4;
        color: #ffffff;
        box-shadow: none !important;
        transition: all .3s ease;
    }
}

/* slider */
.slider{
    position: relative;
    overflow: hidden;
}

.slider:after{
    width: 25%;
    height: 100%;
    background-image: url(img/icon.svg);
    content: "";
    position: absolute;
    right: 0;
    top:0;
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 100% auto;
    transform: rotate(-45deg);
    z-index: 10;
    opacity: .2;
    pointer-events: none;
}


.slider .single{
    width: 100%;
    height: 100%;
    position: relative;
    background-color: #25629d;
}

.slider .single img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top:0;
    left: 0;
    opacity: .7;
}

.slider .single .single-content{
    position:relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 50px 0 0 0;
    box-shadow: inset 0 0 100px 100px #25619d53;
}

.slider .single .single-content .wrap{
    max-width: 900px;
    color: #ffffff;
}

.slider .single .single-content h2{
    font-size: 5em;
    font-weight: 900;
}

.slider .single .single-content p{
    font-size: 1.4em;
    font-weight: 400;
    padding: 0 0 0 100px;
    position: relative;
}

.slider .single .single-content p:before{
    content: "";
    position: absolute;
    left: 0;
    top:50%;
    transform: translateY(-50%);
    width: 80px;
    height:2px;
    background-color: #ffffff;
}

.slider .slidesjs-previous,
.slider .slidesjs-next{
    position: absolute;
    top:50%;
    transform: translateY(-50%);
    z-index: 10;
    font-size: 30px;
    text-decoration: none;
    color: #ffffff;
    margin:60px 0 0 0;
    opacity: .4;
    transition: all .3s ease;
}

.slider .slidesjs-previous:hover,
.slider .slidesjs-next:hover{
    opacity: 1;
}

.slider .slidesjs-previous{
    left: 5%;
}

.slider .slidesjs-next{
    right: 5%;
}


@media(max-width:800px){
    .slider .single .single-content{
        padding: 0;
    }
    .slider .single .single-content h2{
        font-size: 30px;
        text-align: center;
    }

    .slider .single .single-content p{
        font-size: 20px;
        text-align: center;
        margin:0;
        padding: 0;
    }

    .slider .single .single-content p:before{
        display: none;
    }

    .slider .slidesjs-previous,
    .slider .slidesjs-next{
        display: none;
    }

    .slidesjs-container, 
    .slidesjs-control {
        width: 100% !important;
        height: 50vh !important;
    }
    .slidesjs-slide {
        height: 50vh !important;
    }
}


/* wellcome */
.wellcome{
    padding: 80px 0;
}

.wellcome .wrap{
    display: flex;
    flex-wrap: wrap;
    gap:4%;
    align-items: center;
}

.wellcome .wrap article{
    width: 48%;
}

.wellcome .wrap article:nth-child(2){
    height: 0px;
    padding: 0 0 48% 0;
    position: relative;
}

.wellcome .wrap article img{
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    border-radius: 50%;
}


.wellcome .wrap article h2{
    font-size: 16px;
    text-transform: uppercase;
    color: #25629d;
    font-weight: 600;
    position: relative;
}

.wellcome .wrap article h2:after{
    content: "";
    position: absolute;
    width: 80px;
    height: 2px;
    background-color: #25629d;
    left: 0;
    bottom: -10px;
}

.wellcome .wrap article h1{
    font-size: 3em;
    line-height: 1.2;
    color: #313131;
    font-weight: 900;
    margin:20px 0;
}

.wellcome .wrap article p{
    font-size: 1.2em;
    line-height: 2;
    color: #313131;
    font-weight: 400;
    margin:20px 0;
}

.wellcome .wrap article ul{
    display: flex;
    margin:20px 0 0 0;
    flex-wrap: wrap;
    gap:2%;
}

.wellcome .wrap article ul li{
    width: 40%;
    max-width: 150px;
    text-align: center;
    list-style: none;
}

.wellcome .wrap article ul li a{
    display: block;
    line-height: 50px;
    border-radius: 5px;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 700;
    border-bottom: solid 3px #25629d !important;
    transition: all .3s ease;
}

.wellcome .wrap article ul li:nth-child(1) a{
    background-color: #25629d;
}

.wellcome .wrap article ul li:nth-child(2) a{
    color: #25629d;
    border:solid 1px #25629d;
}

.wellcome .wrap article ul li a:hover{
    background-color: #25629d;
    color: #ffffff;
}


@media(max-width:800px){
    .wellcome{
        padding: 40px 0;
    }

    .wellcome .wrap{
        display: block;
    }

    .wellcome .wrap article{
        width: 100%;
        margin:40px 0;
        text-align: center;
    }

    .wellcome .wrap article:nth-child(2){
        height: 0px;
        width: 50%;
        padding: 0 0 50% 0;
        position: relative;
    }

    .wellcome .wrap article:nth-child(2) img{
        width: 100%;
        height: 100%;
    }

    .wellcome .wrap article h1{
        font-size: 30px;
    }

    .wellcome .wrap article h2:after{
        left: 50%;
        transform: translateX(-50%);
    }

    .wellcome .wrap article ul{
        justify-content: center;
    }
}


/* valors */
.valors{
    padding: 50px 0 100px 0;
}
.valors .wrap{
    display: flex;
    justify-content: space-between;
    gap:3%;
    flex-wrap: wrap;
}

.valors .wrap article{
    width: 20%;
}

.valors .wrap article .icon span{
    color: #25629d;
    font-size: 50px;
}

.valors .wrap article h2{
    font-size: 1.7em;
    font-weight: 800;
    color: #212121;
    margin:10px 0;
}

.valors .wrap article p{
    font-size: 1em;
    color: #414141;
    line-height: 1.6;
}

@media(max-width:800px){
    .valors{
        padding: 0px 0 50px 0;
    }

    .valors .wrap{
        display: block;
        text-align: center;
    }

    .valors .wrap article{
        width: 90%;
        margin:40px auto;
    }
}

/* banner-1 */
.banner-1{
    position: relative;
    background-color: #25629daa;
}


.banner-1 .wrap{
    position:relative;
    z-index: 2;
    padding: 100px 0 150px 0;
    display: flex;
    gap:5%;
    flex-wrap: wrap;
}

.banner-1 article:nth-child(1){
    width: 60%;
}

.banner-1 article h3{
    font-size: 16px;
    text-transform: uppercase;
    color: #ffffff;
    font-weight: 600;
    position: relative;
}

.banner-1 article h3:after{
    content: "";
    position: absolute;
    width: 80px;
    height: 2px;
    background-color: #ffffff;
    left: 0;
    bottom: -10px;
}

.banner-1 article h2{
    font-size: 3em;
    line-height: 1.2;
    color: #ffffff;
    font-weight: 900;
    margin:20px 0;
}

.banner-1 article p{
    font-size: 1.2em;
    line-height: 2;
    color: rgba(255,255,255,.7);
    font-weight: 400;
    margin:20px 0;
}


.banner-1 article p a{
    background-color: #ffffff;
    color: #25629d;
    line-height: 50px;
    font-size: .9em;
    font-weight: 700;
    padding: 0 50px;
    border:solid 1px #ffffff;
    border-radius: 5px;
    display: inline-block;
    border-bottom-width: 3px;
    text-decoration: none;
    transition: all .3s ease;
}

.banner-1 article p a:hover{
    background-color: #25629d;
    color: #ffffff;
}

.banner-1 article:nth-child(2){
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30%;
}

.banner-1 article:nth-child(2) a{
    display: inline-block;
    color: #25629d;
    text-decoration: none;
    background-color: #ffffff;
    line-height: 50px;
    padding: 0 30px;
    border-radius: 5px;
    transition: all .3s ease;
    font-weight: 700;
    font-size: 1.1em;
}

.banner-1 article:nth-child(2) a:hover{
    background-color: transparent;
    color: #ffffff;
    box-shadow: 0 0 0 3px #ffffff;
}


@media(max-width:800px){
    .banner-1 .wrap{
        padding: 40px 0 100px 0;
        text-align: center;
        display: block;
    }

    .banner-1 article:nth-child(1),
    .banner-1 article:nth-child(2){
        width: 100%;
    }

    .banner-1 article h3:after{
        left: 50%;
        transform: translateX(-50%);
    }

    .banner-1 article h2{
        font-size: 30px;
    }
}


/* proyects */
.proyects{
    padding: 100px 0 50px 0;
}

.proyects h3{
    font-size: 16px;
    text-transform: uppercase;
    color: #25629d;
    font-weight: 600;
    position: relative;
    text-align: center;
    margin:0 0 20px 0;
}

.proyects h3:after{
    content: "";
    position: absolute;
    width: 80px;
    height: 2px;
    background-color: #25629d;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
}

.proyects h2{
    font-size: 3em;
    line-height: 1.2;
    color: #212121;
    font-weight: 900;
    text-align: center;
    margin:0 0 100px 0;
}


.proyects .gallery{
    display: flex;
    justify-content: space-between;
    gap:2%;
    flex-wrap: wrap;
}

.proyects .gallery article{
    width: 32%;
    overflow: hidden;
    height: 0px;
    padding: 0 0 32% 0;
    position: relative;
    margin:0 0 20px 0;
}

.proyects .gallery article img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top:0;
    left: 0;
    transition: all .5s ease;
    border-radius: 5px;
}

.proyects .gallery article:hover img{
    filter: blur(3px);
    transform:scale(1.1);
    transition-delay: .2s;
}

.proyects .gallery article .masc{
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.4);
    top:0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all .2s ease;
    transform:scale(0);
}

.proyects .gallery article:hover .masc{
    opacity: 1;
    transform: scale(1);
}

.proyects .gallery article .masc a{
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    text-decoration: none;
    
}

.proyects .gallery article .masc a span{
    transform: rotate(-45deg);
}

@media(max-width:800px){
    .proyects h2{
        font-size: 30px;
    }

    .proyects .gallery article{
        width: 48%;
        padding: 0 0 48% 0;
    }
}



/* banner-2 */
.banner-2{
    padding: 80px 0;
}

.banner-2 .wrap{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap:4%;
}

.banner-2 .wrap article{
    width: 48%;
}

.banner-2 .wrap article:nth-child(2){
    width: 48%;
    height: 0px;
    padding: 0 0 48% 0;
    position: relative;
}

.banner-2 .wrap article:nth-child(2) img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top:0;
}

.banner-2 .wrap article h2{
    font-size: 16px;
    text-transform: uppercase;
    color: #25629d;
    font-weight: 600;
    position: relative;
}

.banner-2 .wrap article h2:after{
    content: "";
    position: absolute;
    width: 80px;
    height: 2px;
    background-color: #25629d;
    left: 0;
    bottom: -10px;
}

.banner-2 .wrap article h1{
    font-size: 3em;
    line-height: 1.2;
    color: #313131;
    font-weight: 900;
    margin:20px 0;
}

.banner-2 .wrap article p{
    font-size: 1.2em;
    line-height: 2;
    color: #313131;
    font-weight: 400;
    margin:20px 0;
}

.banner-2 .wrap article ul{
    display: flex;
    margin:20px 0 0 0;
    flex-wrap: wrap;
    gap:2%;
}

.banner-2 .wrap article ul li{
    width: 40%;
    max-width: 150px;
    text-align: center;
    list-style: none;
}

.banner-2 .wrap article ul li a{
    display: block;
    line-height: 50px;
    border-radius: 5px;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 700;
    border-bottom: solid 3px #25629d !important;
    transition: all .3s ease;
}

.banner-2 .wrap article ul li:nth-child(1) a{
    background-color: #25629d;
}

.banner-2 .wrap article ul li:nth-child(2) a{
    color: #25629d;
    border:solid 1px #25629d;
}

.banner-2 .wrap article ul li a:hover{
    background-color: #25629d;
    color: #ffffff;
}


@media(max-width:800px){
    .banner-2{
        padding: 40px 0;
    }

    .banner-2 .wrap{
        display: block;
    }

    .banner-2 .wrap article{
        width: 100%;
        margin:40px 0;
        text-align: center;
    }

    .banner-2 .wrap article h1{
        font-size: 30px;
    }

    .banner-2 .wrap article h2:after{
        left: 50%;
        transform: translateX(-50%);
    }

    .banner-2 .wrap article ul{
        justify-content: center;
    }

    .banner-2 .wrap article:nth-child(2){
        width: 48%;
        height: 0px;
        padding: 0 0 48% 0;
        margin:auto;
        position: relative;
    }
}

/* banner-3 */
.banner-3{
    position: relative;
    background-color: #0e0e1d75;
}

.banner-3 .wrap{
    position: relative;
    z-index: 2;
    padding: 240px 0;
}

.banner-3 h3{
    font-size: 1.2em;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    text-align: center;
}

.banner-3 h2{
    font-size: 3em;
    font-weight: 900;
    color: #ffffff;
    text-align: center;
    max-width: 800px;
    margin:auto;
}

@media(max-width:800px){
    .banner-3 .wrap{
        padding: 40px 0;
    }

    .banner-3 h2{
        font-size: 30px;
    }
}


/* page-banner */
.page-banner{
    background-color: #25629D;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 1600 800'%3E%3Cg %3E%3Cpath fill='%232766a4' d='M486 705.8c-109.3-21.8-223.4-32.2-335.3-19.4C99.5 692.1 49 703 0 719.8V800h843.8c-115.9-33.2-230.8-68.1-347.6-92.2C492.8 707.1 489.4 706.5 486 705.8z'/%3E%3Cpath fill='%23286aab' d='M1600 0H0v719.8c49-16.8 99.5-27.8 150.7-33.5c111.9-12.7 226-2.4 335.3 19.4c3.4 0.7 6.8 1.4 10.2 2c116.8 24 231.7 59 347.6 92.2H1600V0z'/%3E%3Cpath fill='%232a6fb1' d='M478.4 581c3.2 0.8 6.4 1.7 9.5 2.5c196.2 52.5 388.7 133.5 593.5 176.6c174.2 36.6 349.5 29.2 518.6-10.2V0H0v574.9c52.3-17.6 106.5-27.7 161.1-30.9C268.4 537.4 375.7 554.2 478.4 581z'/%3E%3Cpath fill='%232b73b8' d='M0 0v429.4c55.6-18.4 113.5-27.3 171.4-27.7c102.8-0.8 203.2 22.7 299.3 54.5c3 1 5.9 2 8.9 3c183.6 62 365.7 146.1 562.4 192.1c186.7 43.7 376.3 34.4 557.9-12.6V0H0z'/%3E%3Cpath fill='%232D77BF' d='M181.8 259.4c98.2 6 191.9 35.2 281.3 72.1c2.8 1.1 5.5 2.3 8.3 3.4c171 71.6 342.7 158.5 531.3 207.7c198.8 51.8 403.4 40.8 597.3-14.8V0H0v283.2C59 263.6 120.6 255.7 181.8 259.4z'/%3E%3Cpath fill='%232c7ac6' d='M1600 0H0v136.3c62.3-20.9 127.7-27.5 192.2-19.2c93.6 12.1 180.5 47.7 263.3 89.6c2.6 1.3 5.1 2.6 7.7 3.9c158.4 81.1 319.7 170.9 500.3 223.2c210.5 61 430.8 49 636.6-16.6V0z'/%3E%3Cpath fill='%232c7ecd' d='M454.9 86.3C600.7 177 751.6 269.3 924.1 325c208.6 67.4 431.3 60.8 637.9-5.3c12.8-4.1 25.4-8.4 38.1-12.9V0H288.1c56 21.3 108.7 50.6 159.7 82C450.2 83.4 452.5 84.9 454.9 86.3z'/%3E%3Cpath fill='%232c81d4' d='M1600 0H498c118.1 85.8 243.5 164.5 386.8 216.2c191.8 69.2 400 74.7 595 21.1c40.8-11.2 81.1-25.2 120.3-41.7V0z'/%3E%3Cpath fill='%232f85d7' d='M1397.5 154.8c47.2-10.6 93.6-25.3 138.6-43.8c21.7-8.9 43-18.8 63.9-29.5V0H643.4c62.9 41.7 129.7 78.2 202.1 107.4C1020.4 178.1 1214.2 196.1 1397.5 154.8z'/%3E%3Cpath fill='%233388DA' d='M1315.3 72.4c75.3-12.6 148.9-37.1 216.8-72.4h-723C966.8 71 1144.7 101 1315.3 72.4z'/%3E%3C/g%3E%3C/svg%3E");
    background-attachment: fixed;
    background-size: cover;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-banner h1{
    margin:190px 0 80px 0;
    font-size: 30px;
    color: #ffffff;
    position: relative;
    text-align: center;
    z-index: 10;
}

.page-banner h1 span{
    display: block;
    font-size: 20px;
}

.page-banner .image{
    position: absolute;
    width: 100%;
    height: 100%;
    top:0;
    left: 0;
    z-index: 1;
    opacity: .2;
}

.page-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    mix-blend-mode: color;
}

.page-banner .image img{
    top: 50%;
    height: auto;
    width: 100%;
    position: absolute;
    transform: translateY(-50%);
    pointer-events: none;
}

@media(max-width:800px){
        .page-banner{
            height: auto;
            padding: 100px 0 30px 0;
        }

        .page-banner h1{
            font-size: 30px;
            margin:0;
        }
        .page-banner .image img{
            width: 120%;
        }
}



/* content */
.content{
    padding: 80px 0 80px 0;
}

.content table {
    border-radius: 10px;
    overflow: hidden;
}

.content table tr:nth-child(1) td{
    font-weight: 800;
    background-color: #25629d;
    color: #ffffff;
    text-transform: uppercase;
}

.content table tr td{
    padding:15px  20px;
    font-size: 16px;
    font-weight: 400;
    color: #244465;
}

.content table tr:nth-child(even) td{
    background-color: #25619d23;
}

.content table tr td strong,
.content table tr td b{
    display: block;
    background-color: #25629D;
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 5px;
}

.content table tr td:nth-child(2){
    font-weight: 800;
}

@media(max-width:800px){
    .content{
        padding: 40px 0;
    }
}

.content input[type="text"],
.content input[type="email"],
.content input[type="tel"],
.content input[type="number"],
.content input[type="file"],
.content input[type="date"],
.content textarea,
.content select{
    font-family: "Red Hat Display", sans-serif;
    background-color: #ffffff;
    padding: 8px 2%;
    width: 96%;
    border:solid 1px #f0f0f0;
    border-radius: 5px;
    outline: none;
    resize: none;
    margin:0 0 10px 0;
    font-size: 15px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none; 
}

.content select{
    color: #313131;
    cursor: pointer;
}

.content label{
    font-size: 14px;
    font-weight: bold !important;
    color: #777777 !important;
}

.content input[type="text"]:focus,
.content input[type="email"]:focus,
.content input[type="tel"]:focus,
.content input[type="number"]:focus,
.content input[type="date"]:focus,
.content textarea:focus,
.content select:focus{
    box-shadow: 0 5px 10px rgba(0,0,0,.1);
    transition: all .3s ease;
}

.content input[type="text"]::placeholder,
.content input[type="email"]::placeholder,
.content input[type="tel"]::placeholder,
.content input[type="number"]::placeholder,
.content input[type="date"]::placeholder,
.content textarea::placeholder{
    color: #313131;
}

.content input[type="submit"]{
    background-color: #3680D4;
    color: #ffffff;
    border:none;
    outline: none;
    cursor: pointer;
    border-radius: 3px;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 30px;
    margin:0 0 20px 0;
    transition: all .3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.content input[type="submit"]:hover,
.content input[type="submit"]:focus{
    color: #ffffff;
    background-color: #313131;
}

.not-found{
    padding: 100px 0;
    margin:auto;
}

.not-found h2{
    font-size: 100px;
    text-align: center;
    color: #313131;
    font-weight: 900;
}

.not-found h3{
    font-size: 24px;
    text-align: center;
    color: #313131;
    margin:auto;
    max-width: 500px;
    font-weight: 300;
}

@media(max-width:800px){
    .not-found{
        padding: 50px 0;
    }

    .not-found h2{
        font-size: 50px;
    }

    .not-found h3{
        font-size: 17px;
        width: 80%;
    }
}



/* category */
.category .wrap{
    display: flex;
    gap:2%;
    flex-wrap: wrap;
}

.category .wrap article{
    width: 23.5%;
    overflow: hidden;
    margin:0 0 40px 0;
}

.category .wrap article .image{
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
}

.category .wrap article .image img{
    width: 100%;
    height:100%;
    object-fit: cover;
    transition: all .3s ease;
}

.category .wrap article:hover img{
    transform: scale(1.1);
}

.category .wrap article h2{
    font-size: 20px;
    font-weight: 600;
    padding: 10px;
    position: relative;
    min-height: 50px;
    display: flex;
    align-items: end;
}


.category .wrap article p{
    font-size: 14px;
    line-height: 25px;
    color: #777777;
    padding: 10px;
    text-align: justify;
}



@media(max-width:800px){
    .category .wrap{
        gap:4%;
    }
    .category .wrap article{
        width: 48%;
    }

    .category .wrap article p{
        text-align: left;
    }
}

.category .wrap article .btn-more{
    display: table;
    margin:10px;
}

.category .wrap article .btn-more a{
    display: block;
    text-decoration: none;
    background-color: #3680D4;
    color: #ffffff;
    line-height: 45px;
    padding: 0 20px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    transition: all .3s ease;
    border-radius: 5px;
}

.category .wrap article .btn-more a:hover{
    background: #212121;
    color: #ffffff;
}


/* sub-footer */
.sub-footer{
    padding: 80px 0;
    background-color: #f0f0f0;
}

.sub-footer .wrap{
    display: flex;
    justify-content: space-between;
    gap:3%;
    flex-wrap: wrap;
}

.sub-footer .wrap article:nth-child(1){
    width: 30%;
}

.sub-footer .wrap article:nth-child(2){
    width: 11%;
}

.sub-footer .wrap article:nth-child(3){
    width: 25%;
}

.sub-footer .wrap article:nth-child(4){
    width: 25%;
}

.sub-footer .wrap article img{
    max-width:200px;
    margin:0 0 10px 0;
}

.sub-footer .wrap article h2{
    color: #212121;
    font-size: 1.4em;
    font-weight: 800;
    margin:0 0 30px 0;
}

.sub-footer .wrap article p,
.sub-footer .wrap article a{
    color: #212121;
    text-decoration: none;
    font-size: 16px;
    line-height: 30px;
    transition: color .3s ease;
}

.sub-footer .wrap article ul.menu{
    line-height: 40px;
    list-style-type: none;
}

.sub-footer .wrap article ul.menu li a i{
    color: #25629d;
}

.sub-footer .wrap article ul.menu li a:hover{
    color: #244465;
}

.sub-footer .wrap article ul.social{
    display: flex;
    gap:3%;
    list-style-type: none;
    margin:20px 0 0 0;
}

.sub-footer .wrap article ul.social li a{
    display: block;
    line-height: 50px;
    width: 50px;
    background-color: #25629d;
    color: #ffffff;
    text-align: center;
    font-size: 20px;
    border-radius: 50px;
    line-height: 50px;
    transition: all .3s ease;
}

.sub-footer .wrap article ul.social li a:hover{
    background-color: #244465;
    color: #ffffff;
}

.sub-footer .wrap article input[type="email"]{
    padding: 10px 2%;
    width: 96%;
    border:none;
    background-color: #ffffff;
    outline: none;
    font-size: 16px;
    border-radius: 20px;
}

.sub-footer .wrap article input[type="submit"]{
    background-color: #25629d;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 20px;
    border:none;
    font-size: 16px;
    cursor: pointer;
    margin:10px 0 20px 0;
    transition: all .3s ease;
}

.sub-footer .wrap article input[type="submit"]:hover,
.sub-footer .wrap article input[type="submit"]:focus{
    background-color: #244465;
    color: #ffffff;
}


@media(max-width:800px){
    .sub-footer{
        padding: 40px 0;
    }
    .sub-footer .wrap{
        display: block;
        text-align: center;
    }

    .sub-footer .wrap article:nth-child(1),
    .sub-footer .wrap article:nth-child(2),
    .sub-footer .wrap article:nth-child(3),
    .sub-footer .wrap article:nth-child(4){
        width: 100%;
        padding: 50px 0;
    }

    .sub-footer .wrap article ul.social{
        justify-content: center;
    }

    .sub-footer .wrap article input[type="email"]{
        display: block;
        margin:auto;
        max-width:60%;
    }

    .sub-footer .wrap article input[type="submit"]{
        display: block;
        margin:20px auto 0 auto;;
    }

}


/* footer */
footer{
    background-color: #f0f0f0;
    padding: 0 0 50px 0;
    text-align: center;
    font-size: 15px;
    color: #515151;
}

footer a{
    color: #212121;
    text-decoration: none;
    transition: all .3s ease;
}

footer a:hover{
    color: #244465;
}

footer em{
    font-style: normal;
    display: inline;
    margin:0 10px;
}


@media(max-width:800px){
    footer{
        font-size: 16px;
    }

    footer span{
        display: block;
        padding: 5px 0;
    }

    footer em{
        display: none;
    }
}


.go-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25629d;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    visibility: hidden;
    z-index: 99;
    cursor: pointer;
}

.go-top.visible {
    opacity: 1;
    visibility: visible;
}

.go-top:hover {
    opacity: 1;
}
