!function(o){o(window).resize(function(){n()});function n(){var n=o(window).width(),t=o(window).height();o(".section-wrapper").each(function(){var i=o(this);i.css("height",t+"px"),i.find(".section-content").css("overflow","hidden"),"bod"==i.attr("id"),n<800&&window.matchMedia("(orientation: landscape)").matches&&(i.css("height","auto"),i.find(".section-content").css({overflow:"visible"}))})}o(document).ready(function(){n();for(var t=200;t<3e3;t+=200)setTimeout(n,t);o(window).load(function(){n()}),o(".link-to-top").on("click",function(n){n.preventDefault();var t=o("body");o("html, body").animate({scrollTop:t.offset().top},1e3)}),navigator.userAgent.indexOf("Mac OS X")!=-1?o("body").addClass("mac"):o("body").addClass("pc")})}(jQuery);