/*---------------------------------------------------
    Colors:
        primary: #5C1B81
        secondary: #C2007F
----------------------------------------------------*/
@import url('https://fonts.googleapis.com/css?family=Roboto');

:root {
    --primary: #5C1B81;
    --secondary: #C2007F;
}

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

body {
    font-family: 'Roboto', sans-serif;
}

img {
    width: 100%;
}

.container {
    width: 90%;
    margin: 0 auto;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

p {
    line-height: 1.5;
}

/* Navigation */
nav {
    background-color: #fff;
    position: fixed;
    z-index: 100;
    width: 100%;
    top: 0;
    box-shadow: 0px 0.5px 5px;
}

nav .logo {
    width: 15%;
}

nav ul {
    display: none;
    list-style: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 50%;
    height: 100vh;
    background-color: var(--primary, #5C1B81);
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    padding: 20px 0;
    animation-name: slide-in;
    animation-duration: 0.25s;
}

nav ul li {
    padding: 20px 0 20px 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2em;
}

nav ul.nav li a:hover {
    background-color: #fff;
    color: var(--secondary, #C2007F);
    text-decoration: none;
    font-size: 1.2em;
}

nav ul span {
    width: 15px;
    height: 2px;
    background-color: #000;
}

nav .container {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.hand-burgur {
    margin-left: auto;
}

.hand-burgur:hover {
    cursor: pointer;
}

.hand-burgur i {
    font-size: 2em;
    color: var(--primary, #5C1B81);
}

.times {
    text-align: right;
}

.times:hover {
    cursor: pointer;
}

.times i {
    color: #fff;
    margin-right: 30px;
}



/* Header */

header {
    height: 100vh;
    background-color: #777;
    display: flex;
    align-items: center;
}

.card {
    width: 80%;
    height: 300px;
    margin-left: auto;
    margin-right: 10%;
    padding: 0 20px;
    background-color: var(--secondary, #C2007F);
    display: flex;
    align-items: center;
    color: #fff;
}

.card h1 {
    font-size: 1em;
    text-align: right;
    text-transform: uppercase;
}

.card p {
    font-size: 1.5em;
    font-weight: 500;
}


/* Services */

.service {
    padding: 50px 0;
}

.service .container {
    width: 100%;
    display: grid;
    /* grid-template-rows: repeat(5, 1fr); */
    grid-row-gap: 20px;
    background-color: var(--primary, #5C1B81);
    color: #fff;
}

.s-img {
    height: 100%;
    overflow: hidden;
}

.s-card {
    display: grid;
    grid-template-rows: 0.7fr 1fr;
}

.s-detail {
    display: flex;
    border: 1px solid #fff;
}

.s-detail>div {
    width: 80%;
    margin: auto;
}

h2 {
    margin-bottom: 20px;
}

.title {
    text-align: center;
    margin: 40px 0;
    color: var(--secondary, #C2007F);
}

/* Routes */

.route {
    padding: 50px 0;
    background-color: #75C5F0;
}

.route .container {
    width: 100%;
    display: grid;
    /* grid-template-rows: 1fr 1fr; */
}

.route-countries {
    box-sizing: border-box;
    padding: 20px;
    background-color: var(--primary, #5C1B81);
    color: #fff;
}

.wrap {
    display: flex;
}

.wrap ul {
    width: max-content;
    margin-right: 20px;
    padding: 0;
    list-style: none;
}

h5 {
    font-size: 1em;
    margin-bottom: 20px;
}

.route p {
    margin-top: 20px;
}

/* About Us */

.about-us {
    padding: 50px 20px;
    background-color: var(--secondary, #C2007F);
}

.about-us,
.about-us h1,
.contact,
.contact h1 {
    color: #fff;
}

.about-us .container {
    width: 100%;
}

.about-us p {
    line-height: 1.6;
    text-align: justify;
}

.about {
    padding-bottom: 50px;
    padding-left: 20px;
    padding-right: 20px;
}


/* Contact */

.contact {
    padding: 50px 0;
    background-color: var(--primary, #5C1B81);
}

.contact h3 {
    width: 90%;
    margin: 0 auto 15px auto;
}

form {
    margin: 0 auto;
}

input,
textarea{
    display: block;
    width: 90%;
    margin: 0 auto 20px auto;
    padding: 10px;
    border-radius: 5px;
    color: #000;
}

input{
    height: 40px;
    
    border: none;
    color: #000;
}

input[type=submit] {
    border-radius: 30px;
    border: none;
    color: #5C1B81;
    font-weight: bold;
}

input[type=submit]:hover {
    background-color: var(--secondary, #C2007F);
    color: #fff;
    transition: all 300ms ease-in-out;
}


/* Footer */

footer {
    background-color: var(--primary, #5C1B81);
    color: #fff;
}

footer>.container {
    display: flex;
    flex-direction: column;
    border-top: 4px solid #fff;
    padding-top: 50px;
}

footer ul {
    list-style: none;
    margin-bottom: 20px;
}

footer a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

footer ul.nav-dwn {
    display: flex;
    flex-wrap: wrap;
}

footer .nav-dwn li {
    border-right: 1px solid #fff;
}

footer .nav a:hover {
    background-color: #5C1B81;
    color: var(--secondary, #C2007F);
    text-decoration: none;
}

footer .social {
    font-size: 1.5em;
    margin-top: 10px;
}

footer i {
    text-align: center;
    padding: 5px 10px;
    background-color: #C2007F;
}

footer i:hover {
    color: #C2007F;
    background-color: #fff;
    transition: all 250ms ease-in-out;
}

.copyright {
    padding: 10px 0;
}

.copyright p {
    font-size: 0.8em;
    text-align: center;
}


@media (min-width: 768px) {
    nav .logo {
        width: 10%;
    }

    .card {
        width: 40%;
    }

    .s-card {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 1fr;
    }

    .s-card img {
        height: 100%;
    }

    .swap {
        grid-column: 2/3;
        grid-row: 1/2;
    }

    .route .container {
        grid-template-columns: 2fr 1fr;
        grid-template-rows: 1fr;
        grid-column-gap: 40px;
    }

    .route-img {
        grid-column: 1/2;
    }

    .route-countries {
        width: 100%;
        align-self: center;
        background-color: var(--secondary, #C2007F);
    }

    footer .container {
        display: grid;
        grid-template-columns: repeat(2, minmax(max-content, 1fr));
    }

    footer .nav-dwn {
        grid-column: 1/3;
        margin: 20px auto;
    }

    footer .nav-dwn li {
        padding: 0 20px;
    }

    footer .location {
        grid-column: 1/2;
    }

    footer .location,
    footer .phone{
        font-size: 1.2em;
    }
}


@media (min-width: 1080px) {

    .container,
    .service .container,
    .route .container {
        width: 80%;
    }

    nav ul .times {
        display: none;
    }

    nav .container {
        display: flex;
        align-items: center;
    }

    nav .logo {
        width: 6%;
    }

    nav .hand-burgur {
        display: none;
    }

    nav#tropic-nav ul {
        display: inline-block;
        height: auto;
        width: auto;
        position: relative;
        animation: none;
        box-shadow: none;
        list-style: none;
        padding: 0;
        margin-left: auto;
        background-color: #fff;
    }

    nav#tropic-nav ul li.active a {
        color: #C2007F;
        border-bottom: 2px solid #C2007F;
    }

    nav li {
        display: inline-block;
        margin-left: 40px;
        padding: 0;
    }

    nav ul li a {
        color: #5C1B81;
        text-decoration: none;
        font-size: 1.2em;
        font-weight: bold;
    }

    nav a:hover {
        color: #C2007F;
        transition: all 300ms ease-in-out;
    }

    .card {
        width: 30%;
    }

    .service .container {
        padding: 20px;
    }



    .about-us {
        position: relative;
        padding: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .about-us .wrapper {
        width: 80%;
        margin: 0 auto;
        padding: 20px 0;
    }

    .about-us .side-img {
        position: relative;
        width: 100%;
        height: 100%;
        background-image: url("../img/tropicana-6.jpg");
        background-position: center;
        background-size: cover;
    }

    .side-img::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: rgba(44, 40, 46, 0.582);
    }

    .about-us p {
        margin-bottom: 10px;
    }

    .about-us h1 {
        margin-top: 0;
    }

    .contact form {
        width: 50%;
    }

    footer .location,
    footer .phone {
        margin-left: 25%;
    }
}


/* ANIMATION */

.s-img img:hover {
    transform: scale(1.2);
    transition: transform 500ms ease-in-out;
}

.slider {
    width: 100%;
    height: 100vh;
}

@keyframes slide-in {
    0% {
        transform: translateX(-100%)
    }

    100% {
        transform: translateX(0%);
    }
}


.slide {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-position: center;
    background-size: cover;
}

.slide-1 {
    background-image: url('../img/landing.jpg');
}

.slide-2 {
    background-image: url("../img/landing-2.jpg");
}

.slide-3 {
    background-image: url("../img/landing-3.jpg");
}

.button-wrap {
    width: 30%;
    margin-left: auto;
    margin-right: 10%;
    /* background-color: #fff; */
    height: 90px;
}

.button {
    display: inline-block;
    background-color: #5C1B81;
    color: #fff;
    padding: 10px 20px;
    margin-top: 40px;
}

.button:hover {
    color: #5C1B81;
    background-color: #fff;
    font-weight: bold;
    transition: all 300ms ease-in-out;
}

.owl-theme {
    position: relative;
}

.owl-dots {
    position: absolute;
    bottom: 40px;
    width: 100%;
}
