:root{
--linear1: #14869A;
--linear2: #2B5187;
--logo-bg: #fff;
--blur-white:  rgb(255 255 255 / 17%);
--light: #ffffff;
--border-color: #ffffff61; 
--white-box: #fff;
}
.hidden{
    display: none;
}
body{
    background: linear-gradient(var(--linear1),var(--linear2));
    padding: 20px 50px;
    img{
        width: 100%;
    }
}
a,p,label{
    font-family: Montserrat, sans-serif;
}
.header-nav{
    padding: 20px ;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 99;
    .inline-logo{
        display: flex;
        flex-wrap: wrap;
    }
    .logo {
        background: var(--logo-bg);
        border-radius: 100px;
        width: 184px;
        padding: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 76px;
        margin-right: 10px;
        
        img{
            max-width: 100%;
        }
    }
    .logo.circle{
        width: 75px;
    }
    .menu-nav{
        list-style: none;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        align-items: center; 
        margin: 0;
        li a {
            color: #fff;
            text-decoration: none;
            text-transform: uppercase;
            letter-spacing: 1px;
            padding: 12px 17px;
            background: var(--blur-white);
            border-radius: 10px;
            border: 1px solid var(--border-color);
            font-size: 13px;
            font-weight: 600;
            margin: 3px;
        }
        li a.icon{
            border-radius: 100px;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 41px;
            height: 41px;
        }
    }
}
.right-nav{
    display: flex;
    align-items: center;
    justify-content: end;
}

.maincontent{
    .blur-box{
        background: var(--blur-white);
        backdrop-filter: blur(10px);
        border: 1px solid var(--border-color);
        border-radius: 20px;
        padding: 10px;
        margin-bottom: 10px;
    }
    .map-con{
        position: relative;
        iframe{
            min-height: 480px;
            height: 80vh;
            width: 100%;
            border: 1px solid var(--light);
            border-radius: 20px;
        }
        a.view-map{
            text-decoration: none;
            display: block;
            position: absolute;
            bottom: 6px;
            border-radius: 0 0 20px 20px;
            width: 100%;
            text-align: center;
            padding: 20px 50px;
            background-color: #254d71a1;
            color: #ffffff;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            backdrop-filter: blur(5px);
            border: 1px solid #fff;
        }
    }
}

.current-weather {
    text-align: center;
    color: #fff;
    .icon{
        font-size: 100px;
        margin-top: -20px;
        img{
            width: 130px;
        }
    }
    h2{
        font-size: 50px;
        font-weight: 800;
        text-shadow:
      0 2px 0 #d9d9d9,
      0 4px 0 #bfbfbf,
      0 6px 0 #a6a6a6,
      0 8px 10px rgba(0,0,0,0.4);
    margin-bottom: 10px;
    }
    h3{
        font-size: 16px;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 600;
        padding-bottom: 10px;
        border-bottom: 1px solid #ffffff78;
        i{
            font-size: 15px;
            margin-right: 5px;
        }
    }
    .small {
        margin-bottom: 10px;
        padding-bottom: 10px;
        border-bottom: 1px solid #ffffff78;
        font-size: 16px;
    }
}
.windy-con iframe {
    min-height: 350px;
    border-radius: 17px;
}
.cloud-bg:after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    background-image: url(/assets/images/clouds.jpg);
    opacity: 0.15;
}

section{
    padding-top: 20px;
    padding-bottom: 20px;
}
.light-heading{
    color: var(--light);
    font-size: 25px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
}
.devices{
    .dev-list-con{
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }
    .dev-card{
        background: var(--white-box);
        border-radius: 10px;
        display: flex;
        align-items: center;
        overflow: hidden;
        margin: 3px;
        width: 17%;
        flex-grow: 1;
        cursor: pointer;
        transition: all .3s;
    }
    .dev-card:hover {
        box-shadow: 1px 8px 10px rgb(0 0 0 / 20%);
        margin-top: -5px;
    }
    .dev-list-con{
        .img {
            width: 103px;
            height: 121px;
            display: block;
            background-size: cover;
            background-position: center;
        }
    }
    .info {
        padding: 10px;
        h5{
            font-size: 16px;
            text-transform: uppercase;
            font-weight: 800;
            letter-spacing: 1px;
        }
        ul{
            list-style: none;
            padding: 0;
            margin: 0;
            font-size: 13px;
        }
    }
    .device-content{
        margin-top: 30px;
        padding: 50px;
        img{
            border-radius: 20px;
        }
        .heading {
            display: flex;
            color: #fff;
            border-bottom: 1px solid rgb(255 255 255 / 33%);
            i {
                font-size: 30px;
                margin-top: 4px;
                margin-right: 14px;
            }
            h3 {
                font-family: 'Montserrat';
                font-weight: 700;
                text-transform: uppercase;
                font-size: 30px;
                letter-spacing: 1px; 
                margin-bottom: 0;
            }
            p{
                font-weight: 300;
                font-family: 'Archivo';
            }
        }
        ul.dev-info {
            list-style: none;
            padding: 20px 0;
            margin: 0;
            color: #fff;
            border-bottom: 1px solid rgb(255 255 255 / 33%);
            li {
                margin-bottom: 11px;
                span {
                    font-weight: 700;
                }
            }
        }
    }
}

@media screen and (max-width: 1200px){
    body{
        padding: 20px;
    }
    .header-nav{
        .menu-nav{
           li a{
                font-size: 10px;
                letter-spacing: 0;
            }
        }
    }
    .current-weather{
        h2{
            font-size: 35px;
             text-shadow: 0 2px 0 #d9d9d9, 0 4px 0 #BFBDBF;
            margin-bottom: 10px;
        }
        h3{
            font-size: 14px;    
            letter-spacing: 0;
        }
        .small{
            margin-bottom: 5px;
            padding-bottom: 5px;
           font-size: 12px;
        }
        .small:last-child{
            border-bottom: 0;
        }
    }
    .devices{
        .info{
            ul{
                font-size: 11px 
            }
        }
    }
}
@media screen and (max-width: 980px){
    .header-nav{
        .menu-nav{
            li a{
                padding: 12px 7px;
            }
        }
    }
    .devices{ 
        .device-content{
            padding: 20px;
        }
    }
}
@media screen and (min-width: 768px){
    #mobileNav{
        display: none;
    }
    .maincontent {
        margin-top: 120px;
    }
    .header-nav{
        padding: 20px 50px;
    }
}

@media screen and (max-width: 768px){
    body{
        padding: 10px;
    }
    .header-nav{
        padding-top: 0;
        position: relative;
        .logo{
            width: 140px;
            height: 54px;
        }
        .logo.circle{
            width: 54px;
        }
        .menu-nav{
            flex-direction: column;
            overflow: hidden;
            max-height: 0;
            opacity: 0;
            transition: max-height 0.4s ease, opacity 0.3s ease;
            li{
                width: 100%;
                a, a.icon{
                    display: block;
                    margin: 0;
                    border: 0;
                    border-radius: 0;
                    width: 100%;
                    padding: 5px 20px;
                    font-size: 13px;
                    text-transform: none;
                }
            }
        }
        .right-nav{
            width: 100%;
            display: block;
        }
        .menu-nav.active {
            max-height: 300px;
            opacity: 1;
        }
        .mobile-menu{
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            color: #fff;
            font-size: 28px;
            right: 0;
        }
    }
    .devices{
        .dev-card{
            width: 25%;
            display: block;
            
            .img{
                width: 100%;
                height: 100px;
            }
        }
        .info{
            h5{
                font-size: 14px;
                margin-bottom: 5px;
                letter-spacing: 0;
            }
        }
        .device-content{
            .heading{
                margin-top: 35px;
                h3{
                    font-size: 22px;
                }
            }
        }
    }
}

@media screen and (min-width: 540px){
    .device-content span {
        font-weight: 700;
        width: 66%;
        display: inline-block;
        float: right;
    }
}
