<!DOCTYPE html>
<html <?php language_attributes(); ?> class="no-js">
<head>
    <meta charset="<?php bloginfo('charset'); ?>">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="author" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title><?= wp_title(''); ?><?php if (!(is_404()) && (is_single()) || (is_page()) || (is_archive())) { ?>  <?php } ?><?php bloginfo('name'); ?></title>
    <?php wp_head(); ?>

    <link href='https://fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css'>
    <link href='https://fonts.googleapis.com/css?family=PT+Serif:400,400italic,700,700italic' rel='stylesheet'
          type='text/css'>

    <!--<link href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,900&subset=latin-ext" rel="stylesheet">-->
    <link href="https://fonts.googleapis.com/css?family=Lato:100,300,400,700,900&subset=latin-ext" rel="stylesheet">
</head>
<body>
<div class="theme-layout">
    <div class="logo">
        <a href="<?= get_home_url(); ?>" title="Art Zone"><img src="<?= get_template_directory_uri() . '/images/logo.png' ?>" alt="Logo"/></a>
    </div>

<?php $imgBgColor = get_field('img_bg_color', 'option'); ?>
<?php $portfolioImgColor = get_field('portfolio_img_color', 'option'); ?>

<?php if ($imgBgColor): ?>
    <style type="text/css">
        .work-hover:before {
            background-color: <?= $imgBgColor; ?> !important;
        }

        .portfolio-img:before {
            background-color: <?= $portfolioImgColor; ?> !important;
        }

        .portfolio-img:before {
            background-color: <?= $portfolioImgColor; ?> !important;
        }

        .portfolio-img > a:hover {
            color: <?= $portfolioImgColor; ?> !important;
        }

        .work-hover > a:hover {
            color: <?= $imgBgColor; ?> !important;
        }
    </style>
<?php endif; ?>