@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Fahkwang:wght@300;400;500;700&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: rgb(0, 0, 0);
    line-height: 1.3;
}

img {
    width: 100%;
}

input {
    -webkit-appearance: none;
    -webkit-border-radius: 0; 
    border-radius: 0;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    overflow: auto;
    padding: 0;
}

.flex {
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0px;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.grid-4 {
    display: grid;
    gap: 0px;
    justify-content: center;
    align-items: center;
    height: 100%;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.grid-5 {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

.btn {
    display: inline-block;
    padding: 10px 10px;
    cursor: pointer;
    background: #193c6c;
    color: #fff;
    border: none;
    border-radius: 0px;
    -webkit-border-radius: 0px;
}

.btn-outline {
    background-color: transparent;
    border: 1px #fff solid;
}

.btn:hover {
    transform: scale(0.98);
    -webkit-box-shadow: 0px 13px 30px -16px rgba(66, 68, 90, 1);
    -moz-box-shadow: 0px 13px 30px -16px rgba(66, 68, 90, 1);
    box-shadow: 0px 13px 30px -16px rgba(66, 68, 90, 1);
}

.btn-primary {
    background: #193c6c;
    color: #fff;
    padding: 15px 100px;
    margin: 0px 0px;
    font-size: 30px;
}

h1 {
    font-family: 'Fahkwang', sans-serif;
}

h2, h3, h3 {
    font-family: 'DM Sans', sans-serif;
}

/* Header */

.logo img {
    width: 18%;
    padding: 20px 20px;
    margin-top: 20px;
}

header .left-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.header-text {
    padding: 20px 20px;
    background-color: rgb(239, 211, 211);
    margin-top: 20px;
    margin-bottom: 20px;
}

.header-text .flex {
    flex-direction: column;
    text-align: center;
}

.header-text h1 {
    padding: 0px 0px;
    padding-bottom: 20px;
    font-weight: 500;
    color: rgb(25, 60, 108);

}
.header-text h2 {
    padding-bottom: 5px;
    font-weight: 400;
    color: rgb(25, 60, 108);
}

/* Main */

main .left-content {
    width:100%;
    height: auto;
    overflow: hidden;
}

main .left-content video {
    display: block;
    object-fit:cover;
    width:100%;
    height: auto;
}

main .right-content {
    height: 100%;
    padding: 0px 0px;
    display: grid;
    
}

main .white-text {
    position: relative;
    padding: 0px 20px;
    padding-top: 0px;
    width: fit-content;
    font-size: 32px;
    font-weight: 500;
    background-color: #fff;
    font-family: 'Fahkwang', sans-serif;
}

main .normal-text {
    position: relative;
    font-size: 24px;
    font-weight: 400;
    width: fit-content;
    color: #000;
    background-color: #fff;
    padding: 10px 20px;
    font-family: 'DM Sans', sans-serif;
}

/* Form */

.card {
    background-color: #fff;
    color: #000;
    padding: 0px 20px;
    margin: 0;
}

label {
    line-height: 2;
}

.contact-form .form-control {
    margin: 0px 0px 10px 0px;
    resize: vertical;
}

.contact-form label {
    font-family: 'DM Sans', sans-serif;
    font-size: 20px;
}

.contact-form input[type='text'],
.contact-form input[type='tel'] {
    border-radius: 0px;
    border: 0;
    background-color: #f3f3f3;
    width: 100%;
    padding: 10px;
    font-size: 20px;
    font-family: 'DM Sans', sans-serif;
}

.contact-form input[type='submit'] {
    font-size: 30px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    border-radius: 0px;
    -webkit-border-radius: 0px;
}

.contact-form input:focus {
    outline-color: rgb(25, 60, 108);
}

.rodo-text {
    padding: 10px 0px;
}

.rodo-text a {
    color: rgb(25, 60, 108);
    font-weight: 500;
}

.rodo-text a:hover {
    color: rgb(239, 211, 211);
    font-weight: 500;
}

/* About Us */

.about-us .container {
    background-color: rgb(239, 211, 211);
    margin-top: 20px;
}

.about-us .text {
    padding: 20px;
    padding-right: 210px;
    color: rgb(25, 60, 108);
}

.about-us h1 {
    font-weight: 500;
    padding: 10px 0px;
}

.about-us h2 {
    font-weight: 500;
    padding: 10px 0px;

}

.about-us h3 {
    font-weight: 400;
    font-size: 24px;
    padding: 10px 0px;
}

/* Medipe button */

.medipe-button .container {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.medipe-button .text {
    font-size: 30px;
    font-weight: 700;
}

.btn-more {
    background: rgb(25, 60, 108);
    color: #fff;
    padding: 15px 69px;
    margin: 20px 0px;
    font-size: 30px;
    border-radius: 0px;
    -webkit-border-radius: 0px;
}

/* Footer */

footer {
    padding: 20px 0px;
}

footer .grid-5 {
    gap: 40px;
}

footer .grid-4 {
    gap: 10px;
    align-items: flex-start;
}

footer .container, footer .contact, footer .adres, footer .buttons {
    align-items: flex-start;
}

footer h1 {
    font-size: 18px;
    font-weight: 500;
    padding-bottom: 5px;
}

footer h2 {
    font-size: 16px;
    font-weight: 300;
}

.buttons .flex {
    flex-direction: column;
    justify-content: space-between;
}

.btn-footer {
    display: inline-block;
    cursor: pointer;
    border: none;
    border-radius: 0px;
    color: #fff;
    font-size: 18px;
}

.buttons a {
    width: 100%;
}

.first {
    background: rgb(25, 60, 108);
    width: 100%;
    text-align: center;
    border: rgb(25, 60, 108);
    border-width: 1px;
    border-style: solid;
    margin-bottom: 10px;
    padding: 5px 0px;
}

.second {
    background: #fff;
    width: 100%;
    text-align: center;
    border: rgb(25, 60, 108);
    border-width: 1px;
    border-style: solid;
    margin: 10px 0px;
    padding: 5px 0px;
    color: rgb(25, 60, 108);
}

a {
    text-decoration: none;
    color: rgb(0, 0, 0);
}

@media (max-width: 1100px) {
    .grid,
    header .grid,
    main .grid,
    footer .grid {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
    }

    .grid-4 {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-template-rows: 0fr;
    }

    footer .grid-4 {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-template-rows: 1fr;
    }

    .header-text {
        margin-bottom: 0px;
    }

    .logo img {
        width: 58%;
    }

    .card {
        padding: 20px 20px;
    }

    footer {
        padding: 20px 20px;
    }

    .medipe-button .container {
        display: grid;
        justify-items: center;
    }

    .medipe-button .text {
        padding-top: 20px;
    }

    #second-button-text {
        display: none;
    }

    .btn-more {
        font-size: 26px;
        padding: 15px 73px;
    }

    .social-media {
        padding: 0 30px;
    }

    .social-media a {
        width: 50%;
        justify-content: center;
    }

    .footer-logo img {
        width: 60%;
        justify-content: center;
    }

    h1 {
        font-size: 26px;
    }

    h2, h3 {
        font-size: 19px;
    }

    main .white-text {
        font-size: 26px;
        padding-top: 20px;
    }
    
    main .normal-text {
        font-size: 19px;
    }

    .contact-form label, .contact-form input[type='text'],
    .contact-form input[type='tel'] {
        font-size: 19px;
    }
    
    .contact-form input[type='submit'] {
        font-size: 26px;
    }

    .about-us h3 {
        font-size: 19px;
    }

    .about-us .text {
        padding-right: 20px;
    }

}