/* 
ESTILOS GENERALES 
*/
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    user-select: none;
    font-family: 'Inter', sans-serif;
}

body {
    width: 100%;
    height: 100%;
    background-color: #f6f6f6;
}

html{
    scroll-behavior: smooth;
}


/*
    CLIMA
*/

.climate-section{
    width: 100%;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 150px;
    padding-left: 50px;
    padding-right: 50px;
}

.climate-container{
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: #ebebeb;
    border-radius: 10px;
    box-shadow: 0px 1px 3px 1px #4441;
    transition: .5s;
    border: 1px solid #ccc;
}

.climate-container::after{
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: #1a584b;
    border-radius: 100%;
    top: -100px;
    left: -100px;
    z-index: 100;
    transition: .5s;
}

.climate-container::before{
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: #1a584b;
    border-radius: 100%;
    bottom: -100px;
    right: -100px;
    z-index: 100;
    transition: .5s;
}

.climate-container:hover::after{
    top: -80px;
    left: -80px;
}

.climate-container:hover::before{
    bottom: -80px;
    right: -80px;
}

.climate-container:hover{
    transform: translateY(-10px);
}

.content-container{
    width: 50%;
    height: 100%;
    padding: 100px;
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
}

/* INFORMACIÓN DEL SERVICIO */

.content-container .title-climate-section{
    font-size: 35px;
    font-weight: 700;
    color: #1a584b;
    padding-bottom: 20px;
}

.content-container .information-climate-section{
    font-size: 18px;
    font-weight: 500;
    color: #666;
    line-height: 1.5;
    padding-bottom: 20px;
}

.container-start-links{
    display: flex;
    justify-content: start;
    align-items: center;
    width: 100%;
    margin: auto;
}

.start-link {
    background-color: #fff;
    padding: 15px 40px;
    border-radius: 2px;
    color: #444;
    cursor: pointer;
    margin: 20px 20px 0px 0px;
    font-size: 15px;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    text-decoration: none;
    fill: #444;
    box-shadow: 0px 1px 3px 1px #4441;
    transition: .5s;
}
 
.start-link:hover{
    background-color: #1a584b;
    color: #fff;
    fill: #fff;
    transform: translateY(-5px);
}

.start-link span {
    font-weight: 700;
    margin-left: 10px;
}

/* FRAME APLICACIÓN MÓVIL */

.cell-phone-frame{
    width: 40%;
    height: 95%;
    transition: .5s;
}

.cell-phone-frame:hover{
    transform: translateY(-10px);
    box-shadow: 0px 1px 3px 1px #4441;
}

/* SECCIÓN DE NOTICIAS - FRAME APLICACIÓN MÓVIL */

.nav-header{
    display: flex;
    background-color: #1a584b;
    justify-content: space-between;
    align-items: center;
    height: 8%;
}

.fa-bars{
    color: #fff;
    font-size: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    cursor: pointer;
}

.search-bar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 50%;
    height: 70%;
    background-color: #fff;
    width: 60%;
    border-radius: 10px;
}

.search-bar-logo-app{
    width: 30px;
    height: 30px;
    margin: 10px;
}

.fa-magnifying-glass{
    color: #1a584b;
    font-size: 20px;
    margin: 10px;
    cursor: pointer;
}

.search-bar-input{
    width: 80%;
    height: 100%;
    border: none;
    outline: none;
    font-size: 18px;
    color: #444;
}

.container-image-user{
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 20%;    
}

.container-image-user img{
    width: 40px;
    height: 40px;
    margin: 10px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
}

.content{
    width: 100%;
    height: 57vh;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-bottom{
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #1a584b;
    height: 10%;
}

.nav-bottom i{
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}

/* FRAME CLIMATE */


.department {
    font-size: 24px;
    color: #006400;
    margin-top: 10px;
    font-weight: 700;
}

.department-temperature {
    font-size: 36px;
    color: #333;
    margin: 5px 0;
}

.state-department {
    font-size: 18px;
    color: #666;
}

.main-icon-temperature svg {
    width: 80px;
    height: auto;
    margin: 10px 0;
}

.hourly-forecast {
    display: flex;
    justify-content: space-around;
    margin: 15px 0;
}

.hour {
    text-align: center;
    font-size: 12px;
    color: #333;
    padding: 0px 20px;
}

.hour svg {
    width: 40px;
    height: auto;
}

.weekly-forecast {
    border-top: 1px solid #ddd;
    padding-top: 10px;
    margin-top: 10px;
}

.temperature-table {
    width: 100%;
}

.temperature-table th, td {
    font-size: 12px;
    text-align: left;
    padding: 5px;
    color: #333;
}

.temperature-table th {
    width: 25%;
}

.temperature-table td {
    display: flex;
    align-items: center;
}

.temperature-table td svg {
    width: 20px;
    height: auto;
    margin-right: 5px;
}

@media (max-width: 1200px) {
    .climate-section{
        height: auto;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .climate-container{
        width: 90%;
        height: auto;
        padding: 50px;
    }

    .content-container{
        width: 100%;
        height: auto;
        padding: 50px;
    }

    .cell-phone-frame{
        width: 60%;
        height: auto;
    }

    .nav-bottom{
        height: 15%;
        padding: 10px;
    }

    .start-link{
        padding: 15px 30px;
    }

}

@media (max-width: 768px) {

    .cell-phone-frame{
        width: 100%;
        height: auto;
    }

    .nav-bottom{
        height: 15%;
        padding: 10px;
    }
    
    .climate-container::after,
    .climate-container::before{
        width: 150px;
        height: 150px;
    }

}