/* ------ Overall Page Styles ------ */

.video-section, .text-section, .destinations-section, .useful-information-section,
.quick-facts-section, .gallery-section {
    width: 50%;
    padding: 10px;
    background-color: var(--container-color);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.text-section .section-header, .destinations-section .section-header, .useful-information-section .section-header,
.quick-facts-section .section-header, .gallery-section .section-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.btn {
    font-size: 1em;
    padding: 10px;
    border: none;
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    color: var(--text-color);
    cursor: pointer;
    transition: .3s;
}

.btn:hover {
    opacity: 0.7;
}

/* ------ Widgets Section ------ */

.widgets-video-section-con {
    display: flex;
    column-gap: 10px;
}

.widgets-section {
    width: 50%;
    display: flex;
    flex-wrap: wrap;
    column-gap: 10px;
}

.widget {
    position: relative;
    margin: auto;
    width: 49%;
    border-radius: var(--border-radius);
    background-color: var(--container-color);
    height: 200px;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    transition: 0.3s;
}

/* Clock Widget - Analog */

.clock {
    position: relative;
    display: flex;
    height: 180px;
    width: 180px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--background-color);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1), 0 25px 45px rgba(0, 0, 0, 0.1);
}

.clock label {
    position: absolute;
    inset: 2.5px;
    text-align: center;
    transform: rotate(calc(var(--i) * (360deg / 12)));
}

.clock label span {
    display: inline-block;
    color: var(--text-color);
    font-weight: 600;
    font-size: 15px;
    transform: rotate(calc(var(--i) * (-360deg / 12)));
}

.clock-widget .indicator {
    display: flex;
    position: absolute;
    height: 5px;
    width: 5px;
    justify-content: center;
}

.indicator::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 100;
    border-radius: 50%;
    background-color: black;
    border: 2px solid var(--text-color);
}

.indicator .hand {
    position: absolute;
    transform-origin: bottom;
    bottom: 0;
    border-radius: 25px;
}

.hand.second {
    height: 70px;
    width: 4px;
    background-color: dodgerblue;
}

.hand.minute {
    height: 70px;
    width: 5px;
    background: var(--text-color);
}

.hand.hour {
    height: 50px;
    width: 7px;
    background: var(--text-color);
}

/* Digital Clock Widget */

.digital-output {
    font-size: 60px;
    border-radius: var(--border-radius);
    padding: 20px;
    background-color: var(--background-color);
}

/* Weather Widget */

.weather-section {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.weather-section-header {
    display: flex;
    width: 100%;
    height: 100%;
    margin: auto;
    justify-content: center;
}

.weather-section-header .left-column {
    width: 60%;
    display: flex;
    flex-direction: column;
    row-gap: 5px;
    justify-content: flex-start;
    align-items: flex-start;
}

.weather-location {
    display: flex;
    align-items: center;
    column-gap: 5px;
}

.temp {
    font-size: 2.5em;
}

.main-weather-icon {
    font-size: 2.5em;
}

.weather-section-header .right-column {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 5px;
}

.weather-info {
    display: flex;
    background-color: var(--background-color);
    padding: 10px;
    justify-content: center;
    align-items: center;
    border-radius: var(--border-radius);
    column-gap: 5px;
}

.details-weather-icon {
    font-size: 2em;
}

/* Map Widget */

.map-widget {
    width: 100%;
}

#map {
    height: 200px;
    width: 100%;
}

/* ------ Video Section ------ */

.video {
    height: 400px;
    width: 100%;
    border-radius: var(--border-radius);
    border: none;
}

.mobile-video-section {
    display: none;
}

/* ------ Text Section ------ */

.read-more-btn {
    display: none;
}

/* ------ Destinations Section ------ */

.destinations-section {
    flex-direction: column;
    flex-wrap: wrap;
    column-gap: 10px;
}

.destinations-card-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    column-gap: 10px;
    row-gap: 10px;
}

.destinations-card {
    margin: auto;
    width: 48%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 10px;
    text-decoration: none;
    color: var(--text-color);
}

.destinations-card-header, .destinations-card-footer {
    display: flex;
    justify-content: inherit;
}

.destinations-card-image {
    height: 200px;
    width: 100%;
    border-radius: var(--border-radius);
}

.main-content.active .destinations-card-image {
    height: 230px;
}

/* ------ Useful Information & Settings Section ------ */

.useful-information-section {
    width: 100%;
}

.useful-information-tab-container {
    width: 100%;
    display: flex;
}

.useful-information-tab-box {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    justify-content: flex-start;
    align-items: center;
    width: 20%;
    margin: 10px;
}

.useful-information-content-box {
    width: 100%;
}

.useful-information-content-box .useful-information-content {
    display: none;
    animation: fade .5s ease;
    width: 100%;
}

@keyframes fade {
    from{opacity: 0;}
    to{ opacity: 1;}
}

.useful-information-content-box .useful-information-content.active {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    padding: 10px;
    row-gap: 10px;
}


/* Useful Information Cards */

.useful-information-card, .useful-information-card-mobile {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: var(--border-radius);
}

.useful-information-card:hover {
    background-color: var(--background-color);
}

.useful-information-card.active {
    background-color: var(--bold-color);
    border-radius: var(--border-radius);
}

.useful-information-card-header {
    display: flex;
    width: 20%;
    align-items: center;
    justify-content: center;
}

.useful-information-card-footer {
    display: flex;
    width: 80%;
    align-items: center;
    justify-content: flex-start;
}

.useful-information-card-icons {
    font-size: 1.5em;
    padding: 15px;
    border-radius: 50%;
}

/* Useful Information Content */

.content-container {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: row;
    column-gap: 10px;
}

.content-container-col {
    width: 50%;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.setting {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    padding: 10px;
    width: 100%;
    background-color: var(--container-color);
    border-radius: var(--border-radius);
}

.setting .theme-selector {
    width: 100%;
    display: flex;
    flex-direction: row;
    border-radius: var(--border-radius);
    background-color: var(--background-color);
}

.theme {
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
}

.theme.active {
    background-color: var(--bold-color);
    border-radius: var(--border-radius);
}

.settings-header-image {
    height: 250px;
    width: 100%;
    border-radius: var(--border-radius);
}

.settings-page {
    padding: 10px;
}


/* Setting - Font Size */ 

.font-size-select-menu {
    border-radius: 20px;
    padding: 10px;
    border: 2px solid var(--text-color);
    font-family: inherit;
    background-color: inherit;
    color: inherit;
    transition: 0.3s;
}

.font-btn {
    padding: 10px;
    width: 50%;
    background-color: var(--container-color);
    border-radius: var(--border-radius);
    color: var(--text-color);
    border: 2px solid var(--text-color);
    margin: auto;
    cursor: pointer
}

/*
.small-font {
    font-size: small;
}

.medium-font {
    font-size: medium;
}

.large-font {
    font-size: large;
} */

/* Mobile  */

.useful-information-btn {
    display: none;
}

.useful-information-menu-list {
    display: none;
}

/* ------ Quick Facts & Gallery Section ------ */

.gallery-facts-section {
    display: flex;
    column-gap: 10px;
}

/* Quick Facts Section */ 

.quick-facts-section {
    order: 1;
}

.quick-facts-container {
    display: flex;
    row-gap: 10px;
    column-gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.quick-facts-cards {
    width: 49%;
    height: 180px;
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    display: flex;
    justify-content: center;
    align-items: center;
}

.quick-facts-cards p {
    padding: 10px;
}

/* Gallery Section */ 

.gallery-section {
    order: 2;
}

.gallery-section-container {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.gallery-main-image {
    height: 360px;
    width: 100%;
    border-radius: 20px;
}

.gallery-image-track-container {
    display: inline-block;
    width: 100%;
    overflow-x: scroll;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.gallery-image-track-container::-webkit-scrollbar {
    display: none;
}

.track-image {
    height: 120px;
    column-gap: 20px;
    width: 30%;
    border-radius: 10px;
    cursor: pointer;
}

/* ------ Mobile Devices ------ */

@media only screen and (max-width:440px){

    .sections-con {
        display: flex;
        flex-direction: column;
        row-gap: 10px;
    }

    /* ------ Widgets Section ------ */

    .widgets-video-section-con {
        flex-direction: column;
        row-gap: 10px;
    }

    .widgets-section {
        width: 100%;
    }

    .widget {
        height: 160px;
    }

    /* Clock Widget */

    .main-content.mobile-active .clock-widget {
        width: 100%;
    }
    
    .clock-widget .clock {
        height: 140px;
        width: 140px;
    }
 
    .hand.second {
        height: 55px;
    }
    
    .hand.minute {
        height: 55px;
    }
    
    .hand.hour {
        height: 40px;
    }

    /* Weather Widget */ 

    .main-content.mobile-active .weather-widget {
        width: 100%;
    }

    .weather-section-header .left-column {
        width: 100%;
        row-gap: 0px;
    }

    .main-weather-icon {
        font-size: 1.5em;
    }
    
    .temp {
        font-size: 2em;
    }

    .weather-section-header .right-column {
        display: none;
    }
    
    /* ------ Video Section ------ */ 

    .video-section {
        display: none;
    }

    .video {
        height: 300px;
    }

    .mobile-video-section {
        display: flex;
        flex-direction: column;
        background-color: var(--container-color);
        padding: 10px;
        border-radius: var(--border-radius);
    }

    /* ------ Text Section ------ */

    .text-section {
        width: 100%;
    }

    .expanded-text {
        height: 0;
        width: 100%;
        overflow: hidden;
        transition: 0.3s;
    }

    .expanded-text.active {
        height: 240px;
    }
    
    .read-more-btn {
        display: block;
    }

    .read-more-btn.active {
        transform: rotate(180deg);
    }   

    /* ------ Destinations Section ------ */

    .destinations-section {
        width: 100%;
        height: 100%;
    }

    .destinations-card-container {
        align-items: center;
    }

    .destinations-card-image {
        height: 140px;
    }

    .main-content.mobile-active .destinations-card {
        width: 100%;
    }

    .destinations-card-footer {
        display: flex;
    }

    /* ------ Useful Information Section ------ */

    .useful-information-btn {
        display: block;
    }

    .useful-information-tab-container {
        position: relative;
    }

    .useful-information-menu-list {
        display: flex;
        flex-direction: column;
        transition: 0.3s;
        height: 0;
        overflow: hidden;
    }
        
    .useful-information-menu-list.active {
        width: 100%;
        height: 110px;
        background-color: var(--background-color);
        border-radius: var(--border-radius);
     }

    .useful-information-tab-box {
        display: none;
    }

    .useful-information-content-box {
        width: 100%;
    }

    .useful-information-content-box .useful-information-content {
        animation: none;
    }

    /* ---- Settings ----- */

    .content-container {
        flex-direction: column;
        row-gap: 10px;
    }

    .content-container-col {
        width: 100%;
    }

    /* ------ Gallery Facts Section ------ */

    .gallery-facts-section {
        flex-direction: column;
        row-gap: 10px;
    }

    /* Quick Facts Section */

    .quick-facts-section {
        order: 2;
        width: 100%;
    }

    .quick-facts-cards {
        width: 100%;
        height: 180px;
    }

    .quick-facts-cards-hidden {
        display: none;
    }

    /* Gallery Section */

    .gallery-section {
        order: 1;
        width: 100%;
    }
    

    /* Gallery Section */ 
    
    .gallery-section {
        order: 1;
    }
    
    .gallery-main-image {
        height: 300px;
    }
    
    .track-image {
        height: 100px;
        width: 40%;
    }

    /* ------ Social ------ */ 

    .main-content.mobile-active .instagram-post-icon {
        display: none;
    }
}

/* ----- Portrait Tablet ----- */

@media screen and (min-width:768px) and (max-width: 991px){ 

    /* Hidden */

    .hidden-tablet {
        visibility: hidden;
    }

    .hidden-tablet-search {
        display: none;
    }

    /* Widgets */ 

    .widgets {
        width: 48%;
    }

    .main-content.mobile-active .clock-widget {
        width: 100%;
    }

    .main-content.mobile-active .weather-widget {
        width: 100%;
    }
    
    .weather-section-header {
        display: flex;
        justify-content: center;
        height: 100%;
        width: 100%;
    }
    
    .col-1 {
        width: 100%;
        display: flex;
        flex-direction: column;
        row-gap: 0px;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .main-weather-icon {
        font-size: 1.5em;
    }
    
    .temp {
        font-size: 2em;
    }

    .col-2 {
        display: flex;
    }

    .details-weather-icon {
        font-size: 1em;
    }

    .map-widget {
        width: 100%;
    }

    .main-content.mobile-active .video-section {
        height: 200px;
    }

    .main-content.mobile-active .video {
        height: 200px;
    }
    
    .destinations-card-image {
        height: 180px;
    }

    .main-content.mobile-active .destinations-card-container {
        flex-direction: column;
    }
    
    .main-content.mobile-active .destinations-card {
        width: 100%;
    }

    .useful-information-burger-menu {
        font-size: 1.3em;
        padding: 10px;
        cursor: pointer;
        transition: 0.3s;
    }

    .main-content.mobile-active .useful-information-tab-box {
        display: none;
    }

    .main-content.mobile-active .useful-information-content-box {
        width: 100%;
    }

    .main-content.mobile-active .useful-information-content-box .useful-information-content {
        animation: none;
    }
}