/* =====================================================
   MFANGANO ISLAND
   WHAT TO DO ON MFANGANO
   FILE: what-to-do-template.css
===================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    font-family:Verdana, Arial, Helvetica, sans-serif;
    overflow-x:hidden;
    background:#ffffff;
}

/* =====================================================
   HERO BACKGROUND
===================================================== */

.what-hero{
    position:relative;
    width:100%;
    min-height:100vh;

    background-image:url('/backgrounds/background-what-to-do.png');
    background-size:cover;
    background-position:center top;
    background-repeat:no-repeat;

    overflow:hidden;
}

/* =====================================================
   TOP BAR
===================================================== */

.what-topbar{
    position:absolute;
    top:24px;
    left:0;
    right:0;

    z-index:9999;

    display:flex;
    justify-content:flex-end;
    align-items:center;

    padding:0 42px;
}

.what-tools{
    display:flex;
    align-items:center;
    gap:24px;
}

.what-language{
    color:#000000;
    font-size:18px;
    font-weight:900;
    white-space:nowrap;

    text-shadow:
        0 1px 2px rgba(255,255,255,1),
        0 0 6px rgba(255,255,255,.95);
}

.what-language a{
    color:#000000;
    text-decoration:none;
}

.what-language a:first-child{
    color:#0b4f1f;
}

.what-language span{
    color:#000000;
    margin:0 8px;
}

.what-search{
    display:flex;
    align-items:center;
    height:42px;
}

.what-search input{
    width:165px;
    height:42px;

    padding:0 13px;

    border:2px solid rgba(0,0,0,.65);
    border-right:none;

    background:rgba(255,255,255,.24);
    color:#000000;

    font-size:15px;
    font-weight:800;

    outline:none;
}

.what-search input::placeholder{
    color:#000000;
}

.what-search button{
    width:44px;
    height:42px;

    border:2px solid rgba(0,0,0,.65);

    background:rgba(255,255,255,.24);
    color:#000000;

    cursor:pointer;
    font-size:15px;
}

/* =====================================================
   CLICK CARDS ON IMAGE
===================================================== */

.what-card-menu{
    position:absolute;
    left:0;
    right:0;
    bottom:65px;

    height:180px;

    z-index:100;
    pointer-events:none;
}

.what-card{
    position:absolute;

    width:230px;

    padding:14px 16px;

    text-decoration:none;
    color:#ffffff;

    background:rgba(5,15,25,.22);

    border:1px solid rgba(255,255,255,.15);
    border-radius:14px;

    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);

    box-shadow:0 4px 12px rgba(0,0,0,.12);

    pointer-events:auto;

    transition:all .25s ease;
}

.what-card:hover{
    transform:translateY(-5px);
    background:rgba(5,15,25,.35);
}

.what-card:nth-child(1){
    left:170px;
    bottom:0;
}

.what-card:nth-child(2){
    left:50%;
    bottom:35px;
    transform:translateX(-50%);
}

.what-card:nth-child(2):hover{
    transform:translateX(-50%) translateY(-5px);
}

.what-card:nth-child(3){
    right:170px;
    bottom:0;
}

.what-card-icon{
    display:block;
    color:#d8b04c;
    font-size:16px;
    margin-bottom:6px;
}

.what-card h2{
    color:#ffffff;
    font-size:17px;
    font-weight:900;
    line-height:1.2;
    margin-bottom:6px;
}

.what-card p{
    color:#ffffff;
    font-size:11px;
    font-weight:600;
    line-height:1.4;
}

/* =====================================================
   LARGE LAPTOP
===================================================== */

@media(max-width:1500px){

    .what-topbar{
        padding:0 30px;
    }

    .what-card{
        width:215px;
        padding:13px 15px;
    }

    .what-card h2{
        font-size:16px;
    }

    .what-card p{
        font-size:10.5px;
    }

    .what-card:nth-child(1){
        left:140px;
    }

    .what-card:nth-child(3){
        right:140px;
    }

    .what-search input{
        width:145px;
    }
}

/* =====================================================
   TABLET
===================================================== */

@media(max-width:1050px){

    .what-hero{
        min-height:100vh;
        background-size:cover;
        background-position:center top;
    }

    .what-topbar{
        top:22px;
        padding:0 28px;
    }

    .what-card-menu{
        left:50%;
        right:auto;

        width:min(620px,88%);
        height:auto;

        transform:translateX(-50%);

        display:flex;
        flex-direction:column;
        gap:14px;

        bottom:25px;

        pointer-events:auto;
    }

    .what-card,
    .what-card:nth-child(1),
    .what-card:nth-child(2),
    .what-card:nth-child(3){
        position:relative;

        left:auto;
        right:auto;
        bottom:auto;

        width:100%;

        transform:none;
    }

    .what-card:hover,
    .what-card:nth-child(2):hover{
        transform:translateY(-5px);
    }

    .what-card h2{
        font-size:19px;
    }

    .what-card p{
        font-size:13px;
    }
}

/* =====================================================
   MOBILE
===================================================== */

@media(max-width:700px){

    .what-hero{
        min-height:100vh;
        background-size:cover;
        background-position:center top;
    }

    .what-topbar{
        top:18px;
        padding:0 18px;
    }

    .what-tools{
        flex-direction:column;
        align-items:flex-end;
        gap:12px;
    }

    .what-language{
        font-size:16px;
    }

    .what-search input{
        width:185px;
        height:40px;
        font-size:15px;
    }

    .what-search button{
        width:44px;
        height:40px;
    }

    .what-card-menu{
        bottom:20px;
        width:88%;
        gap:12px;
    }

    .what-card{
        width:100%;
        padding:14px 16px;
        background:rgba(5,15,25,.35);
        border-radius:14px;
    }

    .what-card-icon{
        font-size:16px;
        margin-bottom:6px;
    }

    .what-card h2{
        font-size:16px;
    }

    .what-card p{
        font-size:12px;
        line-height:1.35;
    }
}